Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

chore(bazel): don't stamp yq rule for wolfi base images#63470

Merged
Strum355 merged 1 commit into
mainfrom
nsc/wolfi-base-nostamp
Jun 25, 2024
Merged

chore(bazel): don't stamp yq rule for wolfi base images#63470
Strum355 merged 1 commit into
mainfrom
nsc/wolfi-base-nostamp

Conversation

@Strum355

@Strum355 Strum355 commented Jun 25, 2024

Copy link
Copy Markdown
Contributor

While staring at execution logs locally I noticed that the stamp files stable-status.txt and volatile-status.txt were inputs to targets such as //wolfi-images/sourcegraph-base:wolfi_config, causing these yq targets to be executed every time --stamp changes or stable stamp vars change. I don't know how this interacts with BwoB. Will ask in the Bazel slack for clarification https://bazelbuild.slack.com/archives/CA31HN1T3/p1719324079626239

Test plan

bazel build on an oci_image target works fine, confirmed by CI

Changelog

@Strum355 Strum355 requested a review from a team June 25, 2024 13:57
@cla-bot cla-bot Bot added the cla-signed label Jun 25, 2024
@Strum355 Strum355 requested a review from willdollman June 25, 2024 14:20

@willdollman willdollman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

To the extent that I understand bazel, lgtm!

@Strum355 Strum355 merged commit 80827c7 into main Jun 25, 2024
@Strum355 Strum355 deleted the nsc/wolfi-base-nostamp branch June 25, 2024 15:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants