commit: 3ceb12adef2cda1d3cb6c9516ac13cd4ff5165c5
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 3 15:31:00 2026 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 3 15:41:10 2026 +0000
URL:
https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=3ceb12ad
ci: run gentoo-regen in gentoo container image
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
.github/workflows/test.yml | 27 ++++++++-------------------
1 file changed, 8 insertions(+), 19 deletions(-)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 7c91875c..d9df56ee 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -29,6 +29,8 @@ jobs:
args: "format --check --diff"
gentoo-regen:
+ container:
+ image: docker.io/gentoo/stage3:latest
runs-on: ubuntu-latest
continue-on-error: true # This job currently fails with ubuntu's bash 5.3
steps:
@@ -38,31 +40,18 @@ jobs:
artifact-id: ${{ inputs.release-artifact-id }}
path: pkgcore
- - name: Install bash 5.3
- uses: pkgcore/gh-actions/bash-5.3@main
-
- name: Checkout gentoo
uses: actions/checkout@v4
with:
repository: gentoo/gentoo
- path: gentoo
-
- - name: Collect gentoo sha1
- run: |
- rev=$(git --git-dir gentoo/.git/ rev-parse HEAD)
- echo "sha1 is $rev"
- echo "GENTOO_SHA1=${rev}" >> "$GITHUB_ENV"
+ path: /var/db/repos/gentoo
- - name: Set up Python 3.13
- uses: actions/setup-python@v5
- with:
- python-version: '3.13'
+ - name: Install dev-python/pip
+ run: emerge -1 dev-python/pip
- name: Install pip dependencies
- run: |
- python -m pip install --upgrade pip
- pip install "./pkgcore"
+ run: pip install "./pkgcore"
- - name: Run pmaint regen against ${{ env.GENTOO_SHA1 }}
- working-directory: ./gentoo
+ - name: Run pmaint regen
+ working-directory: /var/db/repos/gentoo
run: pmaint regen --use-local-desc --pkg-desc-index --rsync --force .