Skip to content

Commit 7c153bb

Browse files
authored
fix: tailscale dns - another workaround (#157)
1 parent a1029df commit 7c153bb

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.github/workflows/deploy_helmfile.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,23 @@ jobs:
9191
deploy:
9292
runs-on: ubuntu-latest
9393
steps:
94+
- name: clone repository
95+
uses: actions/checkout@v4
96+
97+
- name: Tailscale VPN
98+
uses: tailscale/github-action@v2
99+
if: inputs.enableVpn == 'true'
100+
with:
101+
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
102+
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
103+
tags: tag:ci
104+
version: 1.76.1
105+
106+
# Bug https://github.com/tailscale/github-action/issues/107
107+
#- name: Tailscale sleep workaround
108+
# run: |
109+
# sleep 10
110+
94111
- name: Send notification to slack
95112
if: inputs.slackChannelId != ''
96113
uses: slackapi/[email protected]
@@ -131,9 +148,6 @@ jobs:
131148
]
132149
}
133150
134-
- name: clone repository
135-
uses: actions/checkout@v4
136-
137151
# There is no public action that would give us the abilities we need. Meaning:
138152
# - helmfile
139153
# - eksctl
@@ -187,20 +201,6 @@ jobs:
187201
- name: setup kubeconfig
188202
run: aws eks update-kubeconfig --name ${{ inputs.eksClusterName }} $OPTIONAL_PARAMS
189203

190-
- name: Tailscale VPN
191-
uses: tailscale/github-action@v2
192-
if: inputs.enableVpn == 'true'
193-
with:
194-
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
195-
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
196-
tags: tag:ci
197-
version: 1.76.1
198-
199-
# Bug https://github.com/tailscale/github-action/issues/107
200-
- name: Tailscale sleep workaround
201-
run: |
202-
sleep 10
203-
204204
- name: helmfile ${{ inputs.helmfileCommand }}
205205
run: |
206206
export $(echo ${{ inputs.envVariables }})

0 commit comments

Comments
 (0)