Skip to content

Commit c066cc5

Browse files
committed
ci: reduce concurrency of remote execution builds
... to limit load on the EngFlow cluster. Epic: DEVINF-1424 Release note: None
1 parent ab84c1d commit c066cc5

File tree

12 files changed

+17
-17
lines changed

12 files changed

+17
-17
lines changed

build/github/acceptance-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ set -x
1414

1515
bazel build --config crosslinux //pkg/cmd/cockroach-short \
1616
--bes_keywords integration-test-artifact-build \
17-
--jobs 100 $(./build/github/engflow-args.sh)
17+
--jobs 50 $(./build/github/engflow-args.sh)
1818

1919
COCKROACH=$(bazel info bazel-bin --config=crosslinux)/pkg/cmd/cockroach-short/cockroach-short_/cockroach-short
2020

2121
bazel test //pkg/acceptance:acceptance_test \
2222
--config crosslinux \
23-
--jobs 100 $(./build/github/engflow-args.sh) \
23+
--jobs 50 $(./build/github/engflow-args.sh) \
2424
--remote_download_minimal \
2525
--test_arg=-b=$COCKROACH \
2626
--test_env=COCKROACH_DEV_LICENSE \

build/github/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ fi
4141

4242
bazel build \
4343
--config "$CONFIG" $EXTRA_ARGS \
44-
--jobs 100 \
44+
--jobs 50 \
4545
--build_event_binary_file=bes.bin \
4646
--bes_keywords ci-build \
4747
$(./build/github/engflow-args.sh) \

build/github/check-generated-code.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if ! (./build/bazelutil/check.sh &> artifacts/check-out.log || (cat_output artif
4545
fi
4646
rm artifacts/check-out.log
4747

48-
ENGFLOW_ARGS="--config crosslinux --jobs 100 $(./build/github/engflow-args.sh) --remote_download_minimal"
48+
ENGFLOW_ARGS="--config crosslinux --jobs 50 $(./build/github/engflow-args.sh) --remote_download_minimal"
4949

5050
EXTRA_BAZEL_ARGS="$ENGFLOW_ARGS" \
5151
COCKROACH_BAZEL_FORCE_GENERATE=1 \

build/github/cockroach-microbench-ci.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if $SKIP_COMPARISON && ! $PUSH_STEP; then
3030
fi
3131

3232
# Build binary with Bazel
33-
bazel build --config crosslinux $(./build/github/engflow-args.sh) --jobs 100 //pkg/cmd/roachprod-microbench
33+
bazel build --config crosslinux $(./build/github/engflow-args.sh) --jobs 50 //pkg/cmd/roachprod-microbench
3434

3535
roachprod_microbench_dir="_bazel/bin/pkg/cmd/roachprod-microbench/roachprod-microbench_"
3636

@@ -41,7 +41,7 @@ mkdir -p "$output_dir"
4141
bazel test //pkg/sql/tests:tests_test \
4242
--test_timeout=1800 \
4343
--strategy=TestRunner=sandboxed \
44-
--jobs 100 \
44+
--jobs 50 \
4545
--config=crosslinux \
4646
--remote_download_minimal \
4747
$(./build/github/engflow-args.sh) \

build/github/docker-image.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ esac
2727

2828
build_arch=${1:-amd64}
2929

30-
bazel build //pkg/cmd/cockroach //c-deps:libgeos --config $CROSSCONFIG --jobs 100 $(./build/github/engflow-args.sh)
30+
bazel build //pkg/cmd/cockroach //c-deps:libgeos --config $CROSSCONFIG --jobs 50 $(./build/github/engflow-args.sh)
3131
cp _bazel/bin/pkg/cmd/cockroach/cockroach_/cockroach build/deploy
3232
cp _bazel/cockroach/external/$ARCHIVEDIR/lib/libgeos.so build/deploy
3333
cp _bazel/cockroach/external/$ARCHIVEDIR/lib/libgeos_c.so build/deploy
@@ -59,4 +59,4 @@ bazel test \
5959
--config=crosslinux \
6060
--test_timeout=3000 \
6161
--remote_download_minimal \
62-
--jobs 100 $(./build/github/engflow-args.sh) --build_event_binary_file=bes.bin
62+
--jobs 50 $(./build/github/engflow-args.sh) --build_event_binary_file=bes.bin

build/github/examples-orms.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set -euxo pipefail
1010

1111
pushd cockroach
1212
bazel build //pkg/cmd/cockroach-short \
13-
--config crosslinux --jobs 100 \
13+
--config crosslinux --jobs 50 \
1414
--bes_keywords integration-test-artifact-build \
1515
$(./build/github/engflow-args.sh)
1616
cp _bazel/bin/pkg/cmd/cockroach-short/cockroach-short_/cockroach-short ../examples-orms/cockroach

build/github/lint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ WORKSPACE=$(bazel info workspace)
1212

1313
# GCAssert and unused need generated files in the workspace to work properly.
1414
bazel run //pkg/gen:code \
15-
--config crosslinux --jobs 100 \
15+
--config crosslinux --jobs 50 \
1616
--remote_download_minimal $(./build/github/engflow-args.sh)
1717
bazel run //pkg/cmd/generate-cgo:generate-cgo \
1818
--run_under="cd $WORKSPACE && " \
19-
--config crosslinux --jobs 100 \
19+
--config crosslinux --jobs 50 \
2020
--remote_download_minimal $(./build/github/engflow-args.sh)
2121

2222
bazel test \
@@ -30,5 +30,5 @@ bazel test \
3030
--test_env=COCKROACH_WORKSPACE=$WORKSPACE \
3131
--test_timeout=1800 \
3232
--build_event_binary_file=bes.bin \
33-
--jobs 100 \
33+
--jobs 50 \
3434
--remote_download_minimal $(./build/github/engflow-args.sh)

build/github/local-roachtest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ set -x
2929

3030
bazel build --config=$CROSSCONFIG $(./build/github/engflow-args.sh) \
3131
--bes_keywords integration-test-artifact-build \
32-
--jobs 100 \
32+
--jobs 50 \
3333
//pkg/cmd/cockroach-short \
3434
//pkg/cmd/roachtest \
3535
//pkg/cmd/roachprod \

build/github/microbenchmarks/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fi
2424

2525
# Build test binary
2626
bazel build "//${TEST_PKG}:tests_test" \
27-
--jobs 100 \
27+
--jobs 50 \
2828
--crdb_test_off \
2929
--linkopt=-pie \
3030
--bes_keywords integration-test-artifact-build \

build/github/microbenchmarks/util.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
set -euxo pipefail
99

1010
bazel build --config=crosslinux $(./build/github/engflow-args.sh) \
11-
--jobs 100 \
11+
--jobs 50 \
1212
--bes_keywords integration-test-artifact-build \
1313
//pkg/cmd/microbench-ci
1414

0 commit comments

Comments
 (0)