Skip to content

Commit

Permalink
feat: Wait until Tailscale is ready in the deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fnesveda committed Dec 2, 2024
1 parent b3f3357 commit bc2ed82
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy_helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,14 @@ jobs:
- name: setup kubeconfig
run: aws eks update-kubeconfig --name ${{ inputs.eksClusterName }} $OPTIONAL_PARAMS

- name: wait until Tailscale is ready
if: inputs.enableVpn == 'true'
run: |
for i in {1..20}; do
kubectl cluster-info --request-timeout 3 && break
echo "Waiting for Tailscale to be ready..."
done
- name: helmfile ${{ inputs.helmfileCommand }}
run: |
export $(echo ${{ inputs.envVariables }})
Expand Down

0 comments on commit bc2ed82

Please sign in to comment.