Skip to content

Commit 0251e6b

Browse files
authored
Add RANE SOT auth to default compat workflow (#21797)
* try auth RANE SOT * drop the body
1 parent 6fdaebb commit 0251e6b

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/devenv-compat.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,25 @@ jobs:
160160
tar -xzf ctf.tar.gz
161161
mv ctf bin/ctf
162162
chmod +x bin/ctf
163+
164+
- name: Connect to Tailscale
165+
uses: tailscale/github-action@306e68a486fd2350f2bfc3b19fcd143891a4a2d8 # v4.1.2
166+
with:
167+
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID_RANE_SOT }}
168+
audience: ${{ secrets.TS_AUDIENCE_RANE_SOT }}
169+
tags: tag:chainlink-gha
170+
171+
- name: Test Service Connectivity
172+
env:
173+
SERVICE_URL: ${{ secrets.RANE_SOT_URL_SNAPSHOT_V1 }}
174+
run: |
175+
# just test we are returning some JSON body
176+
if curl -s "${SERVICE_URL}" | jq empty 2>/dev/null; then
177+
echo "Service is accessible via Tailscale"
178+
else
179+
echo "Failed to reach SOT data source: ${SERVICE_URL}"
180+
fi
181+
163182
- name: Run compat test
164183
working-directory: ${{ env.WORKING_DIR }}
165184
shell: bash

0 commit comments

Comments
 (0)