Skip to content

Commit 7fc5763

Browse files
committed
WIP
Signed-off-by: Percy Wegmann <[email protected]>
1 parent dea278b commit 7fc5763

File tree

1 file changed

+93
-76
lines changed

1 file changed

+93
-76
lines changed

.github/workflows/test.yml

Lines changed: 93 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -27,88 +27,95 @@ jobs:
2727
ping: 100.99.0.2,lax-pve.pineapplefish.ts.net,lax-pve
2828
credential-type: oauth
2929

30-
# Try unstable too
31-
- os: ubuntu-latest
32-
runner-os: Linux
33-
arch: amd64
34-
version: unstable
35-
credential-type: oauth
36-
37-
# Try a pinned version
38-
- os: ubuntu-latest
30+
# Linux tests (Older Ubuntu)
31+
- os: ubuntu-22.04
3932
runner-os: Linux
4033
arch: amd64
41-
credential-type: oauth
42-
# leave version blank to fall back to default
43-
44-
# Linux tests (ARM64)
45-
- os: ubuntu-24.04-arm
46-
runner-os: Linux
47-
arch: arm64
48-
version: latest
49-
credential-type: oauth
50-
51-
# Windows tests (AMD64)
52-
- os: windows-latest
53-
runner-os: Windows
54-
arch: amd64
55-
version: latest
56-
ping: 100.99.0.2,lax-pve.pineapplefish.ts.net,lax-pve
57-
credential-type: oauth
58-
59-
# Windows tests (ARM64)
60-
- os: windows-11-arm
61-
runner-os: Windows
62-
arch: arm64
63-
version: latest
64-
credential-type: oauth
65-
66-
# macOS 13 (AMD64)
67-
- os: macos-13
68-
runner-os: macOS
69-
arch: amd64
7034
version: latest
7135
ping: 100.99.0.2,lax-pve.pineapplefish.ts.net,lax-pve
7236
credential-type: oauth
7337

74-
# macOS 14 (ARM)
75-
- os: macos-14
76-
runner-os: macOS
77-
arch: arm64
78-
version: latest
79-
ping: 100.99.0.2,lax-pve.pineapplefish.ts.net,lax-pve
80-
credential-type: oauth
81-
82-
# macOS latest (ARM)
83-
- os: macos-latest
84-
runner-os: macOS
85-
arch: arm64
86-
version: latest
87-
ping: 100.99.0.2,lax-pve.pineapplefish.ts.net,lax-pve
88-
credential-type: oauth
89-
90-
# Try workload identity for each platform
91-
- os: macos-latest
92-
runner-os: macOS
93-
arch: amd64
94-
version: latest
95-
ping: 100.99.0.2,lax-pve.pineapplefish.ts.net,lax-pve
96-
credential-type: workload-identity
97-
98-
- os: windows-latest
99-
runner-os: Windows
100-
arch: amd64
101-
ping: 100.99.0.2,lax-pve.pineapplefish.ts.net,lax-pve
102-
credential-type: workload-identity
103-
# leave version blank to fall back to default
104-
105-
# Try adding in an unstable
106-
- os: ubuntu-latest
107-
runner-os: Linux
108-
arch: amd64
109-
version: unstable
110-
credential-type: workload-identity
111-
38+
# # Try unstable too
39+
# - os: ubuntu-latest
40+
# runner-os: Linux
41+
# arch: amd64
42+
# version: unstable
43+
# credential-type: oauth
44+
45+
# # Try a pinned version
46+
# - os: ubuntu-latest
47+
# runner-os: Linux
48+
# arch: amd64
49+
# credential-type: oauth
50+
# # leave version blank to fall back to default
51+
52+
# # Linux tests (ARM64)
53+
# - os: ubuntu-24.04-arm
54+
# runner-os: Linux
55+
# arch: arm64
56+
# version: latest
57+
# credential-type: oauth
58+
59+
# # Windows tests (AMD64)
60+
# - os: windows-latest
61+
# runner-os: Windows
62+
# arch: amd64
63+
# version: latest
64+
# ping: 100.99.0.2,lax-pve.pineapplefish.ts.net,lax-pve
65+
# credential-type: oauth
66+
67+
# # Windows tests (ARM64)
68+
# - os: windows-11-arm
69+
# runner-os: Windows
70+
# arch: arm64
71+
# version: latest
72+
# credential-type: oauth
73+
74+
# # macOS 13 (AMD64)
75+
# - os: macos-13
76+
# runner-os: macOS
77+
# arch: amd64
78+
# version: latest
79+
# ping: 100.99.0.2,lax-pve.pineapplefish.ts.net,lax-pve
80+
# credential-type: oauth
81+
82+
# # macOS 14 (ARM)
83+
# - os: macos-14
84+
# runner-os: macOS
85+
# arch: arm64
86+
# version: latest
87+
# ping: 100.99.0.2,lax-pve.pineapplefish.ts.net,lax-pve
88+
# credential-type: oauth
89+
90+
# # macOS latest (ARM)
91+
# - os: macos-latest
92+
# runner-os: macOS
93+
# arch: arm64
94+
# version: latest
95+
# ping: 100.99.0.2,lax-pve.pineapplefish.ts.net,lax-pve
96+
# credential-type: oauth
97+
98+
# # Try workload identity for each platform
99+
# - os: macos-latest
100+
# runner-os: macOS
101+
# arch: amd64
102+
# version: latest
103+
# ping: 100.99.0.2,lax-pve.pineapplefish.ts.net,lax-pve
104+
# credential-type: workload-identity
105+
106+
# - os: windows-latest
107+
# runner-os: Windows
108+
# arch: amd64
109+
# ping: 100.99.0.2,lax-pve.pineapplefish.ts.net,lax-pve
110+
# credential-type: workload-identity
111+
# # leave version blank to fall back to default
112+
113+
# # Try adding in an unstable
114+
# - os: ubuntu-latest
115+
# runner-os: Linux
116+
# arch: amd64
117+
# version: unstable
118+
# credential-type: workload-identity
112119

113120
runs-on: ${{ matrix.os }}
114121

@@ -128,6 +135,11 @@ jobs:
128135
- name: Build Action
129136
run: npm run build
130137

138+
- name: list resolver configuration (before)
139+
run: ls /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
140+
- name: check resolver status (before)
141+
run: resolvectl status
142+
131143
# Test with OAuth authentication
132144
- name: Test Action
133145
id: tailscale-oauth
@@ -150,6 +162,11 @@ jobs:
150162
- name: Look up unqualified name
151163
run: nslookup lax-pve
152164

165+
- name: list resolver configuration (after)
166+
run: ls /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
167+
- name: check resolver status (after)
168+
run: resolvectl status
169+
153170
# Test Tailscale status command
154171
- name: Check Tailscale Status
155172
if: steps.tailscale-oauth.outcome == 'success'

0 commit comments

Comments
 (0)