From 6008d446a8a1eba19874ba4b611dc9dbe9d970b6 Mon Sep 17 00:00:00 2001 From: Ricky Stewart Date: Tue, 19 Mar 2024 14:57:58 -0500 Subject: [PATCH] workflows: tag `cockroach` builds for integration tests ... with the tag `integration-test-artifact-build`. We do this to track how long it takes to build these artifacts specifically. Epic: CRDB-8308 Release note: None --- build/github/acceptance-test.sh | 1 + build/github/examples-orms.sh | 5 ++++- build/github/local-roachtest.sh | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/build/github/acceptance-test.sh b/build/github/acceptance-test.sh index e6cfdfa2f8f..79076128078 100755 --- a/build/github/acceptance-test.sh +++ b/build/github/acceptance-test.sh @@ -3,6 +3,7 @@ set -euxo pipefail bazel build --config crosslinux //pkg/cmd/cockroach-short \ + --bes_keywords integration-test-artifact-build \ --jobs 100 $(./build/github/engflow-args.sh) ARTIFACTSDIR=$PWD/artifacts diff --git a/build/github/examples-orms.sh b/build/github/examples-orms.sh index 88fbc03ad19..775df138c1f 100755 --- a/build/github/examples-orms.sh +++ b/build/github/examples-orms.sh @@ -3,7 +3,10 @@ set -euxo pipefail pushd cockroach -bazel build //pkg/cmd/cockroach-short --config crosslinux --jobs 100 $(./build/github/engflow-args.sh) +bazel build //pkg/cmd/cockroach-short \ + --config crosslinux --jobs 100 \ + --bes_keywords integration-test-artifact-build \ + $(./build/github/engflow-args.sh) cp _bazel/bin/pkg/cmd/cockroach-short/cockroach-short_/cockroach-short ../examples-orms/cockroach # We need Go in the `PATH`. export PATH=$(dirname $(bazel run @go_sdk//:bin/go --run_under=realpath)):$PATH diff --git a/build/github/local-roachtest.sh b/build/github/local-roachtest.sh index e1b5ac0ceed..11fdecd30ce 100755 --- a/build/github/local-roachtest.sh +++ b/build/github/local-roachtest.sh @@ -22,6 +22,7 @@ export COCKROACH_DEV_LICENSE=$(gcloud secrets versions access 1 --secret=cockroa set -x bazel build --config=$CROSSCONFIG $(./build/github/engflow-args.sh) \ + --bes_keywords integration-test-artifact-build \ --jobs 100 \ //pkg/cmd/cockroach-short \ //pkg/cmd/roachtest \