-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: tailscale dns - another workaround
- Loading branch information
1 parent
a1029df
commit f15c1ea
Showing
1 changed file
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,6 +91,23 @@ jobs: | |
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: clone repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Tailscale VPN | ||
uses: tailscale/github-action@v2 | ||
if: inputs.enableVpn == 'true' | ||
with: | ||
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }} | ||
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} | ||
tags: tag:ci | ||
version: 1.76.1 | ||
|
||
# Bug https://github.com/tailscale/github-action/issues/107 | ||
#- name: Tailscale sleep workaround | ||
# run: | | ||
# sleep 10 | ||
|
||
- name: Send notification to slack | ||
if: inputs.slackChannelId != '' | ||
uses: slackapi/[email protected] | ||
|
@@ -131,9 +148,6 @@ jobs: | |
] | ||
} | ||
- name: clone repository | ||
uses: actions/checkout@v4 | ||
|
||
# There is no public action that would give us the abilities we need. Meaning: | ||
# - helmfile | ||
# - eksctl | ||
|
@@ -187,20 +201,6 @@ jobs: | |
- name: setup kubeconfig | ||
run: aws eks update-kubeconfig --name ${{ inputs.eksClusterName }} $OPTIONAL_PARAMS | ||
|
||
- name: Tailscale VPN | ||
uses: tailscale/github-action@v2 | ||
if: inputs.enableVpn == 'true' | ||
with: | ||
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }} | ||
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} | ||
tags: tag:ci | ||
version: 1.76.1 | ||
|
||
# Bug https://github.com/tailscale/github-action/issues/107 | ||
- name: Tailscale sleep workaround | ||
run: | | ||
sleep 10 | ||
- name: helmfile ${{ inputs.helmfileCommand }} | ||
run: | | ||
export $(echo ${{ inputs.envVariables }}) | ||
|