mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-09-12 12:36:23 +00:00
5ebc570288
master added the common repository gate to the workflow and rewrote the riscv64 comment of packages-manifest.conf after this branch started. The workflow keeps both new prove lines. The two tests are unrelated. The riscv64 comment takes master's text. This branch said the x86 boot components are not built for riscv64; master then listed elilo-xcat, syslinux-xcat and xnba-undi in the cell, because a riscv64 management node serves the x86 nodes of a mixed cluster, so the branch sentence is no longer true. The last line keeps this branch's statement: the perl set is the EL10 one plus perl-HTML-Form. The pin itself merged without a conflict, and t/riscv64_perl_cell.t passes on the merged cell. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
65 lines
2.0 KiB
YAML
65 lines
2.0 KiB
YAML
name: Genesis OpenEmbedded packages
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
package-tests:
|
|
runs-on: ubuntu-24.04
|
|
env:
|
|
XCAT_GENESIS_CI: 1
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install build tools
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y --no-install-recommends \
|
|
apt-utils createrepo-c dpkg-dev gnupg \
|
|
libfile-slurper-perl \
|
|
libparallel-forkmanager-perl libperl-critic-perl rpm
|
|
|
|
- name: Run static checks
|
|
run: |
|
|
perl -c genesis-openembedded/build
|
|
perl -c genesis-openembedded/package
|
|
perl -c genesis-openembedded/verify-release
|
|
perl -Ilib -c lib/XCAT/BuildUtils.pm
|
|
perl -Ilib -c lib/XCAT/GenesisRelease.pm
|
|
perl -c mockbuild-all.pl
|
|
perl -c BuildUtils.pm
|
|
perl -c sbuild-all.pl
|
|
rpmspec -P \
|
|
-D 'genesis_arch x86_64' \
|
|
-D 'version 2.19.0' \
|
|
-D 'release snap202608210726' \
|
|
genesis-openembedded/rpm/xCAT-genesis-openembedded.spec >/dev/null
|
|
perlcritic \
|
|
genesis-openembedded/build \
|
|
genesis-openembedded/package \
|
|
genesis-openembedded/verify-release \
|
|
lib/XCAT/BuildUtils.pm \
|
|
lib/XCAT/GenesisRelease.pm \
|
|
mockbuild-all.pl \
|
|
t/build_utils.t \
|
|
t/common-repo-gate.t \
|
|
t/genesis_openembedded_release.t \
|
|
t/genesis_openembedded_consumer.t \
|
|
t/lib/XCAT/GenesisReleaseTest.pm
|
|
|
|
- name: Run package tests
|
|
run: |
|
|
prove -v t/build_utils.t
|
|
prove -v t/build_timeout.t
|
|
prove -v t/sbuild-all.t
|
|
prove -v -It/lib t/genesis_openembedded_release.t
|
|
sudo -E prove -v -It/lib t/genesis_openembedded_consumer.t
|
|
prove -v t/riscv64_perl_cell.t
|
|
sudo -E prove -v -It/lib t/common-repo-gate.t
|