Skip to content

Commit

Permalink
ci: add extra logging of $TC_SERVER_URL in pebble metamorphic nightly
Browse files Browse the repository at this point in the history
Release note: None
  • Loading branch information
rickystewart committed Feb 11, 2022
1 parent 657c0e1 commit a3f1b84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 0 additions & 13 deletions build/teamcity/cockroach/nightlies/pebble_nightly_metamorphic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,5 @@ echo "$NEW_DEPS_BZL_CONTENT" > DEPS.bzl
PEBBLE_SUM=$(grep 'version =' DEPS.bzl | cut -d'"' -f2)
echo "Pebble module sum: $PEBBLE_SUM"

env=(
"GITHUB_REPO=$GITHUB_REPO"
"GITHUB_API_TOKEN=$GITHUB_API_TOKEN"
"BUILD_VCS_NUMBER=$PEBBLE_SUM"
"TC_BUILD_ID=$TC_BUILD_ID"
"TC_SERVER_URL=$TC_SERVER_URL"
"TC_BUILD_BRANCH=$TC_BUILD_BRANCH"
"PKG=internal/metamorphic"
"STRESSFLAGS=-maxtime 3h -maxfails 1 -stderr -p 1"
"TZ=America/New_York"
)

BAZEL_SUPPORT_EXTRA_DOCKER_ARGS="-e BUILD_VCS_NUMBER=$PEBBLE_SUM -e GITHUB_API_TOKEN -e GITHUB_REPO -e TC_BUILD_BRANCH -e TC_BUILD_ID -e TC_SERVER_URL" \
run_bazel build/teamcity/cockroach/nightlies/pebble_nightly_metamorphic_impl.sh

Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ ARTIFACTS_DIR=/artifacts/meta
mkdir -p $ARTIFACTS_DIR
GO_TEST_JSON_OUTPUT_FILE=/artifacts/test.json.txt

echo "TC_SERVER_URL is $TC_SERVER_URL"

bazel build //pkg/cmd/bazci //pkg/cmd/github-post //pkg/cmd/testfilter --config=ci

BAZEL_BIN=$(bazel info bazel-bin --config ci)
Expand Down

0 comments on commit a3f1b84

Please sign in to comment.