25901 Commits

Author SHA1 Message Date
Mathieu Tortuyaux
768dc621b3
Merge pull request #1419 from flatcar/tormath1/brightbox
ci-automation: add brightbox testing
2023-11-24 15:19:20 +01:00
Krzesimir Nowak
7b19e92f30
Merge pull request #1169 from flatcar/krnowak/image-changes
Generate reports for OEM and base sysext images, allow reports against last nightly
2023-11-24 10:29:07 +01:00
Mathieu Tortuyaux
477f03b23f
ci-automation: add brightbox testing
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2023-11-23 18:27:12 +01:00
flatcar-ci
38828976cc New version: main-3795.0.0-nightly-20231121-2100 2023-11-21 21:00:26 +00:00
Thilo Fromm
78d794e9c3
Merge pull request #1417 from flatcar/t-lo/changelog-remove-docker-strip
changelog: improved messaging for torcx removal and docker 24 upgrade
2023-11-21 16:10:15 +01:00
Krzesimir Nowak
3d4ddf8645 ci-automation/base-sysexts: Simplify
No need in making it arch-specific.
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
a87a8821fe ci-automation/image-changes: Avoid swallowing errors 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
a39e53aed3 .github/ci: Install python3-packaging package
show-fixed-kernel-cves.py script from flatcar-build-scripts requires
this package:

Traceback (most recent call last):
  File "/home/runner/actions-runner/_work/scripts/scripts/flatcar-build-scripts/show-fixed-kernel-cves.py", line 29, in <module>
    from packaging import version
ModuleNotFoundError: No module named 'packaging'
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
00dad31c11 ci-automation/image-changes: Meh 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
c9b9864ae1 .github/ci: AAAARGH! 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
810306c884 ci-automation/image-changes, .github/ci: Further deduplication 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
89f0cba474 .github/ci: Deduplicate the image changes job 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
0490c9c672 .github/ci: Report about base sysexts for against last nightly too 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
71eed26ee0 overlay, ci-automation: Try making common-oem-files a valid ebuild
Assignment of EAPI must be the first non-comment, non-blank line in
the ebuild, otherwise portage masks it as corrupted.
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
9a780a3e90 overlay coreos-base/common-oem-files: Move hack description down
EAPI needs to be defined within first 24 lines, so the description
would push the definition too much down as it needs to happen after
possible declaration of EAPI as local for the source case.
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
8a75eba906 overlay, ci-automation: Another attempt at providing OEMID info
Please read the comment at the top of the coreos-base/common-oem-files
ebuild for details.
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
f542807a9e overlay, ci-automation: Factor out OEMID info to a separate file
Image changes job needs a list of OEMIDs that are built for a specific
architecture. Similar information already existed in the
coreos-base/common-oem-files ebuild, so factor it out to a separate
file, so the image changes job does not need to source the entire
ebuild (or process it in other way), but rather source the smaller
file.
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
c5b8a80d36 ci-automation: List built base sysext explicitly
Instead of depending on default value of build_image's base_sysext
parameter, create a file that explicitly lists which base sysexts will
be built for each architecture. The file can be sourced by other
scripts that need this kind of information. Currently, image.sh and
image_changes.sh use this file.
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
dabb54783d .github/ci, ci-automation/image-changes: Print diffs for base sysexts 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
ead79f989c ci-automation/image-changes: Source version.txt
This avoid messing with quotes.
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
5b3e90eceb .github/ci: Fix artifacts paths 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
d373052ca4 ci-automation/image-changes: Filter out OEM IDs not built for an arch
This is to limit the amount of reports consisting purely of failures,
because some files were missing. And those files will be missing,
because an OEM might not even have any image for certain arches (like
digitalocean has no arm64 images).
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
a7853de174 overlay coreos-base/common-oem-files: Add some arch info about OEM
For now we don't have a single place where we could learn about which
OEMs with a sysext image gets built for certain architecture. So add
it for now to the coreos-base/common-oem-files package. Missing
architecture info for an OEM that gets built only in a certain arch is
not going to be fatal for the image changes job - we will just get a
report for this OEM with messages about failures to download some
files.
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
c03d372c54 .github/ci: Run image reports job after vms job
It shows changes also in OEM images and these are built in vms step.
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
202b905a47 .github/ci: Fix clobbering of parameters and env vars 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
8b5e6f0f2c ci-automation/image-changes: Do not expect HEAD commit to have a tag
It certainly does happen on GitHub Actions that the HEAD commit has no
tag. In such case, fake the tag from version file. The git tag in this
scenario is used to figure out a channel transition.
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
7698016439 ci-automation/image-changes: Document - as standard output 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
170e17a673 ci-automation/image-changes: Second parameter is not optional 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
cda692ad3c ci-automation/image-changes: Strip kernel versions in initrd reports
This is something that we already do for production image and for OEM
sysext images.
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
123ae2471f ci-automation/image-changes: Make messages stand out 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
50b515ee32 ci-automation/image-changes: Expect HEAD commit to have a tag 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
2c7af82d75 ci-automation/image-changes: Shrink a clone of flatcar-build-script 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
f9e0363bf0 ci-automation/image-changes, .github/ci: Add reports against last nightly 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
5915caff21 ci-automation/image-changes: Set NEW_VERSION in toplevel function
This avoid assuming that the current working directory in the
generate_image_changes_report function is actually toplevel directory
of the scripts repo.
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
ffa2bfc695 ci-automation/image-changes, .github/ci: Set up env for show-changes 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
5443a66c91 ci-automation/image-changes, .github/ci: Show changes in OEM sysext images 2023-11-21 16:00:00 +01:00
Krzesimir Nowak
992db543d1 ci-automation/image-changes, .github/ci: Drop work directory parameter
It was only needed for the show-changes script. Now that show-changes
script allows to set the repos parent directory with an environment
variable, we set the variable instead of changing the working
directory.
2023-11-21 16:00:00 +01:00
Thilo Fromm
d13f4f3aef changelog: improved messaging for torcx removal and docker 24 upgrade
During the release of Alpha-3794.0.0 we further improved changelog
messages for the docker 24 upgrade and the torcx removal. This PR
updates the respective changelog entries in the repository.

See release announcement here:
https://hackmd.io/nG2pd4iKQ9GTazucHH5U9Q?view#New-Alpha-Release-379400

Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-11-21 15:16:32 +01:00
Flatcar Buildbot
94ec7b09dc sys-kernel/coreos-sources: Update from 6.1.62 to 6.1.63 2023-11-21 07:11:50 +00:00
flatcar-ci
0dd4f52127 New version: main-3794.0.0-nightly-20231120-2100 2023-11-20 21:00:33 +00:00
Jeremi Piotrowski
c2f04328a3
Merge pull request #1395 from flatcar/update-azure-linux-agent
app-emulation/wa-linux-agent: Update to 2.9.1.1
2023-11-20 16:41:17 +01:00
Jeremi Piotrowski
f5c670e63b changelog: Add entry for WALinuxAgent update
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2023-11-20 12:56:28 +01:00
Jeremi Piotrowski
590fa87486 app-emulation/wa-linux-agent: Update to 2.9.1.1
This is the current version being deployed to the Azure fleet for other
distros. This update contains a fix for:

  Failed to get the PID of the DHCP client: invalid literal for int() with base 10: 'MainPID=1640'

The upstream fix (stripping MainPid=) is in
https://github.com/Azure/WALinuxAgent/pull/2784.

The patch has also been updated to fix the error:

  Unable to setup the persistent firewall rules: [Errno 30] Read-only file system: '/lib/systemd/system/waagent-network-setup.service'

by redirecting unit file installation to /etc/systemd/system. This change
requires handling in manglefs.sh as package installation unfortunately uses the
same path. This also requires adding a dependency on systemd-sysext.service to
that unit, as it depends on python, which is done through a drop-in.

A final change is handling interface restart. RedHat and Ubuntu bounce a single
link while Flatcar has so far used the "coreos" implementation (restart the
whole systemd-networkd), which forced a full dhcp lease renewal. Follow the
approaches of other distros by copying their implementation of restart_if.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2023-11-20 12:52:24 +01:00
flatcar-ci
9ffb098608 New version: main-3791.0.0-nightly-20231117-2100 2023-11-18 02:09:11 +00:00
flatcar-ci
198c0abf5b New version: main-3791.0.0-nightly-20231117-2100-INTERMEDIATE 2023-11-17 21:00:26 +00:00
Kai Lüke
53b0efba0b
Merge pull request #1401 from flatcar/kai/debug
build_library/sysext_prod_builder: Add debug output
2023-11-17 21:10:05 +01:00
Kai Lueke
317ad876e2 build_library/sysext_prod_builder: Add debug output
We see occasional failures due to a read-only filesystem on GitHub
Action runners:
  mkdir: cannot create directory ‘/home/sdk/trunk/src/scripts/artifacts/amd64-usr/developer-3790.0.0+nightly-20231116-2100-5-g49eb1a4c07-a1/rootfs/usr/share/flatcar/sysext’: Read-only file system

Add commands for a debug output.
2023-11-17 17:43:09 +01:00
Kai Lüke
d15fe243f5
Merge pull request #1400 from flatcar/kai/sshkeys.service
coreos-base/coreos-init: Make sshkeys.service more robust
2023-11-17 16:14:13 +01:00
Kai Lueke
cf261147e9 coreos-base/coreos-init: Bump ebuild revision after change 2023-11-17 15:51:53 +01:00
Mathieu Tortuyaux
5e5da0f34d
Merge pull request #1398 from flatcar/containerd-1.7.9-main
Upgrade Containerd in main from 1.7.8 to 1.7.9
2023-11-17 15:45:51 +01:00