Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

twoliter: move docker version check to buildsys #442

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

cbgbt
Copy link
Contributor

@cbgbt cbgbt commented Jan 22, 2025

Description of changes:
Twoliter does not require access to the docker daemon for publication workflows (e.g. publishing AMIs or SSM parameters.) To accomodate environments which do not provide access to the docker daemon for these workflows, we only make assertions about the system's docker daemon before using docker build.

Testing done:

  • automated testing
  • built kits, images, and performed repacking using docker 25.
  • added a docker binary to path which reported an unsupported version and
    • confirmed that building kits, images, & repacking do not succeed
    • confirmed that publishing kits and SSM parameters succeeds

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Twoliter does not require access to the docker daemon for publication
workflows (e.g. publishing AMIs or SSM parameters.) To accomodate
environments which do not provide access to the docker daemon for these
workflows, we only make assertions about the system's docker daemon
before using `docker build`.
@cbgbt cbgbt merged commit 0d967cc into bottlerocket-os:develop Jan 22, 2025
3 checks passed
@cbgbt cbgbt deleted the docker-build-version-check branch January 22, 2025 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants