CI Log Storage
It is often desirable to store build artifacts in a controlled location, such as in a cloud bucket (AWS / GCP). While Workflows doesn't archive release artifacts by default during builds, it will archive test outputs such as logs and coverage data, in addition to other logs from Bazel and associated tools.
This feature is currently only support Buildkite. Other CI systems support is coming soon.
To specify a location for these logs, create a bucket and set the name on the runner_group
.
bk_runner_groups = {
default = {
build_logs_bucket = "CUSTOM_BUCKET_NAME"
...
}
}
- AWS
- GCP
When creating the bucket on AWS, ACLs will need to be enabled by default to ensure Buildkite web links continue to work.
See using your private AWS S3 Bucket Access Control from Buildkite for more information.
When using a bucket on GCP, the artifacts will use the ACLs set on the bucket. Without public read access, Buildkite web links will not work.
See uploading artifacts to Google cloud storage from Buildkite for more information.