Skip to content

Releases: user-cont/conu

1.0.0

27 Nov 14:58
dee6fd9
Compare
Choose a tag to compare

1.0.0

  • Conu is now under MIT license
  • New buildah backend
  • Docker backend supports Skopeo for copying

0.7.1

27 Feb 11:51
6ee9338
Compare
Choose a tag to compare

0.7.1

Breaking changes

  • conu is now supported on python 3.6+ only.

0.7.0

23 Jan 10:50
c9c065e
Compare
Choose a tag to compare

0.7.0

New features

  • Parameter project is now optional in all OpenShift backend app deployment methods. Application is now deployed in currently used project of OpenShift cluster by default.
  • You are now able to create new Pod using Kubernetes pod templates.
  • Support for importing images into OpenShift registry using oc binary.
  • Introducing Podman backend, thanks to @fasashen!
  • Conu docker image now uses fedora 29 as a base image.

0.6.2

15 Nov 09:53
e361da7
Compare
Choose a tag to compare

No changelog provided

0.6.1

14 Nov 14:07
8524ba2
Compare
Choose a tag to compare

No changelog provided

0.6.0

24 Oct 11:14
f07c6e2
Compare
Choose a tag to compare

No changelog provided

0.5.0

13 Sep 10:55
088fbd7
Compare
Choose a tag to compare

Breaking changes

  • We implemented openshift origin and k8s backend as part of GSoC 2018.

New Features

  • Docker image now have method run_via_api()
  • Support for three k8s primitives - Pod, Service, Deployment
  • Centos CI, thanks to @jpopelka
  • Docker backend now has push() and login() methods
  • oc_new_app() method in origin backend
  • automatic updates of dependencies using kebechet bot, thanks to @fridex
  • codacy hook, thanks to @lachmanfrantisek
  • Examples for Openshift and k8s backend

Fixes

Use Popen in run_cmd and pipe outputs to logger, thanks to @skulltech

0.4.0

24 May 19:25
e084a7d
Compare
Choose a tag to compare

Breaking changes

  • We have changed behavior of .get_metadata method. It now returns an
    instance of Metadata class. Method .inspect is meant to return raw data
    of the selected backend.

New Features

  • Introduction of a new class to hold container and image
    metadata
    .
    In coming weeks, we'll be working on integrating this class into the library.
    Our main intent is to make the Metadata class generic across all backends.
  • conu now has an API to access image layers (#207)
  • We've added Contribution guide, thanks to Rado Pitonak (#208).

Fixes

  • Provide docker container filesystem using docker export instead of atomic mount — conu no longer requires
    atomic. This also means that root
    privileges are no longer required.
  • Don't depend on enum34 for python 3, thanks to Rado Pitonak (#214)

0.3.1

02 May 14:17
000be9e
Compare
Choose a tag to compare

New Features

  • Introduced fixtures and helper functions to simplify container testing.
  • Support was added for another backend - nspawn.
  • It is possible to decide cleanup policy when initializing backend.
  • Methods for listing containers and images were added to both supported backends.
  • Image mounting is possible also without superuser privileges.
  • To represent and work with docker volumes, there is a new class Volume.
  • run_via_binary accepts commands in form of list of strings
    to make running images more intuitively.
  • It is possible to build image from Dockerfile using DockerImage.build().
  • There is a new method to check GPG signatures of RPMs in images.
  • Documentation is updated, there is also asciinema demo in README.md.

0.2.0

06 Feb 14:43
90fb29d
Compare
Choose a tag to compare

Please note, that our API is still not marked stable yet.

Breaking changes

  • We have changed how logs() method works. It now returns iterator always. On
    top of it, we have implemented more convenience methods to return logs as
    bytes and unicode.

  • Backend class can (and should) be used as a context manager. This was done
    for the sake of creating a temporary directory meant for the backend
    instance. The context manager ensures the temporary directory will be removed.

New Features

  • We added support for docker-py version 1 so it can work in CentOS.
  • conu will check whether required binaries are present and if not,
    CommandDoesNotExistException will be raised.
  • Our documentation was improved and contains now more examples and the python
    interface should be explained in more detail.
  • When creating docker containers, conu now utilizes option --cidfile.
  • execute() method can be blocking and non-blocking.
  • Backend provides new methods cleanup_containers() to cleanup containers
    created during the session.