From 96ee080e6510c1281fb2f01fc7294bf1557d4d35 Mon Sep 17 00:00:00 2001 From: pdrakesnyk <98352303+pdrakesnyk@users.noreply.github.com> Date: Wed, 23 Oct 2024 13:47:23 -0500 Subject: [PATCH] Delete .github/workflows/provision-and-deploy.yml --- .github/workflows/provision-and-deploy.yml | 50 ---------------------- 1 file changed, 50 deletions(-) delete mode 100644 .github/workflows/provision-and-deploy.yml diff --git a/.github/workflows/provision-and-deploy.yml b/.github/workflows/provision-and-deploy.yml deleted file mode 100644 index 6d39ef0e3c9..00000000000 --- a/.github/workflows/provision-and-deploy.yml +++ /dev/null @@ -1,50 +0,0 @@ -name: 'Provision EKS and Deploy Juice Shop' -on: - push: - branches: - - master - paths: - - '_build_flag' - -jobs: - provision-eks: - name: 'Deploy Terraform' - runs-on: ubuntu-latest - env: - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Setup Terraform - uses: hashicorp/setup-terraform@v2 - with: - terraform_wrapper: false - - - name: Install kubectl - run: | - curl -LO https://dl.k8s.io/release/v1.29.2/bin/linux/amd64/kubectl - chmod +x kubectl - mkdir -p ~/.local/bin - mv ./kubectl ~/.local/bin/kubectl - kubectl version --client - - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v2 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: us-east-1 - - - name: Terraform Init - run: terraform -chdir=terraform init - - - name: Terraform Apply - run: terraform -chdir=terraform apply -auto-approve - - - name: kubectl apply - run: | - aws eks update-kubeconfig --region us-east-1 --name juice-shop-cluster - kubectl apply -f k8s-src