Skip to content

Releases: DaemonDude23/container-image-replicator

v0.11.1

22 Oct 22:56
Compare
Choose a tag to compare
  • Fixed issue where CIR was unable to re-tag images.

v0.11.0

22 Oct 18:10
Compare
Choose a tag to compare
  • No code changes, but now all binaries (Linux. MacOS, Windows) are now a part of this release. Otherwise, just GitHub workflow tweaks.

v0.10.0

04 Oct 02:26
90136ae
Compare
Choose a tag to compare

Enhancements

  • Added the ability to build and push images, not just replicate them from somewhere to somewhere. See config syntax examples in README.md.
  • Switched to Nuitka, replacing PyInstaller for generating binaries. Let me know if any of the builds (Linux/Windows/MacOS) have issues.
    • Currently building a Python 3.11.5 image.

Bugfixes

  • Fixed inconsistent and contradictory reporting from logs about an image being present already, and notify user when an image is pushed successfully.
  • Fixed error that prevented the use of the --no-colors flag.
    • Added a singular alias for the plural. These have the same effect:
      • --no-colors
      • --no-color

Housekeeping

  • pre-commit
    • config updates and enabled mypy.
  • Corrected some docstrings.
  • Added more typing. Bumped minimum Python version to 3.11 due to use of the newer typing mechanisms.
  • PyYAML package updated.
  • Split requirements.txt into the latest and greatest, or use requirements-mac.txt if you have a bug with the requests library.

v0.8.0

01 Jun 20:31
Compare
Choose a tag to compare

Enhancements

  • Logging
    • Added support for success logs with the verboselogs library.
    • Added exception catching for input file not found and failed to parse scenarios.
  • Added example RegEx named capture group example for those using log aggregation tools.

Bugfixes

  • Fixed issue where if the destination image didn't already exist, CIR wouldn't attempt a push.
  • Hopefully fixed the broken PyInstaller binaries.

Housekeeping

  • pre-commit
    • Removed mypy pre-commit hook.
    • Added vermin to test minimum Python version required, which is apparently lower than I thought at v3.6
  • Docs
    • Added image of prettily-colored screenshot of command output.
  • Added TODO list/musings for future plans to expand functionality of this script at the bottom of README.md.

v0.7.0

24 May 23:35
Compare
Choose a tag to compare

Enhancements

logging

  • Added default coloration of logs (turn it off with argument --no-colors).
    • Add much improved error detail instead of a silent error has occurred, replacing it with (example) denied: Your authorization token has expired. Reauthenticate and try again.

Bugfixes

Housekeeping

  • pre-commit-config updates.
    • mypy --strict added and more typing.

v0.6.0

24 Jan 05:09
Compare
Choose a tag to compare

Enhancements

  • Reduce if conditions for force pull or push.
  • Remove a redundant check on the destination repo.

v0.5.0

24 Jan 01:53
Compare
Choose a tag to compare

Enhancements

  • Add CLI flag --force-pull-push to force pulling/pushing images even if the tag exists in the remote repository. Use []source.forcePull and or []source.forcePush to fine-tune these properties on a per-image basis instead of globally with this CLI flag.
    • Beware as this can count against rate limits. Use wisely!
    • This is useful for when you source images with mutable tags, like docker.io/httpd:2.4 where the patch version is being updated for this same image tag across time.

Housekeeping

  • types-PyYAML package updated.
  • Added to and updated docs.

v0.4.2

10 Jan 01:26
Compare
Choose a tag to compare

Bugfixes

  • Make argument --max-workers actually use that number of threads.

v0.4.1

28 Dec 06:33
Compare
Choose a tag to compare

Bugfixes

  • Fix exception thrown when using --version or --help.

v0.4.0

28 Dec 05:04
Compare
Choose a tag to compare

Enhancements

  • Added multithreading (with a customizable worker thread count with --max-workers. Default = 2) so that multiple pull/push operations occur in parallel instead of serially as with the previous behavior. Much faster!
  • Only pull a source image if the image does not exist in the destination. Previously the image would be downloaded before checking if a push was required at all.

Bugfixes

  • Present the input file as a required argument in --help.

Housekeeping

  • pre-commit-config updates.