2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-09-04 12:07:56 +00:00
Commit Graph

28 Commits

Author SHA1 Message Date
Daniel Hilst da282043be fix(build): run buildrpms.pl in a sandbox and install its fork manager in CI
buildrpms_source_only.t's CLI half failed in CI: the runner has no
Parallel::ForkManager, so buildrpms.pl aborted at compile time and never
reached the option check the test is about. The module is needed only by
the test suite -- buildrpms.pl is not a runtime dependency of any package
-- so it goes in the workflow apt list.

The same half also escaped its scratch tree. Before buildrpms.pl looks at
@ARGV it rewrites the tracked Gitinfo in its working directory and creates
$HOME/rpmbuild, so running it from the checkout left the tree dirty and
reached into the developer's home to exercise argument parsing. It now
runs from a staged copy with HOME pointed at the sandbox.

Exit 2 is pinned rather than "non-zero", though perl also exits 2 on a
compile abort -- which is exactly how this assertion stayed green in CI
while the program could not load. The message assertion is what separates
the two, and the comment now says so.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-09-02 12:39:44 -03:00
Vinícius Ferrão 8fadd0664e test(genesis): cover reviewed edge cases
Signed-off-by: Vinícius Ferrão <2031761+viniciusferrao@users.noreply.github.com>
2026-08-25 11:27:13 -03:00
Vinícius Ferrão b09d38220b ci(genesis): enable BitBake user namespaces 2026-08-21 00:27:42 -03:00
Vinícius Ferrão 71ffe44443 ci(genesis): scope temporary build paths 2026-08-21 00:04:10 -03:00
Vinícius Ferrão 0f2bb7a7fb ci(genesis): parse OpenEmbedded configurations 2026-08-20 23:05:32 -03:00
Vinícius Ferrão 1ae5998f01 fix(ci): make dependency install noninteractive 2026-08-09 13:09:51 -03:00
Vinícius Ferrão 6235290a89 fix(ci): keep no-op backport runs green 2026-07-23 19:13:26 -03:00
Vinícius Ferrão b88d1d72f7 ci: automate conflict-free backport merges 2026-07-23 18:02:18 -03:00
Vinícius Ferrão 5e26e50408 ci: automate backports to release branches
Label a PR 'backport <branch>' (e.g. 'backport 2.18') and, once it
merges, this workflow cherry-picks the PR's commits onto that branch
and opens the backport PR automatically. Labeling an already-merged
PR triggers it retroactively. On cherry-pick conflict the action
comments on the original PR so the backport can be done by hand.
2026-07-19 13:35:17 -03:00
Daniel Hilst f9717ea8da CI: install build-essential so xcat-core debs build on noble
On the ubuntu-24.04 runner, dpkg-buildpackage aborted every xcat-core
package with 'Unmet build dependencies: build-essential:native', so zero
debs were produced, reprepro created no dists/noble, and 'apt-get update'
against the local file: repo failed with 'dists/noble/.../Packages File
not found' -> install_xcat failed. Add build-essential to the workflow
dependency install so the local package repo is actually built.
2026-07-16 23:32:24 -03:00
Daniel Hilst 83323504a6 Fix GitHub CI: use noble image + latest/noble xcat-dep
The xcat-dep APT repo now publishes only the noble (24.04) codename at
.../apt/latest/xcat-dep; the bionic/devel dist no longer exists, so
install_xcat failed on apt-get update/install. Run the workflow on
ubuntu-24.04 and point the apt source at latest/xcat-dep noble main.

Drop the apt-key step: apt-key is removed on Ubuntu 24.04 and the legacy
apt.key is gone from the xcat-dep dir; the repo already installs via
allow-insecure-repositories/allow-unauthenticated.
2026-07-16 22:37:49 -03:00
Markus Hilger 145bff6ca3 Speed up CI 2026-05-07 00:30:10 +02:00
Vinícius Ferrão 8d6eb04daf Bump actions/checkout v4 to v6 for Node.js 24 compatibility 2026-04-28 16:02:41 -03:00
Markus Hilger d5108c025d Fix GitHub action 2025-05-23 19:23:03 +02:00
Markus Hilger 93cab1e366 Add step names 2024-02-11 23:03:41 +01:00
Obihörnchen 7fc363b99e Add a 60 min default timeout to xcat_test
Looks like this actions hangs from time to time. Let's use a reasonable default to get faster failing messages.
2024-02-10 20:49:22 +01:00
Obihörnchen 546f14032a Fix node16 deprecation warning 2024-02-10 19:25:24 +01:00
besawn 7231674743 Update xcat_test.yml
Fixed yaml syntax error.
2023-02-22 12:26:50 -05:00
besawn 2b07914311 Update xcat_test.yml
Add workflow_dispatch trigger to xcat_test workflow.
2023-02-22 12:21:11 -05:00
Mark Gurevich 23052ccb97 Update github action to run on Ubuntu20 2023-02-02 13:53:59 -05:00
Mark Gurevich 4594a2014a Test pull_request action instead of push 2022-07-06 14:18:10 -04:00
Mark Gurevich 11100153a2 Get GitHub action script directory reference10 2022-06-30 13:17:44 -04:00
Mark Gurevich dd190a1d93 Get GitHub action script directory referencei2 2022-06-30 09:39:08 -04:00
Mark Gurevich 07fc726380 Fix syntax error in GitHub Action script 2022-06-29 15:29:17 -04:00
Mark Gurevich e000659379 GitHub action to install and test xCAT 2022-06-29 15:15:29 -04:00
Mark Gurevich 211c3d5c96 Add installs to GitHub action to rebuild xCAT 2022-06-29 13:37:02 -04:00
Mark Gurevich 66d1baff13 Fix indentation in GitHub action to rebuild xCAT 2022-06-29 11:22:53 -04:00
Mark Gurevich 788570905e Trigger github action to rebuild xCAT 2022-06-29 10:53:56 -04:00