blumeops/.forgejo/workflows/test.yaml
Erich Blume bcdee225e5
Some checks failed
Test CI / test (pull_request) Failing after 1s
Replace k8s runner with ci-base image for local builds
- Remove forgejo-runner k8s manifests and ArgoCD app (runner now on indri)
- Remove build-runner workflow (no longer needed)
- Add ci-base image with Ubuntu 22.04 + common CI tools
- Add build-ci-base workflow to build the image
- Update test workflow to check docker instead of buildah
- Document bootstrap vs production mode for runner labels
- Configure host.docker.internal:5050 for zot access from job containers

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 09:23:24 -08:00

44 lines
1.2 KiB
YAML

name: Test CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Verify tools
run: |
echo "=== Node.js ==="
node --version || echo "Node.js not available"
npm --version || echo "npm not available"
echo ""
echo "=== Git ==="
git --version
echo ""
echo "=== Build tools ==="
make --version 2>&1 | head -1 || echo "make not available"
gcc --version 2>&1 | head -1 || echo "gcc not available"
echo ""
echo "=== Container tools (Docker) ==="
docker --version || echo "Docker CLI not available"
echo ""
echo "=== Other tools ==="
curl --version 2>&1 | head -1 || echo "curl not available"
jq --version || echo "jq not available"
- name: Show repo info
run: |
echo "Repository: ${{ github.repository }}"
echo "Event: ${{ github.event_name }}"
echo "Ref: ${{ github.ref }}"
echo "Branch: ${{ github.ref_name }}"
echo ""
echo "=== Files ==="
ls -la