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

Merged
merged 2 commits into from
Sep 20, 2024
Merged

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 <[email protected]>
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 <[email protected]>
@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
Copy link
Collaborator

@j-lanson j-lanson 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 to me

@j-lanson j-lanson merged commit 22fb550 into main Sep 20, 2024
7 checks passed
@alilleybrinker alilleybrinker deleted the alilleybrinker/simpler-containerfile branch September 20, 2024 18:07
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: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants