mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 15:51:43 +00:00
chore(ci): emit compact executon log in CI (#63420)
Second attempt at https://github.com/sourcegraph/sourcegraph/pull/61760, we can start using these to dig into action cache misses etc ## Test plan CI passes green ## Changelog
This commit is contained in:
parent
4021ec0aec
commit
7a9d2b02e4
@ -59,6 +59,8 @@ 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
|
||||
|
||||
common --experimental_execution_log_compact_file=execution_log.zstd
|
||||
|
||||
# These likely perform faster locally than the overhead of pulling/pushing from/to the remote cache,
|
||||
# as well as being able to reduce how much we push to the cache
|
||||
common --modify_execution_info=CopyDirectory=+no-remote,CopyToDirectory=+no-remote,CopyFile=+no-remote
|
||||
|
||||
@ -26,6 +26,7 @@ tasks:
|
||||
- -//testing/...
|
||||
artifact_paths:
|
||||
- build_event_log.bin
|
||||
- execution_log.zstd
|
||||
- test:
|
||||
name: Integration/E2E
|
||||
targets:
|
||||
@ -36,6 +37,7 @@ tasks:
|
||||
- //testing:codeintel_integration_test
|
||||
artifact_paths:
|
||||
- build_event_log.bin
|
||||
- execution_log.zstd
|
||||
- delivery:
|
||||
auto_deliver: true
|
||||
icon: 'ship'
|
||||
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,6 +5,7 @@
|
||||
/bazel-*
|
||||
.bazelrc-nix
|
||||
build_event_log.bin
|
||||
execution_log.zstd
|
||||
|
||||
# Vim
|
||||
*.swp
|
||||
|
||||
@ -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"),
|
||||
bk.ArtifactPaths("build_event_log.bin", "execution_log.zstd"),
|
||||
bk.AnnotatedCmd(
|
||||
"./dev/ci/push_all.sh",
|
||||
bk.AnnotatedCmdOpts{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user