Update CI.yaml
This commit is contained in:
parent
8903880fad
commit
86ae2f4d8a
|
@ -157,3 +157,8 @@ jobs:
|
||||||
cd \$current_dir
|
cd \$current_dir
|
||||||
done
|
done
|
||||||
EOF
|
EOF
|
||||||
|
export FAIL=0
|
||||||
|
chmod +x ./script.sh
|
||||||
|
gcloud compute scp ./script.sh --zone "us-central1-a" --tunnel-through-iap --project "${{ secrets.GCP_PROJECT_ID_PROD }}" test-gitian-$random: || export FAIL=1
|
||||||
|
gcloud compute scp --recurse $(pwd) --zone "us-central1-a" --tunnel-through-iap --project "${{ secrets.GCP_PROJECT_ID_PROD }}" test-gitian-$random:~/source || export FAIL=1
|
||||||
|
gcloud compute ssh --zone "us-central1-a" "test-gitian-$random" --tunnel-through-iap --project "${{ secrets.GCP_PROJECT_ID_PROD }}" --command="bash -i -c 'sudo -s ./script.sh'" -- -t || export FAIL=1
|
||||||
|
|
Loading…
Reference in New Issue