Skip to content

Commit

Permalink
Merge pull request #90 from valory-xyz/feature/deploy-on-propel
Browse files Browse the repository at this point in the history
quotes fixes for username password
  • Loading branch information
solarw authored Feb 2, 2024
2 parents 5e05a55 + 8e4f574 commit 68f51fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
echo "Pushing $DOCKER_USER/oar-$AGENT:$DEFAULT_IMAGE_TAG"
docker push $DOCKER_USER/oar-$AGENT:$VERSION
docker push $DOCKER_USER/oar-$AGENT:$DEFAULT_IMAGE_TAG
1
deploy-service-on-propel:
name: Deploy service on propel
environment: ${{ github.event.action == 'released' && 'production' || 'staging' }}
Expand All @@ -118,7 +118,7 @@ jobs:
sudo apt-get autoremove
sudo apt-get autoclean
python -m pip install --upgrade pip
pip install propel-client==0.0.10 open-autonomy
pip install propel-client open-autonomy
- name: Make use proxy instead of actual nlb by dns override
run: |
Expand All @@ -132,7 +132,7 @@ jobs:
- name: Login to propel
run: |
$CMD login -u ${{ vars.PROPEL_USERNAME }} -p ${{ secrets.PROPEL_PASSWORD }}
$CMD login -u '${{ vars.PROPEL_USERNAME }}' -p '${{ secrets.PROPEL_PASSWORD }}'
- name: Do a deployment
run: |
Expand All @@ -149,4 +149,4 @@ jobs:
echo >> github.vars
echo '${{ toJSON(vars) }}' | jq -r 'to_entries|map("export \(.key)=\(.value|tojson)")|.[]' >> github.vars
source github.vars
$CMD service deploy --name ${{ vars.SERVICE_NAME }} --service-dir $SERVICE_PATH --service-ipfs-hash $IPFS_HASH --ingress-enabled true --keys ${{ vars.SERVICE_KEYS }} --timeout 320
$CMD service deploy --name '${{ vars.SERVICE_NAME }}' --service-dir $SERVICE_PATH --service-ipfs-hash $IPFS_HASH --ingress-enabled true --keys '${{ vars.SERVICE_KEYS }}' --timeout 320

0 comments on commit 68f51fb

Please sign in to comment.