mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:11:49 +00:00
fix(ci): only emit bazel execlog artifact for 'test' commands (#63916)
Delivery Manifest step has started to run `bazel build` commands, in them clobbering our execlog artifacts. We should only emit it for the test buildkite jobs (at least for the time being), as it currently doesnt make sense for e.g. the image push jobs which contain multiple invocations ## Test plan CI ## Changelog
This commit is contained in:
parent
51bc688ec9
commit
b7dac3b808
@ -59,7 +59,6 @@ test --build_event_binary_file_path_conversion=false
|
||||
test --build_event_binary_file_upload_mode=wait_for_upload_complete
|
||||
test --build_event_publish_all_actions=true
|
||||
|
||||
build --experimental_execution_log_compact_file=execution_log.zstd
|
||||
test --experimental_execution_log_compact_file=execution_log.zstd
|
||||
|
||||
# These likely perform faster locally than the overhead of pulling/pushing from/to the remote cache,
|
||||
|
||||
@ -132,7 +132,7 @@ func bazelPushImagesCmd(c Config, isCandidate bool, opts ...bk.StepOpt) func(*bk
|
||||
bk.Env("PROD_REGISTRY", prodRegistry),
|
||||
bk.Env("ADDITIONAL_PROD_REGISTRIES", additionalProdRegistry),
|
||||
bk.Cmd(bazelStampedCmd(fmt.Sprintf(`build $$(bazel --bazelrc=%s --bazelrc=.aspect/bazelrc/ci.sourcegraph.bazelrc query 'kind("oci_push rule", //...)')`, bazelRC))),
|
||||
bk.ArtifactPaths("build_event_log.bin", "execution_log.zstd"),
|
||||
bk.ArtifactPaths("build_event_log.bin"),
|
||||
bk.AnnotatedCmd(
|
||||
"./dev/ci/push_all.sh",
|
||||
bk.AnnotatedCmdOpts{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user