Skip to content

Commit

Permalink
fix: indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Skylar Simoncelli committed Sep 23, 2024
1 parent 9d11afc commit 3cc1008
Showing 1 changed file with 33 additions and 32 deletions.
65 changes: 33 additions & 32 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,19 @@ env:

jobs:
earthly-build-and-push:
uses: ./.github/workflows/earthly-build-and-push.yml
with:
repository: ${{ github.repository }}
branch: ${{ github.head_ref }}
upload: 'true'
secrets:
SUBSTRATE_REPO_SSH_KEY: ${{ secrets.SUBSTRATE_REPO_SSH_KEY }}
EARTHLY_TAR: ${{ secrets.EARTHLY_TAR }}
AWS_ROLE_ARN_SECRET: ${{ secrets.AWS_ROLE_ARN_SECRET }}
ECR_REGISTRY_SECRET: ${{ secrets.ECR_REGISTRY_SECRET }}
permissions:
contents: write
uses: ./.github/workflows/earthly-build-and-push.yml
with:
repository: ${{ github.repository }}
branch: ${{ github.head_ref }}
upload: 'true'
secrets:
SUBSTRATE_REPO_SSH_KEY: ${{ secrets.SUBSTRATE_REPO_SSH_KEY }}
EARTHLY_TAR: ${{ secrets.EARTHLY_TAR }}
AWS_ROLE_ARN_SECRET: ${{ secrets.AWS_ROLE_ARN_SECRET }}
ECR_REGISTRY_SECRET: ${{ secrets.ECR_REGISTRY_SECRET }}
permissions:
id-token: write
contents: write

devshell-tests:
strategy:
Expand All @@ -50,16 +51,16 @@ jobs:
AWS_SESSION_TOKEN: ${{ secrets.AWS_SESSION_TOKEN }}

deploy-argocd:
needs: earthly-build-and-push
if: ${{ github.event.pull_request.merged == true && !contains(github.event.pull_request.labels.*.name, 'ci-off') }}
runs-on: ubuntu-latest
steps:
- name: Deploy ArgoCD Node
uses: ./.github/actions/deploy/argocd/deploy-argocd
with:
sha: ${{ github.sha }}
env:
ACTIONS_PAT: ${{ secrets.ACTIONS_PAT }}
needs: earthly-build-and-push
if: ${{ github.event.pull_request.merged == true && !contains(github.event.pull_request.labels.*.name, 'ci-off') }}
runs-on: ubuntu-latest
steps:
- name: Deploy ArgoCD Node
uses: ./.github/actions/deploy/argocd/deploy-argocd
with:
sha: ${{ github.sha }}
env:
ACTIONS_PAT: ${{ secrets.ACTIONS_PAT }}

argocd-tests:
needs: deploy-argocd
Expand All @@ -79,16 +80,16 @@ jobs:
ACTIONS_PAT: ${{ secrets.ACTIONS_PAT }}

teardown-argocd:
needs: [earthly-build-and-push, deploy-argocd, argocd-tests]
if: ${{ always() && needs.generate-manifest.result == 'success' }}
runs-on: ubuntu-latest
steps:
- name: Teardown ArgoCD Environment
uses: ./.github/actions/deploy/argocd/teardown-argocd
with:
sha: ${{ github.sha }}
env:
ACTIONS_PAT: ${{ secrets.ACTIONS_PAT }}
needs: [earthly-build-and-push, deploy-argocd, argocd-tests]
if: ${{ always() && needs.generate-manifest.result == 'success' }}
runs-on: ubuntu-latest
steps:
- name: Teardown ArgoCD Environment
uses: ./.github/actions/deploy/argocd/teardown-argocd
with:
sha: ${{ github.sha }}
env:
ACTIONS_PAT: ${{ secrets.ACTIONS_PAT }}

upload-chain-specs:
needs: [earthly-build-and-push]
Expand Down

0 comments on commit 3cc1008

Please sign in to comment.