diff --git a/.github/workflows/build-isolated-media-server.yaml b/.github/workflows/build-isolated-media-server.yaml index cbec9175b..7a4ee9b27 100644 --- a/.github/workflows/build-isolated-media-server.yaml +++ b/.github/workflows/build-isolated-media-server.yaml @@ -102,11 +102,13 @@ jobs: # uses: steebchen/kubectl@v2.0.0 if: github.ref == 'refs/heads/develop' run: | # defaults to latest kubectl binary version + kubectl apply -f desci-media-isolated/kubernetes/deployment_dev.yaml kubectl set image deployment/desci-media-isolated-dev desci-media-isolated-dev=$AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$CONTAINER_IMAGE-dev:${{ github.sha }} --record - name: Deploy to EKS (PROD) if: github.ref == 'refs/heads/main' run: | # defaults to latest kubectl binary version + kubectl apply -f desci-media-isolated/kubernetes/deployment_prod.yaml kubectl set image deployment/desci-media-isolated-prod desci-media-isolated-prod=$AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$CONTAINER_IMAGE-prod:${{ github.sha }} --record - name: Verify EKS Deployment (DEV) diff --git a/.github/workflows/build-nodes-media.yaml b/.github/workflows/build-nodes-media.yaml index d9b1c3576..95a9fb1b5 100644 --- a/.github/workflows/build-nodes-media.yaml +++ b/.github/workflows/build-nodes-media.yaml @@ -101,11 +101,13 @@ jobs: # uses: steebchen/kubectl@v2.0.0 if: github.ref == 'refs/heads/develop' run: | # defaults to latest kubectl binary version + kubectl apply -f nodes-media/kubernetes/deployment_dev.yaml kubectl set image deployment/nodes-media-server-dev nodes-media-server-dev=$AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$CONTAINER_IMAGE-dev:${{ github.sha }} --record - name: Deploy to EKS (PROD) if: github.ref == 'refs/heads/main' run: | # defaults to latest kubectl binary version + kubectl apply -f nodes-media/kubernetes/deployment_prod.yaml kubectl set image deployment/nodes-media-server nodes-media-server=$AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$CONTAINER_IMAGE:${{ github.sha }} --record - name: Verify EKS Deployment (DEV) diff --git a/desci-media-isolated/kubernetes/network_policies.yaml b/desci-media-isolated/kubernetes/network_policies_prod.yaml similarity index 100% rename from desci-media-isolated/kubernetes/network_policies.yaml rename to desci-media-isolated/kubernetes/network_policies_prod.yaml