gantry

Automatically update Docker swarm services.

GPL-3.0 License

Stars
35
gantry - 2024.0218.0 Latest Release

Published by shizunge 8 months ago

What's Changed

  • Added GANTRY_UPDATE_NUM_WORKERS to run updates in parallel.
  • Skip updating when failing to login to registries.
  • Fixed obtaining the current container name.
  • Fixed obtaining the service mode and the number of running tasks.
  • Enabled running tests in parallel, e.g. bash shellspec --jobs 50.
  • Added post build tests in the on-push workflow.

Full Changelog: https://github.com/shizunge/gantry/compare/2024.0212.0...2024.0218.0

gantry - 2024.0212.0

Published by shizunge 9 months ago

  • Fix Apprise notification.
  • Add tests for Apprise.
  • Reported time including post command.
  • Set NODE_NAME automatically.

Full Changelog: https://github.com/shizunge/gantry/compare/2024.0207.1...2024.0212.0

gantry - 2024.0207.1

Published by shizunge 9 months ago

What's Changed

  • Fixed incorrectly skipping updating when the digest of image is empty.
  • Run inspecting all services firstly then run updating, except the self service.
  • allow registries file to end without a newline.
  • Bump codecov/codecov-action from 3 to 4.
  • Bump peter-evans/dockerhub-description from 3 to 4.

Full Changelog: https://github.com/shizunge/gantry/compare/2024.0202.1...2024.0207.1

gantry - 2024.0207.0

Published by shizunge 9 months ago

  • Fixed incorrectly skipping updating when the digest of image is empty.
  • Run inspecting all services firstly then run updating, except the self service.
  • Bump codecov/codecov-action from 3 to 4.
  • Bump peter-evans/dockerhub-description from 3 to 4.

Full Changelog: https://github.com/shizunge/gantry/compare/2024.0202.0...2024.0207.0

gantry - 2024.0202.1

Published by shizunge 9 months ago

What's Changed 2024.0202.1

  • Switch to use the ghcr.io released image as the image remover when not running Gantry as a docker swarm service.

What's Changed 2024.0202.0

  • Image removal
    • Use the same image of gantry for images removal
    • Enable adding options to the image remover global job. You can use this to add a label to the service or the containers
  • Logging
    • Add color to logs
    • Add more debug logs
  • Failure handling and reporting
    • Report type success/failure to apprise
    • Add service to the failure list when inspecting image failed
    • Skip updating services when failing due to login registries or obtain the service list
  • Report Docker hub rate for the given user
  • Fix caching variables, which were not working previously.
  • Test improvement
    • Fix a flaky rollback test
    • Use shellspec for testing
    • No longer need an external registry, tests will start a local registry
    • More tests
    • Generate coverage reports
  • Container images
    • Reduce image size
    • Drop riscv64 image

Full Changelog: https://github.com/shizunge/gantry/compare/2024.0119.1...2024.0202.1

gantry - 2024.0202.0

Published by shizunge 9 months ago

What's Changed

  • Image removal
    • Use the same image of gantry for images removal
    • Enable adding options to the image remover global job. You can use this to add a label to the service or the containers
  • Logging
    • Add color to logs
    • Add more debug logs
  • Failure handling and reporting
    • Report type success/failure to apprise
    • Add service to the failure list when inspecting image failed
    • Skip updating services when failing due to login registries or obtain the service list
  • Report Docker hub rate for the given user
  • Fix caching variables, which were not working previously.
  • Test improvement
    • Fix a flaky rollback test
    • Use shellspec for testing
    • No longer need an external registry, tests will start a local registry
    • More tests
    • Generate coverage reports
  • Container images
    • Reduce image size
    • Drop riscv64 image

Full Changelog: https://github.com/shizunge/gantry/compare/2024.0119.1...2024.0202.0

gantry - 2024.0119.1

Published by shizunge 9 months ago

  • Fix docker manifest and docker pull error for ghcr.io images.

Full Changelog: https://github.com/shizunge/gantry/compare/2024.0119.0...2024.0119.1

gantry - 2024.0119.0

Published by shizunge 9 months ago

What's Changed

  • Add pre and post run commands.
  • Find self service name automatically.
  • Excluding update time from sleep time.
  • Bump docker/build-push-action from 5.0.0 to 5.1.0 by @dependabot in https://github.com/shizunge/gantry/pull/17

Full Changelog: https://github.com/shizunge/gantry/compare/2023.1106.0...2024.0119.0

gantry - 2023.1106.0

Published by shizunge 12 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/shizunge/gantry/compare/2023.0804.0...2023.1106.0

gantry - 2023.0804.0

Published by shizunge about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/shizunge/gantry/compare/2023.0707.0...2023.0804.0

gantry - 2023.0707.0

Published by shizunge over 1 year ago

  • Fix log format
  • Add label to docker images.
gantry - 20230702-2

Published by shizunge over 1 year ago

  • Check whether latest is correctly added to the package.
gantry - 20230702-1

Published by shizunge over 1 year ago

  • merge from main then push
gantry - 20230702

Published by shizunge over 1 year ago

  • Reorder workflow. hopefully this fixes ghcr.io images pull failures.
gantry - 20230701

Published by shizunge over 1 year ago

Release container image in platforms supported by the base image.

  • linux/386
  • linux/amd64
  • linux/arm/v6
  • linux/arm/v7
  • linux/arm64/v8
  • linux/ppc64le
  • linux/riscv64
  • linux/s390x
gantry - 20230630-1

Published by shizunge over 1 year ago

  • Fix release workflow. No source codes different from 20230630
gantry - 20230630

Published by shizunge over 1 year ago

Breaking changes

  • Add MANIFEST_CMD replacing MANIFEST_INSPECT and GANTRY_MANIFEST_USE_MANIFEST_CMD
gantry - 20230629

Published by shizunge over 1 year ago

  • GANTRY_LOG_LEVEL=NONE generates no message
  • Caching manifest checking result to reduce queries to registry when there are new images used by many services.
Badges
Extracted from project README
Release License Image Size Docker Pulls Build Coverage CodeFactor Grade