learning_ai_common_plat/.gitea/workflows/runner-smoke.yml
root 08186a88a6
All checks were successful
Gitea Runner Smoke Test / smoke (push) Successful in 8s
ci: use public Gitea URL in runner smoke test
2026-05-25 03:38:10 +00:00

30 lines
1017 B
YAML

name: Gitea Runner Smoke Test
on:
workflow_dispatch:
push:
branches: [runner/gitea-smoke]
jobs:
smoke:
runs-on: [ubuntu-latest, bytelyst, hostinger]
steps:
- name: Print runtime
run: |
echo "host=$(hostname) user=$(whoami)"
grep '^PRETTY_NAME=' /etc/os-release || true
- name: Node and npm
run: node --version && npm --version
- name: Install pinned pnpm
run: |
npm install -g pnpm@9.12.0
pnpm --version
- name: Check Gitea reachability from container
run: |
echo "Gitea health from runner container:"
curl -s -o /dev/null -w " via https://gitea.bytelyst.com -> %{http_code}\n" https://gitea.bytelyst.com/
curl -s https://gitea.bytelyst.com/api/v1/version | head -c 200; echo
- name: Confirm token is not mounted in smoke workflow
run: |
test ! -e /run/secrets/gitea_npm_token
echo "PASS: publish token is not mounted in smoke workflow"