forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…db#96500 96388: logictest: Skip if using cockroach-go/testserver r=renatolabs a=itsbilal Skip of flaky test. Informs: cockroachdb#96387 Epic: none Release note: None 96452: roachtest: add aws weekly script r=rickystewart a=healthy-pod This change adds the scripts to be used by the aws weekly roachtest teamcity job. Release note: None Epic: none 96469: logictest: refactor client connection creation logic r=rafiss a=andyyang890 This patch abstracts the logic for creating client connections and persisting them into a separate function. As a side benefit, it also fixes the problem of clients created in `execQuery` not being properly tracked in the `clients` field of `logicTest`. Informs cockroachdb#92342 Release note: None 96500: authors: add BabuSrithar to authors r=healthy-pod a=BabuSrithar Release note: None Epic: None Co-authored-by: Bilal Akhtar <[email protected]> Co-authored-by: healthy-pod <[email protected]> Co-authored-by: Andy Yang <[email protected]> Co-authored-by: babusrithar <[email protected]>
- Loading branch information
Showing
4 changed files
with
61 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,6 +88,7 @@ Artem Ervits <[email protected]> <[email protected]> | |
Arul Ajmani <[email protected]> <[email protected]> | ||
Asit Mahato <[email protected]> | ||
Austen McClernon <[email protected]> <[email protected]> | ||
BabuSrithar <[email protected]> <[email protected]> | ||
Barry He <[email protected]> <[email protected]> | ||
bc <[email protected]> | ||
Ben Bardin <[email protected]> | ||
|
11 changes: 11 additions & 0 deletions
11
build/teamcity/cockroach/nightlies/roachtest_weekly_aws.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -exuo pipefail | ||
|
||
dir="$(dirname $(dirname $(dirname $(dirname "${0}"))))" | ||
|
||
source "$dir/teamcity-support.sh" # For $root | ||
source "$dir/teamcity-bazel-support.sh" # For run_bazel | ||
|
||
BAZEL_SUPPORT_EXTRA_DOCKER_ARGS="-e LITERAL_ARTIFACTS_DIR=$root/artifacts -e AWS_ACCESS_KEY_ID -e AWS_ACCESS_KEY_ID_ASSUME_ROLE -e AWS_KMS_KEY_ARN_A -e AWS_KMS_KEY_ARN_B -e AWS_KMS_REGION_A -e AWS_KMS_REGION_B -e AWS_ROLE_ARN -e AWS_SECRET_ACCESS_KEY -e AWS_SECRET_ACCESS_KEY_ASSUME_ROLE -e BUILD_TAG -e BUILD_VCS_NUMBER -e CLOUD -e COCKROACH_DEV_LICENSE -e TESTS -e COUNT -e GITHUB_API_TOKEN -e GITHUB_ORG -e GITHUB_REPO -e GOOGLE_EPHEMERAL_CREDENTIALS -e SLACK_TOKEN -e TC_BUILDTYPE_ID -e TC_BUILD_BRANCH -e TC_BUILD_ID -e TC_SERVER_URL" \ | ||
run_bazel build/teamcity/cockroach/nightlies/roachtest_weekly_aws_impl.sh |
26 changes: 26 additions & 0 deletions
26
build/teamcity/cockroach/nightlies/roachtest_weekly_aws_impl.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -exuo pipefail | ||
|
||
dir="$(dirname $(dirname $(dirname $(dirname "${0}"))))" | ||
|
||
source "$dir/teamcity-support.sh" | ||
|
||
if [[ ! -f ~/.ssh/id_rsa.pub ]]; then | ||
ssh-keygen -q -C "roachtest-weekly-bazel $(date)" -N "" -f ~/.ssh/id_rsa | ||
fi | ||
|
||
source $root/build/teamcity/cockroach/nightlies/roachtest_compile_bits.sh | ||
|
||
artifacts=/artifacts | ||
source $root/build/teamcity/util/roachtest_util.sh | ||
|
||
build/teamcity-roachtest-invoke.sh \ | ||
tag:aws-weekly \ | ||
--cloud="${CLOUD}" \ | ||
--build-tag="${BUILD_TAG}" \ | ||
--cluster-id "${TC_BUILD_ID}" \ | ||
--cockroach "$PWD/bin/cockroach" \ | ||
--artifacts=/artifacts \ | ||
--artifacts-literal="${LITERAL_ARTIFACTS_DIR:-}" \ | ||
--slack-token="${SLACK_TOKEN}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters