Skip to content

Commit

Permalink
Reverting testing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin-Radecki committed Dec 22, 2023
1 parent d7c23ae commit f37179d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 34 deletions.
32 changes: 13 additions & 19 deletions .github/workflows/deploy-to-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
4 changes: 1 addition & 3 deletions .github/workflows/on-main-branch-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
push:
branches:
- main
# TESTING, remove before merge
- A0-3755

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
Expand Down Expand Up @@ -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 }}'
4 changes: 0 additions & 4 deletions .github/workflows/on-pr-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ name: PR commit
on:
pull_request:
merge_group:
# TESTING, remove before merge
push:
branches:
- A0-3755

jobs:
main:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/yaml-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ on:
paths:
- '.github/**.yml'
- '.github/**.yaml'
# TESTING, remove before merge
push:
branches:
- A0-3755

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/yaml-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ on:
paths:
- '.github/**.yml'
- '.github/**.yaml'
# TESTING, remove before merge
push:
branches:
- A0-3755

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
Expand Down

0 comments on commit f37179d

Please sign in to comment.