From 8c999e283818c7132eed96a141fddfb495bc5d30 Mon Sep 17 00:00:00 2001 From: Jose Henrique Date: Mon, 13 Jul 2026 21:23:13 -0300 Subject: [PATCH] testing on the new images! --- .gitea/workflows/test-build.yaml | 21 +++++++++++++++------ AGENTS.md | 6 +++--- README.md | 9 +++++---- 3 files changed, 23 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/test-build.yaml b/.gitea/workflows/test-build.yaml index 005fbc2..80990b9 100644 --- a/.gitea/workflows/test-build.yaml +++ b/.gitea/workflows/test-build.yaml @@ -18,8 +18,11 @@ env: jobs: test-build-push: - name: Build tiny multi-arch image - runs-on: ubuntu-amd64 + name: Build tiny multi-arch image (${{ matrix.runner }}) + runs-on: ${{ matrix.runner }} + strategy: + matrix: + runner: [runner-full-amd64, runner-full-arm64] steps: - name: Check out repository uses: actions/checkout@v4 @@ -58,8 +61,11 @@ jobs: echo "self-test PASSED: multi-arch image built and pushed" test-k8s: - name: Test Kubernetes actions - runs-on: ubuntu-amd64 + name: Test Kubernetes actions (${{ matrix.runner }}) + runs-on: ${{ matrix.runner }} + strategy: + matrix: + runner: [runner-full-amd64, runner-full-arm64] steps: - name: Check out repository uses: actions/checkout@v4 @@ -97,8 +103,11 @@ jobs: fi test-ssh: - name: Test SSH deploy action - runs-on: ubuntu-amd64 + name: Test SSH deploy action (${{ matrix.runner }}) + runs-on: ${{ matrix.runner }} + strategy: + matrix: + runner: [runner-full-amd64, runner-full-arm64] steps: - name: Check out repository uses: actions/checkout@v4 diff --git a/AGENTS.md b/AGENTS.md index 366c1de..b3c69e4 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -80,7 +80,7 @@ env: jobs: build: name: Build Image - runs-on: ubuntu-amd64 + runs-on: runner-slim-amd64 steps: - uses: actions/checkout@v4 - uses: https://git.ivanch.me/ivanch/pipeline-actions/build-and-push@main @@ -91,7 +91,7 @@ jobs: deploy: name: Deploy (internal) - runs-on: ubuntu-amd64 + runs-on: runner-slim-amd64 needs: build steps: # Deployment specs live in the repo; apply them with kubectl-apply. @@ -126,7 +126,7 @@ Consumer projects must set these secrets in Gitea repo settings (Settings → Ac - Pin composite action refs to `@main` until version tags are created. - Every job **must** have a `name:` field (e.g. `name: Build Image`, `name: Deploy (internal)`). Unnamed jobs render as their raw ID (`build`, `deploy`, …) in the Gitea Actions UI and run logs. The workflow template above includes `name:` on every job — copy it as-is. - Always use the full URL `https://git.ivanch.me/ivanch/pipeline-actions/@main` for `uses:` — Gitea cannot resolve the bare GitHub-style `ivanch/pipeline-actions/...` path. -- Always use `runs-on: ubuntu-amd64` (homelab Gitea runner label). +- Default to `runs-on: runner-slim-amd64` (or `runner-slim-arm64`) as the default runner label. If further development/build binaries are required (or an Ubuntu-based environment is needed), use `runner-full-amd64` (or `runner-full-arm64`). - Always build `linux/amd64,linux/arm64` — the cluster has mixed arch (iris+vega=amd64, nebula+nexus=arm64). - Workflow files go in `.gitea/workflows/main.yaml` of the consuming project. - The consuming project must have a working `Dockerfile` at the repo root (or pass `build_dockerfile` input). diff --git a/README.md b/README.md index 18b13aa..4528059 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Builds and pushes a multi-architecture Docker image using a remote Buildx builde jobs: build: name: Build Image - runs-on: ubuntu-amd64 + runs-on: runner-slim-amd64 steps: - uses: actions/checkout@v4 - uses: https://git.ivanch.me/ivanch/pipeline-actions/build-and-push@main @@ -60,7 +60,7 @@ Validates a kubeconfig, installs kubectl, and applies Kubernetes manifest(s) tha jobs: deploy: name: Apply Manifests (internal) - runs-on: ubuntu-amd64 + runs-on: runner-slim-amd64 needs: build steps: - uses: https://git.ivanch.me/ivanch/pipeline-actions/kubectl-apply@main @@ -87,7 +87,7 @@ jobs: jobs: restart: name: Rollout Restart (internal) - runs-on: ubuntu-amd64 + runs-on: runner-slim-amd64 needs: apply steps: - uses: https://git.ivanch.me/ivanch/pipeline-actions/deploy-restart@main @@ -109,7 +109,7 @@ SSH into a remote host and run `docker compose pull` + `docker compose up -d --f jobs: deploy: name: SSH Deploy (internal) - runs-on: ubuntu-amd64 + runs-on: runner-slim-amd64 needs: build steps: - uses: https://git.ivanch.me/ivanch/pipeline-actions/ssh-deploy@main @@ -141,6 +141,7 @@ jobs: ## Rules - Every job **must** have a `name:` field (e.g. `name: Build Image`, `name: Deploy (internal)`). Named jobs make the Gitea Actions UI and run logs readable — unnamed jobs show up as the raw job ID (`build`, `deploy`, …). The templates above all include `name:`. +- Default to `runs-on: runner-slim-amd64` (or `runner-slim-arm64`) as the default runner label. If further development/build binaries are required (or an Ubuntu-based environment is needed), use `runner-full-amd64` (or `runner-full-arm64`). - Pin composite action refs to `@main` until version tags are created. Consumer repositories need these secrets configured in Gitea: