diff --git a/.github/workflows/CI-CD-k8s-release-deploy.yml b/.github/workflows/CI-CD-k8s-release-deploy.yml index fd512f0fb9..f720036129 100644 --- a/.github/workflows/CI-CD-k8s-release-deploy.yml +++ b/.github/workflows/CI-CD-k8s-release-deploy.yml @@ -93,89 +93,10 @@ jobs: push: true tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-indexer:prod - build-and-push-meta-storage-image: - runs-on: ubuntu-latest - needs: [tag-prod-version] - permissions: - contents: read - packages: write - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Log in to the github container registry - uses: docker/login-action@master - with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Build and push Meta Storage Docker image - uses: docker/build-push-action@master - with: - file: idea/meta-storage/Dockerfile - push: true - tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-meta-storage:prod - - build-api-gateway-image-prod: - runs-on: ubuntu-latest - needs: [tag-prod-version] - permissions: - contents: read - packages: write - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Log in to the github container registry - uses: docker/login-action@master - with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Build and push Api Gateway Docker image - uses: docker/build-push-action@master - with: - file: idea/api-gateway/Dockerfile - push: true - tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-api-gateway:prod - - build-test-balance-image-prod: - runs-on: ubuntu-latest - needs: [tag-prod-version] - permissions: - contents: read - packages: write - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Log in to the github container registry - uses: docker/login-action@master - with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Build and push Test Balance Docker image - uses: docker/build-push-action@master - with: - file: idea/test-balance/Dockerfile - push: true - tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-test-balance:prod - deploy-to-k8s-prod: needs: [ - build-frontend-image-prod, - build-and-push-meta-storage-image, - build-indexer-image-prod, - build-api-gateway-image-prod, - build-test-balance-image-prod, + build-frontend-image-prod ] runs-on: ubuntu-latest @@ -190,7 +111,7 @@ jobs: - name: Deploy to k8s uses: sergeyfilyanin/kubectl-aws-eks@master with: - args: rollout restart deployment api-gateway indexer-testnet indexer-vara indexer-workshop test-balance-testnet frontend-nginx meta-storage -n prod-idea + args: rollout restart deployment frontend-nginx -n prod-idea - name: Check k8s deployments uses: sergeyfilyanin/kubectl-aws-eks@master