Cekit

Latest version: v4.12.0

Safety actively analyzes 628969 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 12

3.4.0

Summary

This release introduces support for multi-stage builds.

Please see below for all changes that went in.

Added

* Support for multi-stage builds was added, 567
* A new switch was added to OSBS builder to allow for non-interactive build: `--assume-yes`, 589
* Another switch was added to the OSBS builder to make it possible to sync with the dist-git repository without triggering a build, 587

3.3.2

This is a bugfix release release with backports from the 3.4.x codebase in the OSBS builder:

* Support for `--assume-yes` OSBS builder switch, 589
* Support for `--sync-only` OSBS builder switch, 587

3.3.1

Summary

This release focuses on documentation improvements, especially in for modules. Other bigger change is that this we have fixed Dockerfile generation so that the Docker layer cache can be reused.

**NOTE:** Version `3.3.0` was **never released** due to the fact that we encountered issues with PyPi which made it impossible to push version `3.3.0` again. There are no changes in the code between version `3.3.0` and `3.3.1`.

Please see below for all changes that went in.

Fixed

* Template used to generate Dockerfile was updates so that we can now utilize properly Docker layer cache, 544
* ZSH completion was fixed and it should work now, 554

Added

* A new switch to the `build` command was added: `--validate`. It is responsible for checking that the image descriptor (and relevant modules) are correct. It does **not** generate files for the specific builder.
* Documentation around module versioning was added, 194, 196
* Documentation was updated on best practices regarding module naming, 197
* A warning is now printed when artifact does not define a `name` key. This is to remind you that in order to make overrides work nicely, you should define it, 198
* Documentation covering local module development was extended, 527
* All available Docker builder engine environment variables are now documented, 526
* A workaround was added for `microdnf` where it fails with message similar to `error: cannot move /var/cache/yum/metadata`, 560
* A warning was added when CEKit finds that the [`certifi` library](https://pypi.org/project/certifi/) is found -- in most cases it will lead to certificate validation issues related to missing CA certficates, #577

Changed

* [Image help pages](http://docs.cekit.io/en/latest/descriptor/image.html#help) were overhauled. These contain now information about environment variables and labels defined in image modules too. Help page formatting was updated too. These should now provide full information about the image. 528
* The `--tech-preview` switch in the OSBS builder is now deprecated. It will be removed in CEKit 3.5 or later. Overrides should be used instead of this switch.
* Dependency handling was updated to be more flexible, for example we no longer require the `docker-squash` library when you do not want to squash the image after building in Docker, 576
* Small tweaks to getting started guide were applied, 556

Heads-up

* Please note that [although in documentation](http://docs.cekit.io/en/latest/descriptor/module.html#version) we have stated that module's `version` key is required, we did not enforce it until now. This has been fixed and the `version` key requirement is enforced.

3.2.1

This is a bugfix release release with backports from the 3.4.x codebase in the OSBS builder:

* Support for `--assume-yes` OSBS builder switch, 589
* Support for `--sync-only` OSBS builder switch, 587

3.2.0

Summary

This is a new minor release that includes general bugfixes. We added tests for macOS platform to make sure we can run there without issues. Additionally it is now possible to override (disable) content sets with YAML null values.

Fixed

* It is now possible to use remote Docker daemons to execute the build. You need to set a few environment variables, depending how you want to connect: http://docs.cekit.io/en/latest/handbook/building/builder-engines.html#docker-environment-variables, https://github.com/cekit/cekit/issues/536
* The `.git` directory is not added to stage anymore when syncing with dist-git, https://github.com/cekit/cekit/issues/549
* Fixed issue which resulted in `TypeError` when executing an OSBS build, https://github.com/cekit/cekit/issues/542
* Fixed formatting issue in documentation in getting started guide, https://github.com/cekit/cekit/issues/535
* Fixed encoding issues with Python 2.7, https://github.com/cekit/cekit/issues/538

Added

* It is now possible to disable content sets entirely by specifying YAML null value, https://github.com/cekit/cekit/issues/533
yaml
packages:
content_sets: ~


Changed

* Dist-git directory is not cloned anymore when executing the OSBS build with `--dry-run` switch, https://github.com/cekit/cekit/issues/541

3.1.0

Summary

This is a new minor release that includes bugfixes and adds support for supplementary files in the OSBS builder. This release contains some internal changes to make interaction with external services and the build workflow better.

Fixed

* Image help files are added when used with OSBS builder, 504
* Tagging images in Docker builder with multiple colons is now fixed, 508
* Dots in artifact names are now handled correctly in generated `fetch-artifacts-url.yaml` files, 531
* When the Kerberos session is expired, it fails now the build in OSBS, 158 502

Added

* Support for adding supplementary files in the OSBS builder was implemented. You can read more about this feature in [documentation](http://docs.cekit.io/en/latest/descriptor/image.html#osbs-extra-directory). 394

Changed

* ODCS composes are now requester after fetching artifacts, 410
* Instead of using CLI tool, we now use Python library to talk to ODCS, 496
* Docker output handling was rewritten to use library-provided decoding. This made it possible to run CEKit on macOS, 517
* RPM cache is not populated before executing any package manager calls, 501

Page 5 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.