Skip to content

Commit

Permalink
fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramadon committed Jan 24, 2025
1 parent 0fa2f10 commit fe5fcc2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 86 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/eks-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,24 +90,14 @@ jobs:
aws-region: ${{ inputs.region }}
role-duration-seconds: ${{ env.TERRAFORM_AWS_ASSUME_ROLE_DURATION }}

- name: Cache if success
id: cache_if_success
uses: actions/cache@v3
with:
path: go.mod
key: ${{inputs.region}}-${{ github.sha }}-${{ matrix.arrays.os }}-${{ matrix.arrays.arc }}-${{ matrix.arrays.test_dir }}

- name: Login ECR
id: login-ecr
if: steps.cache_if_success.outputs.cache-hit != 'true'
uses: aws-actions/amazon-ecr-login@v2

- name: Install Terraform
if: steps.cache_if_success.outputs.cache-hit != 'true'
uses: hashicorp/setup-terraform@v3

- name: Verify Terraform version
if: steps.cache_if_success.outputs.cache-hit != 'true'
run: terraform --version

- name: Terraform apply
Expand Down
76 changes: 0 additions & 76 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -654,24 +654,14 @@ jobs:
aws-region: us-west-2
role-duration-seconds: ${{ env.TERRAFORM_AWS_ASSUME_ROLE_DURATION }}

- name: Cache if success
id: ecs-ec2-integration-test
uses: actions/cache@v3
with:
path: go.mod
key: ecs-ec2-integration-test-${{ github.sha }}-${{ matrix.arrays.os }}-${{ matrix.arrays.test_dir }}

- name: Login ECR
id: login-ecr
if: steps.ecs-ec2-integration-test.outputs.cache-hit != 'true'
uses: aws-actions/amazon-ecr-login@v2

- name: Install Terraform
if: steps.ecs-ec2-integration-test.outputs.cache-hit != 'true'
uses: hashicorp/setup-terraform@v3

- name: Verify Terraform version
if: steps.ecs-ec2-integration-test.outputs.cache-hit != 'true'
run: terraform --version

- name: Terraform apply
Expand Down Expand Up @@ -740,24 +730,14 @@ jobs:
aws-region: us-west-2
role-duration-seconds: ${{ env.TERRAFORM_AWS_ASSUME_ROLE_DURATION }}

- name: Cache if success
id: ecs-fargate-integration-test
uses: actions/cache@v3
with:
path: go.mod
key: ecs-fargate-integration-test-${{ github.sha }}-${{ matrix.arrays.os }}-${{ matrix.arrays.test_dir }}

- name: Login ECR
id: login-ecr
if: steps.ecs-fargate-integration-test.outputs.cache-hit != 'true'
uses: aws-actions/amazon-ecr-login@v2

- name: Install Terraform
if: steps.ecs-fargate-integration-test.outputs.cache-hit != 'true'
uses: hashicorp/setup-terraform@v3

- name: Verify Terraform version
if: steps.ecs-fargate-integration-test.outputs.cache-hit != 'true'
run: terraform --version

- name: Terraform apply
Expand Down Expand Up @@ -821,24 +801,14 @@ jobs:
aws-region: us-west-2
role-duration-seconds: ${{ env.TERRAFORM_AWS_ASSUME_ROLE_DURATION }}

- name: Cache if success
id: eks-ec2-integration-test
uses: actions/cache@v3
with:
path: go.mod
key: ${{ matrix.arrays.terraform_dir }}-${{ matrix.arrays.k8sVersion }}-${{ matrix.arrays.instanceType }}-${{ github.sha }}-${{ matrix.arrays.os }}-${{ matrix.arrays.test_dir }}

- name: Login ECR
id: login-ecr
if: steps.eks-ec2-integration-test.outputs.cache-hit != 'true'
uses: aws-actions/amazon-ecr-login@v2

- name: Install Terraform
if: steps.eks-ec2-integration-test.outputs.cache-hit != 'true'
uses: hashicorp/setup-terraform@v3

- name: Verify Terraform version
if: steps.eks-ec2-integration-test.outputs.cache-hit != 'true'
run: terraform --version

- name: Terraform apply
Expand Down Expand Up @@ -906,24 +876,14 @@ jobs:
aws-region: us-west-2
role-duration-seconds: ${{ env.TERRAFORM_AWS_ASSUME_ROLE_DURATION }}

- name: Cache if success
id: eks-ec2-integration-test
uses: actions/cache@v3
with:
path: go.mod
key: eks-ec2-integration-test-${{ github.sha }}-${{ matrix.arrays.os }}-${{ matrix.arrays.test_dir }}

- name: Login ECR
id: login-ecr
if: steps.eks-ec2-integration-test.outputs.cache-hit != 'true'
uses: aws-actions/amazon-ecr-login@v2

- name: Install Terraform
if: steps.eks-ec2-integration-test.outputs.cache-hit != 'true'
uses: hashicorp/setup-terraform@v3

- name: Verify Terraform version
if: steps.eks-ec2-integration-test.outputs.cache-hit != 'true'
run: terraform --version

- name: Terraform apply
Expand Down Expand Up @@ -989,19 +949,10 @@ jobs:
aws-region: us-west-2
role-duration-seconds: ${{ env.TERRAFORM_AWS_ASSUME_ROLE_DURATION }}

- name: Cache if success
id: performance-tracking
uses: actions/cache@v3
with:
path: go.mod
key: performance-tracking-test-${{ github.sha }}-${{ matrix.arrays.os }}-${{ matrix.arrays.arc }}-${{ matrix.arrays.test_dir }}

- name: Install Terraform
if: steps.performance-tracking.outputs.cache-hit != 'true'
uses: hashicorp/setup-terraform@v3

- name: Verify Terraform version
if: steps.performance-tracking.outputs.cache-hit != 'true'
run: terraform --version

- name: Terraform apply
Expand Down Expand Up @@ -1060,19 +1011,10 @@ jobs:
aws-region: us-west-2
role-duration-seconds: ${{ env.TERRAFORM_AWS_ASSUME_ROLE_DURATION }}

- name: Cache if success
id: performance-tracking
uses: actions/cache@v3
with:
path: go.mod
key: performance-tracking-test-${{ github.sha }}-${{ matrix.arrays.os }}-${{ matrix.arrays.arc }}-${{ matrix.arrays.test_dir }}

- name: Install Terraform
if: steps.performance-tracking.outputs.cache-hit != 'true'
uses: hashicorp/setup-terraform@v3

- name: Verify Terraform version
if: steps.performance-tracking.outputs.cache-hit != 'true'
run: terraform --version

- name: Terraform apply
Expand Down Expand Up @@ -1131,19 +1073,10 @@ jobs:
aws-region: us-west-2
role-duration-seconds: ${{ env.TERRAFORM_AWS_ASSUME_ROLE_DURATION }}

- name: Cache if success
id: stress-tracking
uses: actions/cache@v3
with:
path: go.mod
key: stress-tracking-test-${{ github.sha }}-${{ matrix.arrays.os }}-${{ matrix.arrays.arc }}-${{ matrix.arrays.test_dir }}

- name: Install Terraform
if: steps.stress-tracking.outputs.cache-hit != 'true'
uses: hashicorp/setup-terraform@v3

- name: Verify Terraform version
if: steps.stress-tracking.outputs.cache-hit != 'true'
run: terraform --version

- name: Echo Test Info
Expand Down Expand Up @@ -1204,19 +1137,10 @@ jobs:
aws-region: us-west-2
role-duration-seconds: ${{ env.TERRAFORM_AWS_ASSUME_ROLE_DURATION }}

- name: Cache if success
id: ec2-win-stress-tracking-test
uses: actions/cache@v3
with:
path: go.mod
key: ec2-win-stress-tracking-test-${{ github.sha }}-${{ matrix.arrays.os }}-${{ matrix.arrays.arc }}-${{ matrix.arrays.test_dir }}

- name: Install Terraform
if: steps.ec2-win-stress-tracking-test.outputs.cache-hit != 'true'
uses: hashicorp/setup-terraform@v3

- name: Verify Terraform version
if: steps.ec2-win-stress-tracking-test.outputs.cache-hit != 'true'
run: terraform --version

- name: Echo Test Info
Expand Down

0 comments on commit fe5fcc2

Please sign in to comment.