Skip to content

Commit

Permalink
Fixes to deploy workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin-Radecki committed Jan 2, 2024
1 parent 910f517 commit 16eba3b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-to-devnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
uses: ./.github/workflows/_check-vars-and-secrets.yml
secrets: inherit

deploy-faucet-to-testnet:
name: Build and push faucet image
deploy-faucet-to-devnet:
name: Deploy to Devnet
needs: [check-vars-and-secrets]
runs-on: ubuntu-20.04
steps:
Expand Down Expand Up @@ -62,14 +62,14 @@ jobs:
with:
kustomize-version: ${{ vars.KUSTOMIZE_VERSION }}

- name: Update faucet Testnet image in kustomize file
- name: Update faucet Devnet image in kustomize file
env:
RELEASE_IMAGE: ${{ steps.get-image-name.outputs.image }}
REGIONS_AWS: 'eu-central-1'
run: |
export aleph_path=$(pwd)
export apps_name=${{ secrets.REPO_ARGOCD_APPS_NAME }}
cd ${aleph_path}/${apps_name}/faucet/overlays/testnet/${{ env.REGIONS_AWS }}
cd ${aleph_path}/${apps_name}/faucet/overlays/devnet/${{ env.REGIONS_AWS }}
kustomize edit set image "faucet-image-placeholder=${{ env.RELEASE_IMAGE }}"
- name: GIT | Commit changes to argocd apps repository.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
secrets: inherit

deploy-faucet-to-testnet:
name: Build and push faucet image
name: Deploy to Testnet
needs: [check-vars-and-secrets]
runs-on: ubuntu-20.04
steps:
Expand Down

0 comments on commit 16eba3b

Please sign in to comment.