-
-
Notifications
You must be signed in to change notification settings - Fork 200
feat: delegated-init support for Fly projects #997
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
Conversation
docker/all-in-one/entrypoint.sh
Outdated
|
||
# only extract a valid archive | ||
if [[ $(tar -tzf $DELEGATED_ARCHIVE_PATH) ]]; then | ||
# TODO: (tom) Only extract newer tar archives |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we save the filemtime of the last extracted tarball in a persistent file and compare if current tarball filemtime is different?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have solved the time issue by adding a touch to the entryscript at build time
We could only be changing salt files, but this file will always definitively be in the archive.
e89b132
to
ccac5b8
Compare
* feat: delegated-init support for Fly projects * chore: add a salt minion config * chore: always extract the archive to / * chore: extract newer archive only based on touch time in GHA * chore: track salt version in aio, not always latest * chore: bump image version
What kind of change does this PR introduce?
Feature: Installs salt in the all-in-one Docker container used in Fly.io projects. Enables a delegated entry point for the container.
What is the current behavior?
Please link any relevant issues here.
What is the new behavior?
Feel free to include screenshots if it includes visual changes.
Additional context
Add any other context or screenshots.%