Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

denylist: add snooze for multipath.partition #3291

Closed
wants to merge 2,403 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2403 commits
Select commit Hold shift + click to select a range
c552b50
lockfiles: bump to latest
coreosbot May 23, 2024
7ae0d52
lockfiles: bump to latest
coreosbot May 25, 2024
39cfd4b
lockfiles: bump to latest
coreosbot May 26, 2024
3b0c922
lockfiles: bump to latest
coreosbot May 29, 2024
c41d3ad
lockfiles: bump to latest
coreosbot May 30, 2024
34dcceb
lockfiles: bump to latest
coreosbot Jun 1, 2024
3d4d0e3
lockfiles: bump to latest
coreosbot Jun 2, 2024
20b9994
lockfiles: bump to latest
coreosbot Jun 4, 2024
ba8264a
s390x: Move copying of 01-secex.ign config from systemd generator to …
nikita-dubrovskii Jun 4, 2024
a03e891
lockfiles: bump to latest
coreosbot Jun 5, 2024
2870025
lockfiles: bump to latest
coreosbot Jun 6, 2024
9b35400
overrides: fast-track ignition-2.19.0-1.fc40
coreosbot Jun 6, 2024
bbd4dad
lockfiles: bump to latest
coreosbot Jun 7, 2024
7893ede
lockfiles: bump to latest
coreosbot Jun 8, 2024
5736be2
lockfiles: bump timestamp
coreosbot Jun 11, 2024
0d9f4a5
overrides: fast-track containers-common-0.59.1-2.fc40
coreosbot Jun 12, 2024
a9a16c7
lockfiles: bump to latest
coreosbot Jun 15, 2024
848c6f5
lockfiles: bump to latest
coreosbot Jun 16, 2024
cc2e865
overlays: drop `coreos-multipath-trigger.service`
jlebon Jun 14, 2024
05a7bfb
lockfiles: drop graduated overrides 🎓
coreosbot Jun 18, 2024
dcb92e1
workflows/openshift-os: add rhcos-4.16
jlebon Jun 18, 2024
bbbf0c4
tests/kola: nuke `is_rhcos8` code paths
jlebon Jun 18, 2024
19daddd
tests/kola: adapt for new pure-RHEL variants
jlebon Jun 18, 2024
44d0ff8
coreos-ignition-setup-user: remount /usr rw if needed
jlebon Jun 18, 2024
e699a42
overrides: fast-track rust-afterburn-5.6.0-1.fc40
coreosbot Jun 21, 2024
7bcd40f
growfs: set PKNAME and partnum in multipath path
jlebon Jun 20, 2024
067e1f7
growfs: workaround sfdisk + LUKS incompatibility on 512e disks
jlebon Jun 20, 2024
95659b1
denylist: extend snooze on `coreos.ignition.ssh.key`
marmijo Jun 21, 2024
9ce248e
Denylist: add kdump.crash for ppc64le
jbtrystram Jun 24, 2024
53150ab
lockfiles: drop graduated overrides 🎓
coreosbot Jun 24, 2024
fd1d82b
lockfiles: bump to latest
coreosbot Jun 24, 2024
b8cc685
lockfiles: bump to latest
coreosbot Jun 25, 2024
dfb0b16
tests: kdump.crash enable more debugging in kdump service
jbtrystram Jun 25, 2024
7e802aa
manifests/fedora-coreos-base: re-add qed-firmware
jlebon Jun 26, 2024
8d4e788
overrides: pin kernel-6.8.11-300.fc40
coreosbot Jun 27, 2024
7b89c45
overlay/15fcos: ensure valid aleph file
jbtrystram Jun 27, 2024
8dd5b81
overlay/15fcos: upgrade bootloader for Secure Boot-enabled systems
jbtrystram Jun 27, 2024
0d03132
lockfiles: bump to latest
coreosbot Jun 30, 2024
de0416b
lockfiles: bump to latest
coreosbot Jun 30, 2024
64cac46
denylist: snooze ssh.key until new afterburn release
marmijo Jul 1, 2024
fcbc06b
lockfiles: bump to latest
coreosbot Jul 1, 2024
8369ad1
fasttrack openssh-9.6p1-1.fc40.4
travier Jul 2, 2024
9dd6925
manifests: includes kdump subpackages in f40
jbtrystram Jul 3, 2024
3db9fbc
manifests: cleanup f39 conditional includes
jbtrystram Jul 3, 2024
f0291a1
Revert "overlay/15fcos: upgrade bootloader for Secure Boot-enabled sy…
jlebon Jul 5, 2024
b2b283c
Revert "overlay/15fcos: ensure valid aleph file"
jlebon Jul 5, 2024
16b0549
Revert "overrides: pin kernel-6.8.11-300.fc40"
jlebon Jul 5, 2024
7d53ae7
Revert "Denylist: add kdump.crash for ppc64le"
jbtrystram Jul 5, 2024
6b354a1
denylist: add kdump.crash for aarch64
jbtrystram Jul 5, 2024
70e03f2
lockfiles: bump to latest
coreosbot Jul 5, 2024
d37337f
lockfiles: drop graduated overrides 🎓
coreosbot Jul 6, 2024
a40cb43
lockfiles: bump to latest
coreosbot Jul 6, 2024
291ab3a
lockfiles: bump to latest
coreosbot Jul 7, 2024
3f79668
lockfiles: drop graduated overrides 🎓
coreosbot Jul 8, 2024
862a8a6
lockfiles: bump to latest
coreosbot Jul 8, 2024
9111d89
overrides: pin selinux-policy-40.20-1.fc40
coreosbot Jul 9, 2024
05f28c9
lockfiles: bump to latest
coreosbot Jul 9, 2024
b907804
denylist: add kdump.crash.ssh for aarch64
jbtrystram Jul 16, 2024
38ebef9
overlay/growfs: support CEX-encrypted LUKS volumes
madhu-pillai Apr 25, 2024
ada779a
overlay/growfs: skip growpart on DASD disks
jlebon May 21, 2024
5066197
overlay/growfs: use luksDump JSON output for analysis
jlebon Jul 12, 2024
721394b
kola/kernel-replace: adapt for RHCOS and SCOS
c4rt0 Jul 2, 2024
78a21dc
overrides: fast-track kexec-tools-2.0.28-12.fc40
coreosbot Jul 16, 2024
6e188d5
tests/ntp: use the FCOS defined fedora.repo to set up container
marmijo Jul 11, 2024
add8a18
tests/podman/rootless-systemd: use the FCOS defined fedora.repo to se…
marmijo Jul 11, 2024
072bf48
Revert "denylist: add kdump.crash.ssh for aarch64"
jbtrystram Jul 16, 2024
2a6d473
Revert "denylist: add kdump.crash for aarch64"
jbtrystram Jul 16, 2024
705c93b
lockfiles: bump to latest
coreosbot Jul 17, 2024
73c3c2b
lockfiles: bump to latest
coreosbot Jul 19, 2024
999baab
lockfiles: bump to latest
coreosbot Jul 22, 2024
05305d9
lockfiles: bump to latest
coreosbot Jul 23, 2024
c0bd279
lockfiles: bump to latest
coreosbot Jul 24, 2024
ed6876f
lockfiles: bump to latest
coreosbot Jul 25, 2024
ed18bd4
lockfiles: bump to latest
coreosbot Jul 27, 2024
62a6078
lockfiles: bump to latest
coreosbot Jul 28, 2024
de81bec
coreos-ignition-setup-user: Remount before writing to /usr
travier Jul 29, 2024
eb53510
lockfiles: drop graduated overrides 🎓
coreosbot Jul 29, 2024
141951a
overrides: fast-track rust-coreos-installer-0.22.1-1.fc40
coreosbot Aug 7, 2024
97b6fed
lockfiles: bump to latest
coreosbot Aug 8, 2024
7786311
overrides: unpin selinux-policy-40.20-1.fc40
c4rt0 Aug 10, 2024
b48b229
overrides: fast-track selinux-policy-40.27-1.fc40
Aug 11, 2024
fefbaf4
lockfiles: bump to latest
coreosbot Aug 12, 2024
6a99141
lockfiles: drop graduated overrides 🎓
coreosbot Aug 12, 2024
3530721
denylist: snooze ssh.key until new afterburn release
marmijo Aug 12, 2024
8196678
lockfiles: bump to latest
coreosbot Aug 13, 2024
659b152
workflows/openshift-os: add rhcos-4.17
marmijo Aug 15, 2024
aa01116
denylist: branched: add kola-iso tests failing due to SELinux denials
marmijo Aug 16, 2024
fb0357b
denylist: rawhide: add kola-iso tests failing due to SELinux denials
marmijo Aug 19, 2024
88a473f
tests/files/validate-symlinks: add bootc/storage symlink to allowlist
marmijo Aug 19, 2024
64c3a1c
tests/kernel-replace: use `dnf repoquery` to get kernel version
jlebon Aug 20, 2024
5c33982
manifests/user-experience: Add which package
gursewak1997 Aug 20, 2024
2970bb0
lockfiles: bump to latest
coreosbot Aug 21, 2024
5d57b74
lockfiles: bump to latest
coreosbot Aug 22, 2024
8ee4035
lockfiles: bump to latest
coreosbot Aug 25, 2024
f5ea8ce
lockfiles: bump to latest
coreosbot Aug 28, 2024
b74145d
tests: Ignore json-glib broken symlink
travier Aug 21, 2024
8721038
lockfiles: bump to latest
coreosbot Aug 29, 2024
ce9751e
Enable composefs for 41+
cgwalters Feb 15, 2024
e8625af
denylist: add kdump.crash for rawhide
jbtrystram Jul 17, 2024
76f2b0d
tests: adapt for composefs
jlebon Jul 18, 2024
3ee8fd1
overlay/05core: disable composefs for the live ISO
jbtrystram Jul 18, 2024
1da828e
lockfiles: bump to latest
coreosbot Aug 31, 2024
39c9575
lockfiles: bump to latest
coreosbot Sep 2, 2024
e726f1f
tests: verify `bootupctl status` output is not empty
HuijingHei Aug 29, 2024
d26c9ba
denylist: extend expired snoozes
marmijo Sep 3, 2024
5277a05
lockfiles: bump to latest
coreosbot Sep 3, 2024
243bec0
Add a fedora-archive repo
marmijo Aug 28, 2024
40e9f23
manifests: add selinux-workaround.yaml for >= F41
marmijo Sep 3, 2024
0720411
denylist: remove entries for kola-ISO tests
marmijo Sep 3, 2024
32f7fce
tests/upgrade: fix bootupctl status permission error
dustymabe Sep 3, 2024
bece365
tests/upgrade: print more to the logs while waiting
dustymabe Sep 3, 2024
9c7f709
tests/upgrade: just reboot if any configuration changes were needed
dustymabe Sep 4, 2024
2550749
tests/upgrade: add workaround for cgroups v1 origins
dustymabe Sep 5, 2024
2e10ea8
Update cgroups warning with new information
dustymabe Sep 5, 2024
f042e98
manifests: add pciutils
jcapiitao Sep 5, 2024
2d1f43d
fedora-archive.repo: use both EOL and non-EOL locations
marmijo Sep 5, 2024
a52b98b
tests/kola: use fedora-archive.repo when setting up fedora container
marmijo Sep 5, 2024
c0cdb55
denylist: add FCOS tracker issue as reason for kdump entry
marmijo Sep 5, 2024
b5fd70e
tests/setuid: add userhelper to RHCOS allow list
jlebon Sep 5, 2024
bb1c249
lockfiles: bump to latest
coreosbot Sep 6, 2024
35e90f2
lockfiles: bump to latest
coreosbot Sep 9, 2024
e183044
coreos-boot-edit: relabel rdcore files
jlebon Sep 10, 2024
d7252c8
lockfiles: bump to latest
coreosbot Sep 11, 2024
bc22a48
lockfiles: bump to latest
coreosbot Sep 12, 2024
0b797dd
gcp-test: update check to run instance with confidential type
HuijingHei Sep 10, 2024
8d304c8
denylist: update denial to include next/next-devel
dustymabe Sep 13, 2024
2169df3
lockfiles: bump to latest
coreosbot Sep 15, 2024
e2b6e63
denylist: deny ext.config.extensions.package in f41 for now
dustymabe Sep 15, 2024
764d7ef
denylist: deny kernel-replace test on f41
dustymabe Sep 16, 2024
1980386
lockfiles: bump to latest
coreosbot Sep 16, 2024
832d4a7
denylist: drop denials for yum repo errors
dustymabe Sep 16, 2024
6ad50f8
lockfiles: bump to latest
coreosbot Sep 17, 2024
2557ab9
lockfiles: bump to latest
coreosbot Sep 19, 2024
0991030
manifests: Move NetworkManager-team/teamd to EL9 shared manifest
travier May 13, 2024
08b18c9
manifests: Move runc to EL9 shared manifest
travier Jun 5, 2024
65d8ce8
manifests: Move GPU firmwares & kdump tools to EL10 shared manifest
travier May 14, 2024
ec4e88a
lockfiles: bump to latest
coreosbot Sep 20, 2024
cabe5ee
lockfiles: bump to latest
coreosbot Sep 21, 2024
d0dced3
lockfiles: bump timestamp
coreosbot Sep 23, 2024
533667a
overrides: fast-track rust-afterburn-5.7.0-1.fc40
coreosbot Sep 23, 2024
3335d68
denylist: drop denial for ignition.ssh.key
gursewak1997 Sep 24, 2024
985a9af
lockfiles: bump to latest
coreosbot Sep 25, 2024
4d57ace
tests/update-ca-trust: validate new ca-bundle.crt location
marmijo Sep 26, 2024
9cd42b5
denylist: extend snooze for `kdump.crash`
marmijo Sep 27, 2024
ee7e003
lockfiles: bump to latest
coreosbot Sep 27, 2024
0cafcd6
tests/kola: rename selinux.default test to selinux.unmodified-policy
dustymabe Sep 19, 2024
2e355fd
overlay.d: add 07fix-selinux-labels overlay
jbtrystram Sep 9, 2024
01c70bd
tests/kola: catch SELinux unlabeled and mislabeled files
dustymabe Sep 20, 2024
53088cb
tests/kola: add more context on weird /var/mnt directory
jlebon Sep 27, 2024
1c8ea61
lockfiles: bump to latest
coreosbot Sep 28, 2024
8dcb345
lockfiles: bump to latest
coreosbot Sep 29, 2024
2d3404c
35coreos-multipath: explicitly depend on multipath module
jlebon Oct 1, 2024
e1f8885
lockfiles: bump to latest
coreosbot Oct 2, 2024
a670ccc
tests/kola: add exceptions in upgrade test SELinux checks
dustymabe Oct 4, 2024
9a0908e
lockfiles: bump to latest
coreosbot Oct 5, 2024
3b47bb1
lockfiles: bump to latest
coreosbot Oct 7, 2024
24ab7c3
overrides: fast-track podman-5.2.4-1.fc40
coreosbot Oct 8, 2024
e623199
lockfiles: drop graduated overrides 🎓
coreosbot Oct 9, 2024
b142d2b
lockfiles: bump to latest
coreosbot Oct 10, 2024
65adb66
tests/kola: drop files.unlabeled-contexts test
dustymabe Oct 4, 2024
1bf86bc
lockfiles: bump to latest
coreosbot Oct 11, 2024
6902cb9
lockfiles: bump to latest
coreosbot Oct 11, 2024
abcc7cf
lockfiles: bump to latest
coreosbot Oct 13, 2024
b93ec42
lockfiles: bump to latest
coreosbot Oct 13, 2024
98e8cb8
tests/kola: make podman pasta test clean up
dustymabe Oct 14, 2024
69cb2ec
Revert "denylist: add kdump.crash for rawhide"
jbtrystram Oct 15, 2024
ca11edb
denylist: add ksump.crash.ssh
jbtrystram Oct 15, 2024
9a5ca2b
lockfiles: bump to latest
coreosbot Oct 16, 2024
5e0419e
lockfiles: bump to latest
coreosbot Oct 16, 2024
9281a15
lockfiles: bump to latest
coreosbot Oct 17, 2024
daa3152
lockfiles: bump to latest
coreosbot Oct 18, 2024
e1e6396
lockfiles: bump to latest
coreosbot Oct 19, 2024
b182027
Avoid fixing labels while deploying new updates
dustymabe Oct 22, 2024
2626388
overrides: fast-track podman-5.2.5-1.fc40
coreosbot Oct 22, 2024
055b804
overrides: fast-track kdump-utils-1.0.48-1.fc40
coreosbot Oct 22, 2024
7d90e91
denylist: remove kdump.crash.ssh denial
jbtrystram Oct 22, 2024
031c644
lockfiles: bump to latest
coreosbot Oct 22, 2024
7382c42
overrides: fast-track ignition-2.20.0-1.fc40
coreosbot Oct 23, 2024
d3499bf
lockfiles: bump to latest
coreosbot Oct 23, 2024
2d0fce6
denylist: add kdump.crash.nfs for >=f41
jbtrystram Oct 24, 2024
c29c463
lockfiles: drop graduated overrides 🎓
coreosbot Oct 25, 2024
6d4d368
tests/kola: add SELinux systemd /var/cache exceptions in upgrade test
dustymabe Oct 24, 2024
6502555
test: extend bootupd test to include testing adoption and updates
HuijingHei Sep 26, 2024
ec1f401
denylist: deny `ext.config.boot.bootupd-validate` until we rollout
HuijingHei Oct 23, 2024
8dd9c01
Move to Fedora Linux 41
dustymabe Oct 28, 2024
2256f8c
denylist: drop kdump.crash.nfs and ext.config.boot.bootupd-validate
dustymabe Oct 28, 2024
b709423
overrides: drop graduated grub2-2.12-10.fc41 override
dustymabe Oct 28, 2024
8ce159a
lockfiles: bump to latest
coreosbot Oct 30, 2024
206ec81
dnf5: use 'setopt' to enable 'updates-testing' repo
nikita-dubrovskii Oct 30, 2024
7ef7e40
dnf5 builddep: drop '--spec' as it no longer exists
nikita-dubrovskii Oct 30, 2024
dc3d932
lockfiles: bump to latest
coreosbot Nov 1, 2024
8b6e75e
tests/kola: remove dtb exceptions in upgrade test SELinux checks
HuijingHei Oct 30, 2024
e2c37db
07fix-selinux-labels: fix service ordering
dustymabe Nov 1, 2024
db7707d
lockfiles: bump to latest
coreosbot Nov 1, 2024
21b292f
tests/kola: fix potential unbound variable error
dustymabe Nov 2, 2024
b009313
lockfiles: bump to latest
coreosbot Nov 2, 2024
7db3ff0
lockfiles: bump to latest
coreosbot Nov 3, 2024
6b6f1f7
lockfiles: bump to latest
coreosbot Nov 4, 2024
37290b6
lockfiles: bump to latest
coreosbot Nov 5, 2024
ecd103e
lockfiles: bump to latest
coreosbot Nov 6, 2024
c762dbc
coreos-secex-ignition-prepare: remount /usr rw if needed
nikita-dubrovskii Nov 5, 2024
5337141
lockfiles: bump to latest
coreosbot Nov 7, 2024
78c4246
manifest: Add bootc
jmarrero Nov 8, 2024
27ccdd0
lockfiles: bump to latest
coreosbot Nov 9, 2024
d48bc03
lockfiles: bump to latest
coreosbot Nov 12, 2024
c87644f
lockfiles: bump to latest
coreosbot Nov 13, 2024
b6280b2
workflows/add-overrides: install python3-dnf
jlebon Nov 14, 2024
260ba1b
overrides: fast-track rust-coreos-installer-0.23.0-1.fc41
coreosbot Nov 14, 2024
a9555e2
lockfiles: bump to latest
coreosbot Nov 15, 2024
848fc53
tests/upgrade: drop the rollback deployment on aarch64
HuijingHei Nov 15, 2024
9fac168
denylist: remove fcos.internet and podman.workflow
marmijo Nov 14, 2024
fea2ed8
lockfiles: bump to latest
coreosbot Nov 15, 2024
b357b02
lockfiles: bump to latest
coreosbot Nov 16, 2024
faa28e6
lockfiles: bump to latest
coreosbot Nov 17, 2024
8fbfcd6
Inherit from fedora-bootc's tier-x on Fedora 42+
jlebon Sep 23, 2024
7517932
manifests: conditionalize duplicate manifests
jlebon Sep 23, 2024
11714f7
manifests: split system-configuration.yaml
jlebon Sep 23, 2024
0636a5f
manifests: split networking-tools.yaml
jlebon Sep 23, 2024
ae6cfa5
manifests: split user-experience.yaml
jlebon Sep 23, 2024
8565520
manifests: hoist up bootable-rpm-ostree.yaml include
jlebon Sep 23, 2024
9d10aae
manifests: move veritysetup request to ignition-and-ostree.yaml
jlebon Sep 23, 2024
1bbeff9
manifests: move bootc to bootable-rpm-ostree.yaml
jlebon Nov 13, 2024
f81243e
manifests: conditionalize bootable-rpm-ostree.yaml
jlebon Sep 23, 2024
13f7a3c
manifests: just disable systemd-firstboot, don't nuke
jlebon Sep 23, 2024
eb8c51a
manifests: split ignition-and-ostree.yaml
jlebon Sep 23, 2024
35dabc7
manifests: split tier-x dupes into separate manifest
jlebon Sep 23, 2024
6fd4cce
workflows: add `bump-fedora-bootc` workflow
jlebon Sep 23, 2024
346724f
manifests/tier-x: use readonly in repo config only
jlebon Nov 13, 2024
e39c5bb
Sync repo templates ⚙
coreosbot Nov 18, 2024
2b2d928
lockfiles: bump to latest
coreosbot Nov 18, 2024
1db3467
tests/bootupd-validate: skip checking BIOS on older bootupd
HuijingHei Nov 8, 2024
d3a64c6
workflows/remove-graduated-overrides: clone with submodule
jlebon Nov 19, 2024
b540798
lockfiles: bump to latest
coreosbot Nov 19, 2024
51cf101
lockfiles: drop graduated overrides 🎓
coreosbot Nov 20, 2024
80fb4f7
manifests/fedora-coreos: move from `rojig` to `metadata`
jlebon Nov 18, 2024
2984163
lockfiles: bump to latest
coreosbot Nov 22, 2024
5962e5c
Bump fedora-bootc submodule
coreosbot Nov 22, 2024
64b2c96
lockfiles: bump to latest
coreosbot Nov 22, 2024
bb8c13e
overrides: pin clevis-21-5.fc41
coreosbot Nov 24, 2024
f945860
ci: use OSbuild to build metal/metal4k in one shot
dustymabe Nov 24, 2024
1cca1fd
lockfiles: bump to latest
coreosbot Nov 24, 2024
ce14eeb
lockfiles: bump to latest
coreosbot Nov 26, 2024
72ad121
denylist: add multipath.partition
c4rt0 Nov 26, 2024
6c81e9e
lockfiles: bump to latest
coreosbot Nov 28, 2024
95b4e73
lockfiles: drop graduated overrides 🎓
coreosbot Nov 29, 2024
c8d4ab6
lockfiles: bump to latest
coreosbot Nov 30, 2024
8f5a885
lockfiles: bump to latest
coreosbot Nov 30, 2024
82541dc
lockfiles: bump to latest
coreosbot Dec 2, 2024
2629255
overlay/dracut prefix dracut config files with number
jbtrystram Dec 2, 2024
abcc1ad
denylist: add snooze for multipath.partition
aaradhak Dec 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
69 changes: 49 additions & 20 deletions .cci.jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,39 +1,68 @@
// Documentation: https://github.com/coreos/coreos-ci/blob/master/README-upstream-ci.md
// Documentation: https://github.com/coreos/coreos-ci/blob/main/README-upstream-ci.md

cosaPod {
properties([
// abort previous runs when a PR is updated to save resources
disableConcurrentBuilds(abortPrevious: true)
])

// We run `kolaTestIso` which requires at least 8Gi. Add 1Gi for overhead.
cosaPod(cpus: 4, memory: "9Gi") {
checkoutToDir(scm, 'config')

def basearch = shwrapCapture("cosa basearch")
def mechanical_streams = ['branched', 'rawhide']

shwrap("cd config && ci/validate")

shwrap("""
mkdir -p /srv/fcos && cd /srv/fcos
mkdir -p /srv/coreos && cd /srv/coreos
cosa init ${env.WORKSPACE}/config
curl -LO https://raw.githubusercontent.com/coreos/fedora-coreos-releng-automation/master/scripts/download-overrides.py
python3 download-overrides.py
python3 /usr/lib/coreos-assembler/download-overrides.py
# prep from the latest builds so that we generate a diff on PRs that add packages
cosa buildprep https://builds.coreos.fedoraproject.org/prod/streams/${env.CHANGE_TARGET}/builds
cosa buildfetch --stream=${env.CHANGE_TARGET}
""")

fcosBuild(skipInit: true, extraFetchArgs: '--with-cosa-overrides')
// use a --parent-build arg so we can diff later and it matches prod
def parent_arg = ""
def parent_commit = ""
if (shwrapRc("test -e /srv/coreos/builds/latest/${basearch}/meta.json") == 0) {
shwrap("cp /srv/coreos/builds/latest/${basearch}/meta.json .") // readJSON wants it in the WORKSPACE
def meta = readJSON file: "meta.json"
def version = meta["buildid"]
parent_arg = "--parent-build ${version}"
parent_commit = meta["ostree-commit"]
}

parallel metal: {
shwrap("cd /srv/fcos && cosa buildextend-metal")
}, metal4k: {
shwrap("cd /srv/fcos && cosa buildextend-metal4k")
// do a build. If we are operating on a mechanical stream then we
// can pin packages in lockfiles but we don't maintain a full set
// so we can't do a strict build.
def no_strict_build = false
if (env.CHANGE_TARGET in mechanical_streams) {
no_strict_build = true
}
cosaBuild(skipInit: true, noStrict: no_strict_build, extraFetchArgs: '--with-cosa-overrides', extraArgs: parent_arg)

stage("Metal/Metal4k") {
shwrap("cd /srv/coreos && cosa osbuild metal metal4k")
}

stage("Test ISO") {
shwrap("cd /srv/fcos && cosa buildextend-live")
try {
shwrap("cd /srv/fcos && kola testiso -S --scenarios pxe-install,pxe-offline-install,iso-install,iso-offline-install --output-dir tmp/kola-testiso-metal")
} finally {
shwrap("cd /srv/fcos && tar -cf - tmp/kola-testiso-metal/ | xz -c9 > ${env.WORKSPACE}/kola-testiso-metal.tar.xz")
archiveArtifacts allowEmptyArchive: true, artifacts: 'kola-testiso-metal.tar.xz'
}
shwrap("cd /srv/coreos && cosa buildextend-live")
kolaTestIso()
}

// also print the pkgdiff as a separate stage to make it more visible
stage("RPM Diff") {
shwrap("jq .pkgdiff /srv/fcos/builds/latest/x86_64/meta.json")
if (parent_arg != "") {
stage("RPM Diff") {
shwrap("""
cd /srv/coreos
new_commit=\$(jq -r '.["ostree-commit"]' builds/latest/${basearch}/meta.json)
rpm-ostree db diff --repo tmp/repo ${parent_commit} \${new_commit} | tee tmp/diff.txt
if grep -q Downgraded tmp/diff.txt; then
echo "Downgrade detected. This is likely unintentional. If not, you may safely ignore this error."
exit 1
fi
""")
}
}
}
96 changes: 96 additions & 0 deletions .github/workflows/add-override.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
---
name: Add package override
on:
workflow_dispatch:
inputs:
target:
description: Target branch
default: testing-devel
what:
description: "Bodhi update (fast-track) or SRPM NVR (pin)"
pin:
description: "Pin (don't remove when stable)"
type: boolean
reason:
description: "Reason URL (optional for routine fast-tracks)"

permissions:
# none at all
contents: none

# This workflow could almost use the default GITHUB_TOKEN, if we were to
# push the branch into this repo. However, GitHub Actions has recursion
# avoidance that would prevent CI from running on the PR:
#
# https://github.com/peter-evans/create-pull-request/blob/28fa4848947e/docs/concepts-guidelines.md#workarounds-to-trigger-further-workflow-runs
#
# So we create the PR using a separate Personal Access Token in
# COREOSBOT_RELENG_TOKEN, belonging to a machine account. That allows CI to
# run when the PR is first created. However, it's also possible to rerun
# the workflow and have it force-push the branch, reusing the same PR. In
# that case the push also cannot come from GITHUB_TOKEN, or CI will not
# rerun. Thus we also do the push using COREOSBOT_RELENG_TOKEN. Since we
# don't want to give the machine account privileges to this repo, we push
# to a forked repo owned by the machine account.

jobs:
add-override:
name: Add package override
runs-on: ubuntu-latest
container: quay.io/fedora/fedora:latest
steps:
- name: Install dependencies
# XXX: Note here we're installing python3-dnf, which pulls in libdnf,
# which is the old one. We should migrate to libdnf5 to match dnf5.
# https://github.com/coreos/fedora-coreos-config/issues/3254
run: dnf install -y git jq python3-bodhi-client python3-pyyaml python3-dnf
- name: Check out repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.target }}
# We need an unbroken commit chain when pushing to the fork. Don't
# make assumptions about which commits are already available there.
fetch-depth: 0
# https://github.com/actions/checkout/issues/766
- name: Mark git checkout as safe
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Update metadata
env:
TARGET: ${{ github.event.inputs.target }}
WHAT: ${{ github.event.inputs.what }}
PIN: ${{ github.event.inputs.pin }}
REASON: ${{ github.event.inputs.reason }}
run: |
set -euxo pipefail

if [ "${PIN}" = true ]; then
ci/overrides.py pin "${WHAT}" -r "${REASON}"
title="overrides: pin ${WHAT}"
else
ci/overrides.py fast-track "${WHAT}" ${REASON:+-r "${REASON}"}
srpms=$(ci/overrides.py srpms "${WHAT}" | paste -sd,)
title="overrides: fast-track ${srpms//,/, }"
fi

if [ "${TARGET}" = testing-devel ]; then
pr_title="${title}"
else
pr_title="[${TARGET}] ${title}"
fi
branch_name=override-$(echo "${TARGET}:${title}" | sha256sum | cut -c1-8)

echo "BRANCH_NAME=${branch_name}" >> ${GITHUB_ENV}
echo "COMMIT_TITLE=${title}" >> ${GITHUB_ENV}
echo "PR_TITLE=${pr_title}" >> ${GITHUB_ENV}
- name: Open pull request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.COREOSBOT_RELENG_TOKEN }}
branch: ${{ env.BRANCH_NAME }}
commit-message: ${{ env.COMMIT_TITLE }}
push-to-fork: coreosbot-releng/fedora-coreos-config
title: ${{ env.PR_TITLE }}
body: "Requested by @${{ github.actor }} via [GitHub workflow](${{ github.server_url }}/${{ github.repository }}/actions/workflows/add-override.yml) ([source](${{ github.server_url }}/${{ github.repository }}/blob/testing-devel/.github/workflows/add-override.yml))."
committer: "CoreOS Bot <[email protected]>"
author: "CoreOS Bot <[email protected]>"
delete-branch: true
66 changes: 66 additions & 0 deletions .github/workflows/bump-fedora-bootc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Bump fedora-bootc submodule

on:
schedule:
- cron: '0 */6 * * *'
workflow_dispatch:

permissions:
contents: read

jobs:
bump-fedora-bootc-submodule:
name: Bump fedora-bootc submodule
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
# https://github.com/actions/checkout/issues/766
- name: Mark git checkout as safe
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Check if there are new commits
run: |
previous_rev=$(git -C fedora-bootc rev-parse HEAD)
git submodule update --remote fedora-bootc
new_rev=$(git -C fedora-bootc rev-parse HEAD)
if [ "${previous_rev}" != "${new_rev}" ]; then
if git -C fedora-bootc diff --quiet "${previous_rev}" "${new_rev}" tier-0 tier-x; then
# reset back any changes to avoid a PR bump
git submodule update
fi
fi
if git diff --quiet --exit-code; then
echo "No tier-0 or tier-x changes; exiting"
exit 0
fi

git -C fedora-bootc shortlog --no-merges "${previous_rev}..${new_rev}" -- tier-0 tier-x > $RUNNER_TEMP/shortlog

marker=END-OF-LOG-MARKER-$RANDOM$RANDOM$RANDOM
cat >> $GITHUB_ENV <<EOF
SHORTLOG<<$marker
$(cat $RUNNER_TEMP/shortlog)
$marker
EOF
- name: Open pull request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.COREOSBOT_RELENG_TOKEN }}
push-to-fork: coreosbot-releng/fedora-coreos-config
branch: bump-fedora-bootc
commit-message: |
Bump fedora-bootc submodule

${{ env.SHORTLOG }}
title: "Bump fedora-bootc submodule"
body: |
Created by [GitHub workflow](${{ github.server_url }}/${{ github.repository }}/actions/workflows/bump-fedora-bootc.yml) ([source](${{ github.server_url }}/${{ github.repository }}/blob/testing-devel/.github/workflows/bump-fedora-bootc.yml)).

```
${{ env.SHORTLOG }}
```
committer: "CoreOS Bot <[email protected]>"
author: "CoreOS Bot <[email protected]>"
22 changes: 22 additions & 0 deletions .github/workflows/find-whitespace.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Find whitespace

on:
pull_request:
branches: [testing-devel]

permissions:
contents: read

jobs:
find-whitespace:
name: Find whitespace
runs-on: ubuntu-latest
container: quay.io/coreos-assembler/fcos-buildroot:testing-devel
steps:
- name: Check out repository
uses: actions/checkout@v3
# https://github.com/actions/checkout/issues/760
- name: Mark git checkout as safe
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Look for whitespace at the end of line
run: ci/find-whitespace
34 changes: 34 additions & 0 deletions .github/workflows/next-devel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: next-devel
on:
# This is a privileged event! It runs with a r/w token, even in PRs from
# forks.
pull_request_target:
branches: [next-devel]
types: [opened, edited, reopened, ready_for_review]

permissions:
pull-requests: write

# Privileged job to comment on next-devel PRs indicating whether next-devel
# is currently open. This job must not trust the contents of the PR.

jobs:
branch-status:
name: "Check branch status"
runs-on: ubuntu-latest
steps:
- name: Post PR comment
uses: actions/github-script@v6
with:
script: |
const url = 'https://raw.githubusercontent.com/coreos/fedora-coreos-pipeline/main/next-devel/status.json'
const resp = await github.request(url)
if (!JSON.parse(resp.data).enabled) {
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: ':no_entry: The `next-devel` branch is currently closed. PRs should target only `testing-devel`.',
})
}
Loading
Loading