forked from paritytech/polkadot-testnet-faucet
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d7c23ae
commit f37179d
Showing
5 changed files
with
14 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,6 @@ name: Deploy to Testnet | |
|
||
on: | ||
workflow_dispatch: | ||
# TESTING, remove before merge | ||
push: | ||
branches: | ||
- A0-3755 | ||
|
||
concurrency: | ||
group: ${{ github.ref }}-${{ github.workflow }} | ||
|
@@ -41,10 +37,10 @@ jobs: | |
image=${{ env.ECR_REGISTRY }}${{ env.APP }}:${{ env.TAG }} | ||
echo "image=${image}" >> $GITHUB_OUTPUT | ||
# - name: Check deploy image existence | ||
# uses: Cardinal-Cryptography/github-actions/check-image-existence-ecr@v6 | ||
# with: | ||
# ecr-image: ${{ steps.get-image-name.outputs.image }} | ||
- name: Check deploy image existence | ||
uses: Cardinal-Cryptography/github-actions/check-image-existence-ecr@v6 | ||
with: | ||
ecr-image: ${{ steps.get-image-name.outputs.image }} | ||
|
||
- name: Get repo owner | ||
id: get-repo-owner | ||
|
@@ -76,14 +72,12 @@ jobs: | |
cd ${aleph_path}/${apps_name}/faucet/overlays/testnet/${{ env.REGIONS_AWS }} | ||
kustomize edit set image "faucet-image-placeholder=${{ env.RELEASE_IMAGE }}" | ||
# - name: GIT | Commit changes to argocd apps repository. | ||
# uses: EndBug/[email protected] | ||
# with: | ||
# author_name: ${{ secrets.AUTOCOMMIT_AUTHOR }} | ||
# author_email: ${{ secrets.AUTOCOMMIT_EMAIL }} | ||
# # yamllint disable-line rule:line-length | ||
# message: "Updating testnet faucet docker image tag to: ${{ steps.get-image-name.outputs.image }}" | ||
# add: "*.yaml" | ||
# cwd: ${{ secrets.REPO_ARGOCD_APPS_NAME }} | ||
# # TESTING, remove below line | ||
# push: false | ||
- name: GIT | Commit changes to argocd apps repository. | ||
uses: EndBug/[email protected] | ||
with: | ||
author_name: ${{ secrets.AUTOCOMMIT_AUTHOR }} | ||
author_email: ${{ secrets.AUTOCOMMIT_EMAIL }} | ||
# yamllint disable-line rule:line-length | ||
message: "Updating testnet faucet docker image tag to: ${{ steps.get-image-name.outputs.image }}" | ||
add: "*.yaml" | ||
cwd: ${{ secrets.REPO_ARGOCD_APPS_NAME }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters