239164ae06
rpmbuilder moves to GitHub (IUCLabs/rpmbuilder); it needs Actions workflows that reproduce the Woodpecker build and publish, while Woodpecker keeps running until cutover. - `publish.yml` builds each distro (el9, f42-f44) on `iuclabs-build` via the rpmbuilder image on dind; PRs build only - Pushes to `main` mint an artifactapi-writer token via Vault JWT (`rpmbuilder_publish`) per job and PUT missing RPMs to `rpm-vendor-*` - `ci.yml` runs shared pre-commit and actions lint; adds CODEOWNERS, actionlint and zizmor config - The pytest hook calls `uv` directly, as the runners have no `make` Reviewed-on: #190 Co-authored-by: unkin-agent <unkin-agent@unkin.net> Co-committed-by: unkin-agent <unkin-agent@unkin.net>
29 lines
524 B
YAML
29 lines
524 B
YAML
name: ci
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
|
|
permissions: {}
|
|
|
|
concurrency:
|
|
group: ci-${{ github.ref }}
|
|
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
|
|
jobs:
|
|
ci:
|
|
uses: IUCLabs/workflows/.github/workflows/pre-commit.yml@v0.1.1
|
|
permissions:
|
|
contents: read
|
|
with:
|
|
runs_on: iuclabs-k8s
|
|
python_version: "3.11"
|
|
|
|
actions:
|
|
uses: IUCLabs/workflows/.github/workflows/actions.yml@v0.1.1
|
|
permissions:
|
|
contents: read
|
|
with:
|
|
runs_on: ubuntu-latest
|