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

feat: Simplify Containerfile #428

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

alilleybrinker
Copy link
Collaborator

This simplifies the project's Containerfile and moves it into the dist/ folder.

Check the individual commits for more info. I recommend not squashing prior to merge.

Previously, our `Containerfile` would try to build the project as it exists
in the currently checked-out local repo, and package that up. This provided
some complexity for publication of new versions, as publishing container
images is the _last_ step of our release process, and we _have_ seen instances
where all prior steps succeeded and a release is now "out" but the container
build failed, and so publication to Docker Hub failed as well.

This commit changes the logic of the `Containerfile` to instead just install
a prebuilt binary from our GitHub Releases install script. This means we don't
worry about building Hipcheck inside of the container.

Signed-off-by: Andrew Lilley Brinker <alilleybrinker@gmail.com>
The `Containerfile` is really for users of Hipcheck who want to use it inside
a container, and _not_ for the developers of the project, so this commit moves
it into the `dist/` folder, and updates references to it elsewhere in the
project to reflect the new path.

Signed-off-by: Andrew Lilley Brinker <alilleybrinker@gmail.com>
@alilleybrinker alilleybrinker added the product: release-flow Relates to any of our release processes label Sep 19, 2024
@alilleybrinker alilleybrinker added this to the 3.7.0 milestone Sep 19, 2024
@alilleybrinker alilleybrinker self-assigned this Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: release-flow Relates to any of our release processes
Projects
Status: Todo
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant