Skip to content

Commit

Permalink
ci: Use script for cluster auth
Browse files Browse the repository at this point in the history
  • Loading branch information
qctrlrobot committed Sep 20, 2023
1 parent 4b1583c commit 06eebdf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/on-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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;
'

0 comments on commit 06eebdf

Please sign in to comment.