Skip to content

Commit

Permalink
Woops, bring back rest of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ayellapragada committed Apr 11, 2024
1 parent 8ecdbf2 commit 2399726
Showing 1 changed file with 82 additions and 82 deletions.
164 changes: 82 additions & 82 deletions .github/workflows/acceptance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,92 +20,92 @@ jobs:
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

# apply_cluster:
# name: Apply Cluster
# uses: ./.github/workflows/terraform.yaml
# needs:
# - apply_network
# concurrency: ${{ github.ref_name }}-cluster
# with:
# module: cluster/sandbox-v1
# secrets:
# AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
apply_cluster:
name: Apply Cluster
uses: ./.github/workflows/terraform.yaml
needs:
- apply_network
concurrency: ${{ github.ref_name }}-cluster
with:
module: cluster/sandbox-v1
secrets:
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}

# apply_ingress:
# name: Apply Ingress
# uses: ./.github/workflows/terraform.yaml
# needs:
# - apply_cluster
# concurrency: ${{ github.ref_name }}-ingress
# with:
# module: ingress/sandbox
# secrets:
# AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
apply_ingress:
name: Apply Ingress
uses: ./.github/workflows/terraform.yaml
needs:
- apply_cluster
concurrency: ${{ github.ref_name }}-ingress
with:
module: ingress/sandbox
secrets:
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}

# apply_platform:
# name: Apply Platform
# uses: ./.github/workflows/terraform.yaml
# needs:
# - apply_ingress
# concurrency: ${{ github.ref_name }}-platform
# with:
# module: platform/sandbox-v1
# secrets:
# AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
apply_platform:
name: Apply Platform
uses: ./.github/workflows/terraform.yaml
needs:
- apply_ingress
concurrency: ${{ github.ref_name }}-platform
with:
module: platform/sandbox-v1
secrets:
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}

# tests:
# name: Run Tests
# uses: ./.github/workflows/tests.yaml
# needs:
# - apply_platform
# concurrency: ${{ github.ref_name }}-platform
# secrets:
# AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
tests:
name: Run Tests
uses: ./.github/workflows/tests.yaml
needs:
- apply_platform
concurrency: ${{ github.ref_name }}-platform
secrets:
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}

# cleanup_platform:
# name: Cleanup Platform
# uses: ./.github/workflows/terraform.yaml
# needs:
# - tests
# concurrency: ${{ github.ref_name }}-platform
# with:
# module: platform/sandbox-v1
# terraform_command: destroy
# secrets:
# AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
cleanup_platform:
name: Cleanup Platform
uses: ./.github/workflows/terraform.yaml
needs:
- tests
concurrency: ${{ github.ref_name }}-platform
with:
module: platform/sandbox-v1
terraform_command: destroy
secrets:
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}

# cleanup_ingress:
# name: Cleanup Ingress
# uses: ./.github/workflows/terraform.yaml
# needs:
# - cleanup_platform
# concurrency: ${{ github.ref_name }}-ingress
# with:
# module: ingress/sandbox
# terraform_command: destroy
# secrets:
# AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
cleanup_ingress:
name: Cleanup Ingress
uses: ./.github/workflows/terraform.yaml
needs:
- cleanup_platform
concurrency: ${{ github.ref_name }}-ingress
with:
module: ingress/sandbox
terraform_command: destroy
secrets:
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}

# cleanup_cluster:
# name: Cleanup Cluster
# uses: ./.github/workflows/terraform.yaml
# needs:
# - cleanup_ingress
# concurrency: ${{ github.ref_name }}-cluster
# with:
# module: cluster/sandbox-v1
# terraform_command: destroy
# secrets:
# AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
cleanup_cluster:
name: Cleanup Cluster
uses: ./.github/workflows/terraform.yaml
needs:
- cleanup_ingress
concurrency: ${{ github.ref_name }}-cluster
with:
module: cluster/sandbox-v1
terraform_command: destroy
secrets:
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}

# cleanup_network:
# name: Cleanup Network
# uses: ./.github/workflows/terraform.yaml
# needs:
# - cleanup_cluster
# concurrency: ${{ github.ref_name }}-network
# with:
# module: network/sandbox
# terraform_command: destroy
# secrets:
# AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
cleanup_network:
name: Cleanup Network
uses: ./.github/workflows/terraform.yaml
needs:
- cleanup_cluster
concurrency: ${{ github.ref_name }}-network
with:
module: network/sandbox
terraform_command: destroy
secrets:
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}

0 comments on commit 2399726

Please sign in to comment.