From 60132ce39e62f265320a4663a3766bbe28ba4411 Mon Sep 17 00:00:00 2001 From: Nic Boet Date: Mon, 16 Sep 2024 18:08:42 -0500 Subject: [PATCH] adjust github workflows Signed-off-by: Nic Boet --- .github/workflows/pkgcheck.yml | 2 +- .github/workflows/repoman.yml | 94 +++++----------------------------- 2 files changed, 14 insertions(+), 82 deletions(-) diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml index c000999..cb0ac92 100644 --- a/.github/workflows/pkgcheck.yml +++ b/.github/workflows/pkgcheck.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Python 3.10 breaks pkhcheck, point at my fork which uses 3.9 vs 3.x - name: Run pkgcheck diff --git a/.github/workflows/repoman.yml b/.github/workflows/repoman.yml index 63612c5..3864da3 100644 --- a/.github/workflows/repoman.yml +++ b/.github/workflows/repoman.yml @@ -27,93 +27,25 @@ jobs: # Feel free to double up more of these if needed, or uncomment # architectures. profile: - # - default/linux/alpha/17.0 - # - default/linux/alpha/17.0/desktop - # - default/linux/alpha/17.0/desktop/gnome - # - default/linux/alpha/17.0/desktop/gnome/systemd - # - default/linux/alpha/17.0/developer - - default/linux/amd64/17.1 default/linux/amd64/17.1/selinux - - default/linux/amd64/17.1/hardened default/linux/amd64/17.1/hardened/selinux - - default/linux/amd64/17.1/desktop - # - default/linux/amd64/17.1/desktop/gnome - # - default/linux/amd64/17.1/desktop/gnome/systemd - # - default/linux/amd64/17.1/desktop/plasma - # - default/linux/amd64/17.1/desktop/plasma/systemd - # - default/linux/amd64/17.1/developer - # - default/linux/amd64/17.1/no-multilib - # - default/linux/amd64/17.1/no-multilib/hardened - # - default/linux/amd64/17.1/no-multilib/hardened/selinux - # - default/linux/amd64/17.1/systemd - # - default/linux/arm/17.0 - # - default/linux/arm64/17.0 - # - default/linux/arm64/17.0/desktop - # - default/linux/arm64/17.0/desktop/gnome - # - default/linux/arm64/17.0/desktop/gnome/systemd - # - default/linux/arm64/17.0/desktop/plasma - # - default/linux/arm64/17.0/desktop/plasma/systemd - # - default/linux/arm64/17.0/desktop/systemd - # - default/linux/arm64/17.0/developer - # - default/linux/arm64/17.0/systemd - # - default/linux/hppa/17.0 - # - default/linux/hppa/17.0/desktop - # - default/linux/hppa/17.0/developer - # - default/linux/ia64/17.0 - # - default/linux/ia64/17.0/desktop - # - default/linux/ia64/17.0/desktop/gnome - # - default/linux/ia64/17.0/desktop/gnome/systemd - # - default/linux/ia64/17.0/developer - # - default/linux/powerpc/ppc32/17.0 - # - default/linux/powerpc/ppc32/17.0/desktop - # - default/linux/powerpc/ppc32/17.0/desktop/gnome - # - default/linux/powerpc/ppc32/17.0/desktop/gnome/systemd - # - default/linux/powerpc/ppc32/17.0/developer - # - default/linux/powerpc/ppc64/17.0/32bit-userland - # - default/linux/powerpc/ppc64/17.0/32bit-userland/desktop - # - default/linux/powerpc/ppc64/17.0/32bit-userland/desktop/gnome - # - default/linux/powerpc/ppc64/17.0/32bit-userland/desktop/gnome/systemd - # - default/linux/powerpc/ppc64/17.0/32bit-userland/developer - # - default/linux/powerpc/ppc64/17.0/64bit-userland - # - default/linux/powerpc/ppc64/17.0/64bit-userland/desktop - # - default/linux/powerpc/ppc64/17.0/64bit-userland/desktop/gnome - # - default/linux/powerpc/ppc64/17.0/64bit-userland/desktop/gnome/systemd - # - default/linux/powerpc/ppc64/17.0/64bit-userland/developer - # - default/linux/powerpc/ppc64/17.0/64bit-userland/little-endian - # - default/linux/powerpc/ppc64/17.0/64bit-userland/little-endian/systemd - # - default/linux/ppc64le/17.0 - # - default/linux/ppc64le/17.0/desktop - # - default/linux/ppc64le/17.0/systemd - # - default/linux/ppc64le/17.0/developer - # - default/linux/riscv/17.0/rv64gc/lp64d - # - default/linux/riscv/17.0/rv64gc/lp64d/systemd - # - default/linux/riscv/17.0/rv64gc/lp64 - # - default/linux/riscv/17.0/rv64gc/lp64/systemd - # - default/linux/sparc/17.0 - # - default/linux/sparc/17.0/desktop - # - default/linux/sparc/17.0/developer - # - default/linux/sparc/17.0/systemd - # - default/linux/sparc/17.0/64ul - # - default/linux/sparc/17.0/64ul/desktop - # - default/linux/sparc/17.0/64ul/developer - # - default/linux/sparc/17.0/64ul/systemd - # - default/linux/x86/17.0 - # - default/linux/x86/17.0/selinux default/linux/x86/17.0/hardened - # - default/linux/x86/17.0/hardened/selinux default/linux/x86/17.0/desktop - # - default/linux/x86/17.0/desktop/gnome default/linux/x86/17.0/desktop/gnome/systemd - # - default/linux/x86/17.0/desktop/plasma default/linux/x86/17.0/desktop/plasma/systemd - # - default/linux/x86/17.0/developer default/linux/x86/17.0/systemd + # - default/linux/amd64/17.1 default/linux/amd64/17.1/selinux + # - default/linux/amd64/17.1/hardened default/linux/amd64/17.1/hardened/selinux + # - default/linux/amd64/17.1/desktop + - default/linux/amd64/23.0/split-usr + - default/linux/amd64/23.0/split-usr/desktop + - default/linux/amd64/23.0/split-usr/hardened default/linux/amd64/23.0/split-usr/hardened/selinux env: PROFILE: ${{ matrix.profile }} steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.9 - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - name: Set up Python 3.11 + uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.11 - name: Setup repoman run: | python -m pip install --upgrade pip pip install lxml pyyaml - wget -qO - "https://github.com/gentoo/portage/archive/portage-3.0.23.tar.gz" | tar xz + wget -qO - "https://github.com/gentoo/portage/archive/portage-3.0.30.tar.gz" | tar xz sudo groupadd -g 250 portage sudo useradd -g portage -d /var/tmp/portage -s /bin/false -u 250 portage - name: Setup master gentoo repository @@ -122,7 +54,7 @@ jobs: wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | sudo tar xz -C /var/db/repos/gentoo --strip-components=1 sudo wget "https://www.gentoo.org/dtd/metadata.dtd" -O /var/cache/distfiles/metadata.dtd sudo wget "https://gitweb.gentoo.org/proj/portage.git/plain/cnf/repos.conf" -O /etc/portage/repos.conf - sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.0 /etc/portage/make.profile + sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/23.0 /etc/portage/make.profile - name: Test with repoman run: | - python3 portage-portage-3.0.23/repoman/bin/repoman full -dx --jobs=$(nproc) --include-profiles="${PROFILE}" + python3 portage-portage-3.0.30/repoman/bin/repoman full -dx --jobs=$(nproc) --include-profiles="${PROFILE}"