1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

Merge pull request #178 from oceanprotocol/feature/update_k8s_to_pacific

Updated the script to deploy on pacific-ocean
This commit is contained in:
Matthias Kretschmann 2019-07-16 18:45:42 +02:00 committed by GitHub
commit e0ca17883f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
scripts/deploy_on_k8s.sh Normal file → Executable file
View File

@ -37,8 +37,8 @@ users:
EOF
# Patch deployed versions in k8s cluster
/tmp/kubectl patch deployment marketplace-client-commons -p\
/tmp/kubectl patch deployment -n pacific-ocean marketplace-client-commons -p\
"{\"spec\":{\"template\":{\"spec\":{\"containers\":[{\"name\":\"marketplace-commons\",\"image\":\"oceanprotocol/commons_client:${TRAVIS_TAG}\"}]}}}}"
/tmp/kubectl patch deployment marketplace-server-commons -p\
/tmp/kubectl patch deployment -n pacific-ocean marketplace-server-commons -p\
"{\"spec\":{\"template\":{\"spec\":{\"containers\":[{\"name\":\"marketplace-server-commons\",\"image\":\"oceanprotocol/commons_server:${TRAVIS_TAG}\"}]}}}}"