Skip to content

Commit

Permalink
Merge pull request #552 from freelawproject/feat-workflow-sync-env-vars
Browse files Browse the repository at this point in the history
  • Loading branch information
mlissner authored Jun 28, 2024
2 parents 2315f76 + 375d8dd commit e661dee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/bulid-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:
aws-region: ${{ env.AWS_REGION }}
- name: Create Kubeconfig with AWS CLI
run: aws eks update-kubeconfig --region ${{ env.AWS_REGION }} --name ${{ env.EKS_CLUSTER_NAME }}
- name: Update Environment Variables
env:
BOTS_ENV: bots-env
run: kubectl annotate es $BOTS_ENV force-sync=$(date +%s) --overwrite -n ${{ env.EKS_NAMESPACE }} && kubectl wait es -n ${{ env.EKS_NAMESPACE }} --for=jsonpath="{.status.conditions[?(@.reason=='SecretSynced')].status}"=True --timeout=30s $BOTS_ENV
- name: Collect static assets and check unapplied migration exit code
id: checkMigration
# Do big complicated thing to get secrets into the image.
Expand Down

0 comments on commit e661dee

Please sign in to comment.