From 06eebdf50261f79140c1e7c190e032642288d03c Mon Sep 17 00:00:00 2001 From: Q-CTRL Robot Date: Wed, 20 Sep 2023 06:38:42 +0000 Subject: [PATCH] ci: Use script for cluster auth --- .github/workflows/on-push.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/on-push.yaml b/.github/workflows/on-push.yaml index bd6a46a..23724c3 100644 --- a/.github/workflows/on-push.yaml +++ b/.github/workflows/on-push.yaml @@ -80,9 +80,7 @@ jobs: - name: Update Sphinx deployment in Kubernetes (Development) if: github.ref == 'refs/heads/master' run: | - ./ci vault awsKey -t $(cat .token) -r deploy-eks-dev -o ./.aws-credentials ./ci docker run qctrl/ci-images:google-cloud-sdk-ci sh -- -c ' - . ./.aws-credentials; - aws eks update-kubeconfig --alias hidden --name platform-dev --region us-west-2; + . /scripts/connect-to-dev-cluster.sh; kubectl -n qctrl-platform set image deployment/open-controls-docs open-controls-docs=qctrl/open-controls-docs:$COMMIT && kubectl -n qctrl-platform rollout status deployment/open-controls-docs; '