Skip to content

Commit

Permalink
Wait for notion workers rollout + don't start on legacy workers (#3954)
Browse files Browse the repository at this point in the history
  • Loading branch information
flvndvd authored Feb 27, 2024
1 parent ada0942 commit f3fd92d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-connectors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@ jobs:
kubectl rollout status deployment/connectors-deployment --timeout=10m
echo "Waiting for rollout to complete (worker)"
kubectl rollout status deployment/connectors-worker-deployment --timeout=10m
echo "Waiting for rollout to complete (notion worker)"
kubectl rollout status deployment/connectors-worker-notion-deployment --timeout=10m
6 changes: 6 additions & 0 deletions k8s/deployments/connectors-worker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ spec:
- name: web
image: gcr.io/or1g1n-186209/connectors-image:latest
command: ["npm", "run", "start:worker"]
args:
[
"--",
"--workers",
"confluence github google_drive intercom slack webcrawler",
]
imagePullPolicy: Always
envFrom:
- configMapRef:
Expand Down

0 comments on commit f3fd92d

Please sign in to comment.