Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,5 @@ jobs:
./ci docker run qctrl/ci-images:google-cloud-sdk-ci sh -- -c '
. ./.aws-credentials;
aws eks update-kubeconfig --alias hidden --name platform-dev2 --region us-east-1;
kubectl -n qctrl-platform set image deployment/python-open-controls-docs python-open-controls-docs=qctrl/python-open-controls-docs:$COMMIT;
kubectl -n qctrl-platform set image deployment/python-open-controls-docs python-open-controls-docs=qctrl/python-open-controls-docs:$COMMIT && kubectl -n qctrl-platform rollout status deployment/python-open-controls-docs;
'
11 changes: 6 additions & 5 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ jobs:
- name: Update Sphinx deployment in Kubernetes (Production)
run: |
./ci vault login -r ${{ secrets.VAULT_ROLE_ID }} -s ${{ secrets.VAULT_SECRET_ID }}
./ci vault gcpKey -t $(cat .token) --proj q-ctrl-documentation -r docs -o ./gcloud-service-key.json
gcloud auth activate-service-account --key-file=./gcloud-service-key.json
gcloud config set project q-ctrl-documentation
gcloud container clusters get-credentials docs-production --zone us-central1-c
kubectl -n docs rollout restart deployment/python-open-controls-docs
./ci vault awsKey -t $(cat .token) -r deploy-eks-prod -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-prod --region us-west-2;
kubectl -n qctrl-platform rollout restart deployment/python-open-controls-docs && kubectl -n qctrl-platform rollout status deployment/python-open-controls-docs;
'