diff --git a/.github/workflows/deploy-to-testnet.yml b/.github/workflows/deploy-to-testnet.yml index e98b1b13..59ee988f 100644 --- a/.github/workflows/deploy-to-testnet.yml +++ b/.github/workflows/deploy-to-testnet.yml @@ -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/add-and-commit@v9.1.3 -# 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/add-and-commit@v9.1.3 + 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 }} diff --git a/.github/workflows/on-main-branch-commit.yml b/.github/workflows/on-main-branch-commit.yml index 4ab523f9..91ad95fa 100644 --- a/.github/workflows/on-main-branch-commit.yml +++ b/.github/workflows/on-main-branch-commit.yml @@ -5,8 +5,6 @@ on: push: branches: - main - # TESTING, remove before merge - - A0-3755 concurrency: group: ${{ github.ref }}-${{ github.workflow }} @@ -55,5 +53,5 @@ jobs: - name: Push image to the ECR registry id: push-image run: | - echo docker push '${{ steps.get-image-name.outputs.image }}' + docker push '${{ steps.get-image-name.outputs.image }}' diff --git a/.github/workflows/on-pr-commit.yml b/.github/workflows/on-pr-commit.yml index e86b2521..9b570a3a 100644 --- a/.github/workflows/on-pr-commit.yml +++ b/.github/workflows/on-pr-commit.yml @@ -3,10 +3,6 @@ name: PR commit on: pull_request: merge_group: - # TESTING, remove before merge - push: - branches: - - A0-3755 jobs: main: diff --git a/.github/workflows/yaml-lint.yml b/.github/workflows/yaml-lint.yml index f26c8f55..f76e2e58 100644 --- a/.github/workflows/yaml-lint.yml +++ b/.github/workflows/yaml-lint.yml @@ -7,10 +7,6 @@ on: paths: - '.github/**.yml' - '.github/**.yaml' - # TESTING, remove before merge - push: - branches: - - A0-3755 concurrency: group: ${{ github.ref }}-${{ github.workflow }} diff --git a/.github/workflows/yaml-validate.yml b/.github/workflows/yaml-validate.yml index 492f115b..d3051b8c 100644 --- a/.github/workflows/yaml-validate.yml +++ b/.github/workflows/yaml-validate.yml @@ -7,10 +7,6 @@ on: paths: - '.github/**.yml' - '.github/**.yaml' - # TESTING, remove before merge - push: - branches: - - A0-3755 concurrency: group: ${{ github.ref }}-${{ github.workflow }}