diff --git a/.github/workflows/test-artifacts.yml b/.github/workflows/test-artifacts.yml index 96c3a517709..695a6ba5c95 100644 --- a/.github/workflows/test-artifacts.yml +++ b/.github/workflows/test-artifacts.yml @@ -1328,6 +1328,10 @@ jobs: aws-region: us-west-2 role-duration-seconds: ${{ env.TERRAFORM_AWS_ASSUME_ROLE_DURATION }} + - name: Login ECR + id: login-ecr + uses: aws-actions/amazon-ecr-login@v2 + - name: Install Terraform uses: hashicorp/setup-terraform@v3 with: @@ -1357,29 +1361,6 @@ jobs: terraform destroy -auto-approve && exit 1 fi - - name: Run Go tests with retry - uses: nick-fields/retry@v2 - with: - max_attempts: 5 - timeout_minutes: 60 - retry_wait_seconds: 30 - command: | - if [ "${{ matrix.arrays.terraform_dir }}" != "" ]; then - cd "${{ matrix.arrays.terraform_dir }}" - else - cd terraform/eks/addon/gpu - fi - echo "Getting EKS cluster name" - EKS_CLUSTER_NAME=$(terraform output -raw eks_cluster_name) - echo "Cluster name is ${EKS_CLUSTER_NAME}" - - if go test ${{ matrix.arrays.test_dir }} -eksClusterName ${EKS_CLUSTER_NAME} -computeType=EKS -v -eksDeploymentStrategy=DAEMON -eksGpuType=nvidia; then - echo "Tests passed" - else - echo "Tests failed" - exit 1 - fi - - name: Terraform destroy if: always() uses: nick-fields/retry@v2