Updated the script to deploy on pacific-ocean

This commit is contained in:
Javier Cortejoso 2019-07-16 17:23:46 +02:00
parent a5919ff69d
commit 6f40ba1735
No known key found for this signature in database
GPG Key ID: FBEEF3131E39EBCF
1 changed files with 2 additions and 2 deletions

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}\"}]}}}}"