File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ inputs:
18
18
default : ' --output_base=/var/tmp/bazel-output/'
19
19
BUILDEVENT_APIKEY :
20
20
required : false
21
- SSH_PRIVATE_KEY :
21
+ SSH_PRIVATE_KEY_BACKUP_POD :
22
22
required : false
23
23
24
24
runs :
30
30
run : |
31
31
set +e # manual error handling to ensure we can run some post-build commands
32
32
33
- if [ -n "$SSH_PRIVATE_KEY " ]; then
33
+ if [ -n "$SSH_PRIVATE_KEY_BACKUP_POD " ]; then
34
34
# The following adds the SSH private key to the ssh-agent such that CI can SSH into the backup pod.
35
- test -z "${SSH_AUTH_SOCK:-}" && { eval "$(ssh-agent -s)"; ssh-add - <<< "${SSH_PRIVATE_KEY }"; }
35
+ test -z "${SSH_AUTH_SOCK:-}" && { eval "$(ssh-agent -s)"; ssh-add - <<< "${SSH_PRIVATE_KEY_BACKUP_POD }"; }
36
36
rm -rf ~/.ssh
37
37
mkdir -p ~/.ssh
38
38
chmod 0700 ~/.ssh
77
77
CI_JOB_URL : " ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
78
78
CI_PULL_REQUEST_TARGET_BRANCH_NAME : ${{ github.event.pull_request.base.ref }}
79
79
MERGE_BASE_SHA : ${{ github.event.pull_request.base.sha }}
80
- SSH_PRIVATE_KEY : ${{ inputs.SSH_PRIVATE_KEY }}
80
+ SSH_PRIVATE_KEY_BACKUP_POD : ${{ inputs.SSH_PRIVATE_KEY_BACKUP_POD }}
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ jobs:
117
117
BAZEL_CI_CONFIG : " --config=ci --repository_cache=/cache/bazel"
118
118
BAZEL_EXTRA_ARGS : " --keep_going --test_tag_filters=fi_tests_nightly --test_env=SSH_AUTH_SOCK --test_timeout=43200"
119
119
BUILDEVENT_APIKEY : ${{ secrets.HONEYCOMB_TOKEN }}
120
- SSH_PRIVATE_KEY : ${{ secrets.SSH_PRIVATE_KEY }}
120
+ SSH_PRIVATE_KEY_BACKUP_POD : ${{ secrets.SSH_PRIVATE_KEY_BACKUP_POD }}
121
121
122
122
nns-tests-nightly :
123
123
name : Bazel Test NNS Nightly
@@ -135,7 +135,7 @@ jobs:
135
135
BAZEL_CI_CONFIG : " --config=ci --repository_cache=/cache/bazel"
136
136
BAZEL_EXTRA_ARGS : " --keep_going --test_tag_filters=nns_tests_nightly --test_env=SSH_AUTH_SOCK --test_env=NNS_CANISTER_UPGRADE_SEQUENCE=all"
137
137
BUILDEVENT_APIKEY : ${{ secrets.HONEYCOMB_TOKEN }}
138
- SSH_PRIVATE_KEY : ${{ secrets.SSH_PRIVATE_KEY }}
138
+ SSH_PRIVATE_KEY_BACKUP_POD : ${{ secrets.SSH_PRIVATE_KEY_BACKUP_POD }}
139
139
140
140
system-tests-benchmarks-nightly :
141
141
name : Bazel System Test Benchmarks
Original file line number Diff line number Diff line change 93
93
BAZEL_CI_CONFIG : " --config=ci --repository_cache=/cache/bazel"
94
94
BAZEL_EXTRA_ARGS : " --keep_going --test_tag_filters=fi_tests_nightly --test_env=SSH_AUTH_SOCK --test_timeout=43200"
95
95
BUILDEVENT_APIKEY : ${{ secrets.HONEYCOMB_TOKEN }}
96
- SSH_PRIVATE_KEY : ${{ secrets.SSH_PRIVATE_KEY }}
96
+ SSH_PRIVATE_KEY_BACKUP_POD : ${{ secrets.SSH_PRIVATE_KEY_BACKUP_POD }}
97
97
nns-tests-nightly :
98
98
name : Bazel Test NNS Nightly
99
99
runs-on :
@@ -121,7 +121,7 @@ jobs:
121
121
BAZEL_CI_CONFIG : " --config=ci --repository_cache=/cache/bazel"
122
122
BAZEL_EXTRA_ARGS : " --keep_going --test_tag_filters=nns_tests_nightly --test_env=SSH_AUTH_SOCK --test_env=NNS_CANISTER_UPGRADE_SEQUENCE=all"
123
123
BUILDEVENT_APIKEY : ${{ secrets.HONEYCOMB_TOKEN }}
124
- SSH_PRIVATE_KEY : ${{ secrets.SSH_PRIVATE_KEY }}
124
+ SSH_PRIVATE_KEY_BACKUP_POD : ${{ secrets.SSH_PRIVATE_KEY_BACKUP_POD }}
125
125
system-tests-benchmarks-nightly :
126
126
name : Bazel System Test Benchmarks
127
127
runs-on :
You can’t perform that action at this time.
0 commit comments