dev-util/gitea-runner: new package at 1.0.4
CI / build (push) Failing after 3m20s

Initial azy5030 overlay: scaffolding (eselect repository), the
dev-util/gitea-runner ebuild (go-module, vendored), CI build validation,
and a daily upstream-bump workflow.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ali
2026-05-20 19:36:58 -05:00
commit 3603b34ba0
13 changed files with 319 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
name: Bump
on:
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
bump:
runs-on: ubuntu-latest
container:
image: gentoo/stage3:amd64-openrc
steps:
- name: Sync ::gentoo
run: emerge-webrsync
- name: Configure portage + install tooling
run: |
printf '[DEFAULT]\nmain-repo = gentoo\n\n[gentoo]\nlocation = /var/db/repos/gentoo\n' \
> /etc/portage/repos.conf/gentoo.conf
sed -i 's/^verify-signature = true/verify-signature = false/' \
/etc/portage/binrepos.conf/gentoo.conf
emerge -q --getbinpkg \
dev-vcs/git net-misc/curl app-arch/xz-utils app-misc/jq \
dev-lang/go dev-util/pkgdev
- name: Check for new release and open PR
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
run: |
host=${GITHUB_SERVER_URL#http://}; host=${host#https://}
curl -fsSL "http://x-access-token:${GITEA_TOKEN}@${host}/${GITHUB_REPOSITORY}/raw/branch/master/scripts/bump-version.sh" \
-o /tmp/bump-version.sh
bash /tmp/bump-version.sh
+58
View File
@@ -0,0 +1,58 @@
name: CI
on: [push]
jobs:
build:
# The label only schedules the job on the (Docker-backend) runner; the steps
# actually run inside the Gentoo container declared below.
runs-on: ubuntu-latest
container:
image: gentoo/stage3:amd64-openrc
steps:
# Bootstrap a portage tree (emerge-webrsync ships its own downloader).
- name: Sync ::gentoo
run: emerge-webrsync
# pkgcore (pkgcheck) only reads /etc/portage/repos.conf, and the binhost
# needs the Gentoo release keys we don't ship — disable binpkg signature
# verification (ephemeral CI container) so prebuilt deps like dev-lang/go
# can be pulled instead of compiled.
- name: Configure portage
run: |
printf '[DEFAULT]\nmain-repo = gentoo\n\n[gentoo]\nlocation = /var/db/repos/gentoo\n' \
> /etc/portage/repos.conf/gentoo.conf
sed -i 's/^verify-signature = true/verify-signature = false/' \
/etc/portage/binrepos.conf/gentoo.conf
emerge -q --getbinpkg net-misc/curl dev-util/pkgcheck
# Place this overlay at /var/db/repos/azy5030. actions/checkout is avoided
# (SHA-256 Gitea repos break it); curl + tar fetches the source archive.
- name: Check out overlay
env:
TOKEN: ${{ github.token }}
run: |
host=${GITHUB_SERVER_URL#http://}; host=${host#https://}
url="http://x-access-token:${TOKEN}@${host}/${GITHUB_REPOSITORY}/archive/${GITHUB_REF_NAME}.tar.gz"
curl -fsSL "$url" -o repo.tar.gz
mkdir -p /var/db/repos/azy5030
tar xzf repo.tar.gz -C /var/db/repos/azy5030 --strip-components=1
printf '[azy5030]\nlocation = /var/db/repos/azy5030\nmasters = gentoo\nauto-sync = false\n' \
> /etc/portage/repos.conf/azy5030.conf
mkdir -p /etc/portage/package.accept_keywords
echo 'dev-util/gitea-runner ~amd64' > /etc/portage/package.accept_keywords/gitea-runner
- name: QA scan
run: pkgcheck scan --repo /var/db/repos/azy5030 dev-util/gitea-runner
# Full source build: portage fetches the upstream source tarball and the
# vendor tarball (release asset), verifies them against the committed
# Manifest, then compiles offline from the vendored modules.
- name: Emerge gitea-runner
run: emerge -v --getbinpkg dev-util/gitea-runner
- name: Verify binary
run: |
ver=$(find /var/db/repos/azy5030/dev-util/gitea-runner -name 'gitea-runner-*.ebuild' \
| sed -E 's#.*/gitea-runner-(.*)\.ebuild#\1#' | sort -V | tail -1)
gitea-runner --version
gitea-runner --version | grep -q "v${ver}"