From 3581622dad4ff9a0109af2eea6a9b9d157fd14de Mon Sep 17 00:00:00 2001 From: Release bot Date: Tue, 23 Oct 2018 12:45:27 +0000 Subject: [PATCH 1/3] 0.6.0 release --- CHANGELOG.md | 59 +++++++++++++++++++++++++++++++++++++++++++++++++ conu/version.py | 2 +- 2 files changed, 60 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a31dd698..70d9fd28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,62 @@ +# 0.6.0 + +* Automatic update of dependency pytest from 3.9.1 to 3.9.2 +* address codacy warnings +* various QoL changes to probes: +* test_container_create_failed: enable debug logs +* test_cleanup_containers: mark comment with FIXME +* dkr,run_container: ensure that cid file is populated +* make,test: print full stack trace +* Automatic update of dependency requests from 2.19.1 to 2.20.0 +* add labels to release-conf.yaml +* Automatic update of dependency docker from 3.5.0 to 3.5.1 +* remove commented out lines +* Automatic update of dependency pytest from 3.8.2 to 3.9.1 +* use logger.debug for debugging +* better UX for importin K8s and OpenShift backend +* curl has to follow symlinks and raise error, instead of downloading some error page +* specify string format arguments as logging function parameters +* update tests, docs and examples according to new openshift functionality +* all_pods_are_ready in openshift backend +* split oc new-app to independent methods +* add logs and status to origin backend +* move hardcoded NAME and NAMESPACE setup from origin backend +* add port option to request service +* create method for start-build +* add option to delete all objects in clean_project method +* use random string generator from conu.utils +* create new registry module +* add token to login_to_registry +* fix suggestion in PR +* improved vagrant file to cover all requirements for all pythons +* make nspawn backend already working there were several changes what caused troubles * another test image location * do not use pull-raw and importing via machinectl, because nobody uses it and causes troubles, after dicsussion with systemd devels it is better to do it in own way * imrpove tesing of output added chars decode from stdout +* req.sh: reorder for clarity, update comment, remove make +* Automatic update of dependency pytest from 3.8.1 to 3.8.2 +* skip origin and k8s tests if there is no OpenShift installed or running +* minor fixes +* fix name of packege in dnf install +* Update CONTRIBUTING.md +* add Dockerfile to build docs in container +* minor fixes in documentation +* update README.md +* update documentation +* wait until API tokens are generated in new namespace, remove time.sleep from all kubernetes tests +* use Probe for oc start-build command +* Automatic update of dependency pytest from 3.8.0 to 3.8.1 +* Update release-conf.yaml +* move get_token to utils, make login to registry static +* Automatic update of dependency pytest from 3.7.4 to 3.8.0 +* remove pyxattr, make it optional +* req.sh: remove workaround for F27 pyxattr rename +* change order of commands in test-requirements.sh +* update CHANGELOG.md, turn off firewall CI +* get_internal_registry() method in origin backend +* install origin from github +* comments in openshift template example +* increase timeout in openshift tests +* CI using openshift cluster, examples and test updated +* fix client.py + # 0.5.0 ## New Features diff --git a/conu/version.py b/conu/version.py index bdcfa78f..deb9846d 100644 --- a/conu/version.py +++ b/conu/version.py @@ -14,4 +14,4 @@ # along with this program. If not, see . # # https://www.python.org/dev/peps/pep-0440/ -__version__ = '0.5.0' +__version__ = '0.6.0' From 154ed1e6a46e0b93bf0d731e7fa53fb4dc03f18f Mon Sep 17 00:00:00 2001 From: Radoslav Pitonak Date: Tue, 23 Oct 2018 15:16:01 +0200 Subject: [PATCH 2/3] update CHANGELOG.md and README.md --- CHANGELOG.md | 73 ++++++++++++---------------------------------------- README.md | 4 +-- 2 files changed, 19 insertions(+), 58 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 70d9fd28..a7e9dae0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,61 +1,22 @@ # 0.6.0 -* Automatic update of dependency pytest from 3.9.1 to 3.9.2 -* address codacy warnings -* various QoL changes to probes: -* test_container_create_failed: enable debug logs -* test_cleanup_containers: mark comment with FIXME -* dkr,run_container: ensure that cid file is populated -* make,test: print full stack trace -* Automatic update of dependency requests from 2.19.1 to 2.20.0 -* add labels to release-conf.yaml -* Automatic update of dependency docker from 3.5.0 to 3.5.1 -* remove commented out lines -* Automatic update of dependency pytest from 3.8.2 to 3.9.1 -* use logger.debug for debugging -* better UX for importin K8s and OpenShift backend -* curl has to follow symlinks and raise error, instead of downloading some error page -* specify string format arguments as logging function parameters -* update tests, docs and examples according to new openshift functionality -* all_pods_are_ready in openshift backend -* split oc new-app to independent methods -* add logs and status to origin backend -* move hardcoded NAME and NAMESPACE setup from origin backend -* add port option to request service -* create method for start-build -* add option to delete all objects in clean_project method -* use random string generator from conu.utils -* create new registry module -* add token to login_to_registry -* fix suggestion in PR -* improved vagrant file to cover all requirements for all pythons -* make nspawn backend already working there were several changes what caused troubles * another test image location * do not use pull-raw and importing via machinectl, because nobody uses it and causes troubles, after dicsussion with systemd devels it is better to do it in own way * imrpove tesing of output added chars decode from stdout -* req.sh: reorder for clarity, update comment, remove make -* Automatic update of dependency pytest from 3.8.1 to 3.8.2 -* skip origin and k8s tests if there is no OpenShift installed or running -* minor fixes -* fix name of packege in dnf install -* Update CONTRIBUTING.md -* add Dockerfile to build docs in container -* minor fixes in documentation -* update README.md -* update documentation -* wait until API tokens are generated in new namespace, remove time.sleep from all kubernetes tests -* use Probe for oc start-build command -* Automatic update of dependency pytest from 3.8.0 to 3.8.1 -* Update release-conf.yaml -* move get_token to utils, make login to registry static -* Automatic update of dependency pytest from 3.7.4 to 3.8.0 -* remove pyxattr, make it optional -* req.sh: remove workaround for F27 pyxattr rename -* change order of commands in test-requirements.sh -* update CHANGELOG.md, turn off firewall CI -* get_internal_registry() method in origin backend -* install origin from github -* comments in openshift template example -* increase timeout in openshift tests -* CI using openshift cluster, examples and test updated -* fix client.py +# Breaking changes + +* We have split `new_app` method of origin backend to three specific methods. + - `deploy_image` for deployment of image + - `create_new_app_from_source` for deployment of applications using source-to-image from local or remote source + - `create_app_from_template` for deployment of applications using OpenShift templates + +# New features + +* Troubleshooting and debugging of OpenShift backend is now easier because of new methods `get_logs` and `get_status` + +# Fixes + +* Documentation is updated and now includes OpenShift and Kubernetes backends. +* Fixed race condition when starting docker containers via binary. +* Nspawn backend improvements + # 0.5.0 diff --git a/README.md b/README.md index 5510895b..f1774f65 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ docker run -it --rm \ -v /var/run/docker.sock:/var/run/docker.sock:z \ --cap-add SYS_ADMIN \ --privileged \ -usercont/conu:0.5.0 python3 +usercont/conu:0.6.0 python3 ``` ```python @@ -66,7 +66,7 @@ docker run -it --rm \ -v $PWD/my_source.py:/app/my_source.py:z \ --cap-add SYS_ADMIN \ --privileged \ -usercont/conu:0.5.0 python3 /app/my_source.py +usercont/conu:0.6.0 python3 /app/my_source.py ``` # Features From dced39c79d4497b6cc3b7b9840e2c4e8d76fe0ac Mon Sep 17 00:00:00 2001 From: Radoslav Pitonak Date: Wed, 24 Oct 2018 12:02:51 +0200 Subject: [PATCH 3/3] Add nspawn changes to CHANGELOG.md --- CHANGELOG.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7e9dae0..8bfc4a7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,20 +2,23 @@ # Breaking changes -* We have split `new_app` method of origin backend to three specific methods. - - `deploy_image` for deployment of image - - `create_new_app_from_source` for deployment of applications using source-to-image from local or remote source - - `create_app_from_template` for deployment of applications using OpenShift templates +* We have split `new_app` method of origin backend to three specific methods: + - `deploy_image` for deployment of an image. + - `create_new_app_from_source` for deployment of applications using source-to-image from local or remote source. + - `create_app_from_template` for deployment of applications using OpenShift templates. # New features -* Troubleshooting and debugging of OpenShift backend is now easier because of new methods `get_logs` and `get_status` +* Troubleshooting and debugging of OpenShift backend is now easier because of new methods `get_logs` and `get_status`. # Fixes * Documentation is updated and now includes OpenShift and Kubernetes backends. * Fixed race condition when starting docker containers via binary. -* Nspawn backend improvements +* Nspawn backend improvements: + - Changed default image location to `/opt` to avoid issues with brtfs and using loopback device. + - Do not use pull-raw and importing via machinectl. + - Test suite improvements. # 0.5.0