hide server address as well for NR0Q deploy

merge-requests/68/merge test_nr0q_1.21.0307_20
Matthew Chambers 2021-03-11 16:10:36 +00:00
rodzic 6d93ae6575
commit 2297139d81
1 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -17,7 +17,8 @@ variables:
AWS_SECRET_ACCESS_KEY: ""
AWS_DEFAULT_REGION: ""
AWS_RELEASE_DEPLOY_PATH: s3://download.gridtracker.org/release/$CI_COMMIT_TAG
AWS_TESTING_DEPLOY_PATH: s3://download.gridtracker.org/testing/$CI_COMMIT_TAG
AWS_TESTING_DEPLOY_PATH: s3://download.gridtracker.org/testing/$
NR0Q_SERVER_ADDRESS: ""
NR0Q_SERVER_PASSWORD: ""
# nothing in this file ill be allowed to run automatically except for:
@ -164,7 +165,7 @@ nr0q_upload_testing:
echo "Calculating MD5 Hash for $FILE"
md5sum $FILE > $FILE.md5
done
ssh -o StrictHostKeyChecking=no gridtracker@35.208.252.126 "mkdir ~/$CI_COMMIT_TAG" && scp -o StrictHostKeyChecking=no -r ./* gridtracker@35.208.252.126:~/$CI_COMMIT_TAG/
ssh -o StrictHostKeyChecking=no gridtracker@$NR0Q_SERVER_ADDRESS "mkdir ~/$CI_COMMIT_TAG" && scp -o StrictHostKeyChecking=no -r ./* gridtracker@35.208.252.126:~/$CI_COMMIT_TAG/
# copy release assets to NR0Q's server
nr0q_upload_release:
@ -186,7 +187,7 @@ nr0q_upload_release:
echo "Calculating MD5 Hash for $FILE"
md5sum $FILE > $FILE.md5
done
ssh -o StrictHostKeyChecking=no gridtracker@35.208.252.126 "mkdir ~/$CI_COMMIT_TAG" && scp -o StrictHostKeyChecking=no -r ./* gridtracker@35.208.252.126:~/$CI_COMMIT_TAG/
ssh -o StrictHostKeyChecking=no gridtracker@$NR0Q_SERVER_ADDRESS "mkdir ~/$CI_COMMIT_TAG" && scp -o StrictHostKeyChecking=no -r ./* gridtracker@35.208.252.126:~/$CI_COMMIT_TAG/
# copy the assets over to our distribution storage (testing, tag = test_.*)
s3_upload_testing: