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

#152 fix: alter RUNITDIR for alpine 3.21 #151

Closed
wants to merge 1 commit into from

Conversation

q0rban
Copy link
Contributor

@q0rban q0rban commented Dec 10, 2024

Resolves #152

Testing instructions

  • Run task -- alpine
  • docker run --detach --rm tugboatqa/alpine:3.21.0
  • Then check the status of that container to see if it's healthy ^^
  • When done, stop the container with docker stop

# Alpine 3.21.* installs runit into a different directory. Test if this is 3.21
# and then modify the above script appropriately.
RUN source /etc/os-release && \
test "${VERSION_ID#3.21.}" = "$VERSION_ID" || \
Copy link

@jcbain jcbain Dec 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know we have no way of knowing what future tags will do but would the idea to be to keep adding to this check to any tags that also modify the location?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question… alternately, we could assume future versions will keep this change, and only do this modification for lower versions.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My intuition would be for this change to be maintained in future versions but perhaps we should let it fail again to ensure that is the case and if it is we can change it then.

Copy link

@jcbain jcbain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Have a small question that should not be blocking

@q0rban q0rban changed the title fix: alter RUNITDIR for alpine 3.21 #152 fix: alter RUNITDIR for alpine 3.21 Dec 10, 2024
@q0rban q0rban force-pushed the noticket--alpine-3.21-runitdir branch from efcf944 to 4272766 Compare December 10, 2024 22:56
@q0rban q0rban requested a review from rabbitlair December 10, 2024 22:59
@q0rban
Copy link
Contributor Author

q0rban commented Dec 10, 2024

I prefer the solution in #153

@q0rban q0rban closed this Dec 10, 2024
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.

Alpine 3.21 uses a different installation directory for runit
2 participants