File tree Expand file tree Collapse file tree 3 files changed +47
-0
lines changed Expand file tree Collapse file tree 3 files changed +47
-0
lines changed Original file line number Diff line number Diff line change 15
15
RAYCI_SKIP_UPLOAD : " true"
16
16
hook_env_keys :
17
17
- RAYCI_CHECKOUT_DIR
18
+ build_env_keys :
19
+ - AUTOMATIC
20
+ - RELEASE_FREQUENCY
21
+ docker_plugin :
22
+ allow_mount_buildkite_agent : true
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -euo pipefail
4
+
5
+ if [[ ${BUILDKITE_COMMIT} == " HEAD" ]]; then
6
+ BUILDKITE_COMMIT=" $( git rev-parse HEAD) "
7
+ export BUILDKITE_COMMIT
8
+ fi
9
+
10
+ aws ecr get-login-password --region us-west-2 | \
11
+ docker login --username AWS --password-stdin 029272617770.dkr.ecr.us-west-2.amazonaws.com
12
+
13
+ bash release/gcloud_docker_login.sh release/aws2gce_iam.json
14
+ export PATH=" ${PWD} /google-cloud-sdk/bin:$PATH "
15
+
16
+ if [[ " ${AUTOMATIC:- 0} " == " 1" && " ${BUILDKITE_BRANCH} " == " master" ]]; then
17
+ export REPORT_TO_RAY_TEST_DB=1
18
+ fi
19
+
20
+ RUN_FLAGS=()
21
+
22
+ if [[ " ${AUTOMATIC:- 0} " == " 0" || " ${BUILDKITE_BRANCH} " == " releases/" * ]]; then
23
+ RUN_FLAGS+=(--run-jailed-tests)
24
+ fi
25
+ if [[ " ${BUILDKITE_BRANCH} " != " releases/" * ]]; then
26
+ RUN_FLAGS+=(--run-unstable-tests)
27
+ fi
28
+
29
+ echo " ---- Build test steps"
30
+ bazelisk run //release:build_pipeline -- " ${RUN_FLAGS[@]} " \
31
+ | buildkite-agent pipeline upload
Original file line number Diff line number Diff line change
1
+ group : test init
2
+ tags :
3
+ - oss
4
+ steps :
5
+ - label : " test init"
6
+ key : test-init
7
+ instance_type : release-medium
8
+ commands :
9
+ - /bin/bash .buildkite/release/test-init.sh
10
+ mount_buildkite_agent : true
11
+ depends_on : forge
You can’t perform that action at this time.
0 commit comments