-
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: advertise required tags when using oauth authkey (#402)
- Loading branch information
Showing
9 changed files
with
101 additions
and
45 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
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 |
---|---|---|
|
@@ -160,6 +160,35 @@ jobs: | |
env: | ||
TAILSCALE_CI_KEY: "${{ secrets.TAILSCALE_CI_KEY }}" | ||
|
||
molecule-state-oauth: | ||
name: "Test OAuth key support" | ||
runs-on: ubuntu-22.04 | ||
environment: E2E | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- name: Install dependency manager | ||
run: pipx install poetry | ||
|
||
- name: Set up Python 3.x | ||
id: setup-python | ||
uses: actions/[email protected] | ||
with: | ||
python-version-file: pyproject.toml | ||
cache: 'poetry' | ||
|
||
- name: Install packages | ||
run: poetry install --no-interaction | ||
|
||
- name: Molecule - State Present | ||
run: poetry run molecule test --scenario-name oauth | ||
env: | ||
# Note the use of the oauth client secret | ||
TAILSCALE_CI_KEY: "${{ secrets.TAILSCALE_OAUTH_CLIENT_SECRET }}" | ||
|
||
molecule-headscale: | ||
name: "Test Headscale Compatibility" | ||
runs-on: ubuntu-22.04 | ||
|
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
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -10,3 +10,4 @@ | |
name: artis3n.tailscale | ||
vars: | ||
verbose: true | ||
tailscale_oauth_tags: "tag:ci-worker" |
This file was deleted.
Oops, something went wrong.
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