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

Fix release.py running docker images instead of just building #6439

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

bduffany
Copy link
Member

@bduffany bduffany commented Apr 24, 2024

#6416 changed the behavior of release.py to build the docker images with bazel run but then push them with the docker CLI, rather than using the container_push targets.

When calling bazel run on the BuildBuddy server go_image targets though, it actually runs the server image after building it. This differs from container_image which just builds and tags the image. This behavior causes release.py to get stuck running the server.

To fix this issue, this PR changes the buildbuddy_image server targets (OSS and enterprise) to be container_image targets rather than go_image targets.

Related issues: N/A

Copy link
Member

@tylerwilliams tylerwilliams left a comment

Choose a reason for hiding this comment

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

LGTM, Approval

@bduffany bduffany merged commit 9fb8163 into master Apr 24, 2024
17 of 19 checks passed
@bduffany bduffany deleted the container-image-no-run branch April 24, 2024 17:42
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.

None yet

2 participants