Commit Graph

5244 Commits

Author SHA1 Message Date
Flatcar Buildbot
defa66028c Update mantle container image to latest HEAD 2022-08-24 21:00:43 +00:00
flatcar-ci
ab4406f054 New version: main-3341.0.0-nightly-20220824-2100 2022-08-24 21:00:27 +00:00
Kai Lueke
b8133d92a0 Cover Equinix Metal m3.small.x86 instances in release test
The new m3.small instance does not have official Flatcar support yet
but we can already cover it in our PXE boot release tests.
The c3.small instances are legacy and m3.small is the new smallest
type.
2022-08-24 18:57:17 +02:00
Krzesimir Nowak
4c9a39e5a2
Merge pull request #412 from flatcar-linux/krnowak/fixes
ci-automation: Fixes
2022-08-24 15:26:54 +02:00
Krzesimir Nowak
73bb00a9d0 ci-automation: Break retest cycle properly in qemu on arm64
Rerunning the test will always yield the same result in this case, so
it's pointless.
2022-08-24 13:48:35 +02:00
Krzesimir Nowak
2d226f864e ci-automation/packages.sh: Fix access to unbound variable
We were running the run_sdk_container script with passing a value of a
variable named version to the script through the -v flag. But nowhere
is the variable defined. This worked under jenkins, because jenkins
job has a version parameter that gets exported into environment under
the same name. But running it manually outside jenkins revealed the
bug.

The script should have been using a vernum variable. Now, the
difference between this variable and the version variable is that
"version" was in form of <channel>-<version>-<build_id>, whereas
"vernum" comes without the channel part. Fortunately,
"run_sdk_container" was stripping the channel part before using this
value, so it makes no difference whether we pass
main-3333.0.0.0-some-id or just 3333.0.0-some-id.
2022-08-24 13:48:35 +02:00
Krzesimir Nowak
158a5c934a run_sdk_container: Do not mention nonexistent flag
Looks like it was either never implemented, or was implemented and
dropped before the script was added to the repo.
2022-08-24 13:48:35 +02:00
flatcar-ci
2227d2a7f8 New version: main-3340.0.0-nightly-20220823-2100 2022-08-23 21:00:23 +00:00
Krzesimir Nowak
36c3f7bc9f
Merge pull request #419 from flatcar-linux/krnowak/pkg-updates-2021-part-3-toolchain-take-2
build_library/toolchain_util: Drop workaround for building stable gdb
2022-08-23 16:04:28 +02:00
Krzesimir Nowak
3f242c05eb build_library/toolchain_util: Drop workaround for building stable gdb
This is fixed in crossdev now.
2022-08-22 15:19:54 +02:00
flatcar-ci
ed8dc724ff New version: main-3336.0.0-nightly-20220819-2100 2022-08-19 21:00:27 +00:00
Krzesimir Nowak
306daf413b
Merge pull request #414 from flatcar-linux/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-08-19 16:24:44 +02:00
Flatcar Buildbot
bbe064cdbf Update mantle container image to latest HEAD 2022-08-19 14:22:54 +00:00
flatcar-ci
b397c3c0dc New version: main-3335.0.0-nightly-20220818-2100 2022-08-18 21:00:28 +00:00
flatcar-ci
3aedfc4c68 New version: main-3334.0.0-nightly-20220817-2100 2022-08-17 21:00:30 +00:00
flatcar-ci
0fca69228a New version: main-3332.0.0-nightly-20220815-2100 2022-08-15 21:00:33 +00:00
Jeremi Piotrowski
dc21dda002
Merge pull request #378 from flatcar-linux/slsa-provenance-by-default
Generate SLSA provenance by default
2022-08-15 13:39:13 +02:00
flatcar-ci
08e8ea6c82 New version: main-3329.0.0-nightly-20220812-2100 2022-08-12 21:00:24 +00:00
Kai Lüke
0a36f7471c
Merge pull request #408 from flatcar-linux/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-08-12 11:31:20 +02:00
Flatcar Buildbot
b1883b7c71 Update mantle container image to latest HEAD 2022-08-11 21:00:42 +00:00
flatcar-ci
022e8fda7a New version: main-3328.0.0-nightly-20220811-2100 2022-08-11 21:00:25 +00:00
Kai Lüke
5cd690cb02
Merge pull request #405 from flatcar-linux/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-08-11 11:31:02 +02:00
Flatcar Buildbot
7ef47d9dbf Update mantle container image to latest HEAD 2022-08-11 09:29:08 +00:00
Kai Lüke
236e1b9a29
Merge pull request #402 from flatcar-linux/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-08-11 11:28:52 +02:00
Flatcar Buildbot
6ce401bb52 Update mantle container image to latest HEAD 2022-08-10 21:00:46 +00:00
flatcar-ci
e418163741 New version: main-3327.0.0-nightly-20220810-2100 2022-08-10 21:00:26 +00:00
flatcar-ci
152daf9a34 New version: main-3325.0.0-nightly-20220808-2100 2022-08-08 21:00:26 +00:00
Kai Lüke
d46d4bafab
Merge pull request #395 from flatcar-linux/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-08-08 17:48:24 +02:00
Flatcar Buildbot
777ae4a872 Update mantle container image to latest HEAD 2022-08-05 21:00:50 +00:00
flatcar-ci
abaa46a39d New version: main-3322.0.0-nightly-20220805-2100 2022-08-05 21:00:31 +00:00
flatcar-ci
8ce2218719 New version: main-3321.0.0-nightly-20220804-2101 2022-08-05 12:24:42 +00:00
Krzesimir Nowak
fd0f8d49f9
Merge pull request #398 from flatcar-linux/krnowak/sync-em-region
ci-automation: Sync used EquinixMetal region to use for ARM64 servers
2022-08-05 12:04:06 +02:00
Krzesimir Nowak
1974033edd ci-automation: Sync used EquinixMetal region to use for ARM64 servers
Recently we changed the region from DA (Dallas) to DC (Washington),
because there are more ARM64 servers available. Reflect this change in
the new pipeline too.
2022-08-05 11:14:36 +02:00
flatcar-ci
53530aa3fa New version: main-3321.0.0-nightly-20220804-2100 2022-08-04 21:00:26 +00:00
flatcar-ci
a179c14cd2 New version: main-3320.0.0-nightly-20220803-2100 2022-08-03 21:00:27 +00:00
Krzesimir Nowak
a39c80023e
Merge pull request #397 from flatcar-linux/krnowak/azure-fixes
Fixes for azure vendor test
2022-08-03 18:07:08 +02:00
Krzesimir Nowak
661a4067a1 ci-automation/vendor-testing/azure.sh: Use an array for extra instance types 2022-08-03 16:23:15 +02:00
Krzesimir Nowak
23a05949c1 ci-automation/vendor-testing/azure.sh: Use proper machine size on arm64 2022-08-03 16:22:38 +02:00
Krzesimir Nowak
4d09ab35d6 ci-automation/vendor-testing/azure.sh: Fix unbound variable use
This gets triggered when the test is rerun and an existing image is
reused.
2022-08-03 15:21:00 +02:00
Krzesimir Nowak
7f5282e259 ci-automation/vendor-testing/azure.sh: Fix hyperv generation argument
The "v" must be a capital letter. It seems that Azure got picker about
parameters it accepts.
2022-08-03 15:21:00 +02:00
flatcar-ci
00ce08216d New version: main-3319.0.0-nightly-20220802-2100 2022-08-02 21:00:29 +00:00
flatcar-ci
9260fc3001 New version: main-3318.0.0-nightly-20220801-2100 2022-08-01 21:00:31 +00:00
flatcar-ci
948fd31440 New version: main-3314.0.0-nightly-20220728-2100 2022-07-28 21:00:36 +00:00
flatcar-ci
f854ca61c9 New version: main-3313.0.0-nightly-20220727-2100 2022-07-27 21:00:25 +00:00
Jeremi Piotrowski
6f1d7976f4
Merge pull request #385 from flatcar-linux/jepio/spdx-sbom
add SPDX SBOM generation using syft
2022-07-27 13:55:00 +02:00
Jeremi Piotrowski
3f39f48389 build_library: install initramfs/torcx SLSA reports into rootfs
Some packages are currently missing from the /usr/share/SLSA directory
compared to flatcar_production_image_packages.txt. For torcx packages,
extract the reports from the torcx bundle when adding it to the rootfs.
For initramfs packages, as a substitute we enumerate build dependencies
of coreos-kernel (image_packages_implicit()). At this time these are
bootengine and intel-microcode.
2022-07-27 13:00:20 +02:00
Jeremi Piotrowski
e20cf95bcb prod_image_util: unpack SLSA report along with gcc when building image
Prod images need libstdc++.so and other libraries produced by
sys-devel/gcc build, but because we don't want all of gcc in the image,
the binpkg is manually unpacked instead of installed with emerge. Make
sure to preserve SLSA metadata when unpacking as well.
2022-07-27 13:00:19 +02:00
Jeremi Piotrowski
7c87bb611f enable GENERATE_SLSA_PROVENANCE for board ROOT
This needs to be done in setup_board for ROOT=/build/$BOARD, but also in
toolchain_util because basic toolchains packages are built through
catalyst.
2022-07-27 12:59:49 +02:00
Jeremi Piotrowski
0eb44ea280 build_toolchains: add provenance metadata files to root overlay
Catalyst runs builds with copies of the portage/coreos overlays in a
chroot, which prevents us from accessing the git metadata necessary to
create provenance information. Copy some files over into the
root_overlay used by the toolchains catalyst build so that provenance
can be correctly captured.
2022-07-27 12:59:49 +02:00
Jeremi Piotrowski
95c5d94837 setup_board: fix building binpkgs for toolchain dependencies
install_cross_libs installs TOOLCHAIN_PKGS deps into /usr/$BOARD_CHOST,
so that TOOLCHAIN_PKGS binpkgs can be built. We also need binpkgs for
the TOOLCHAIN_PKGS deps so that we can install them into /build/$BOARD
later together with TOOLCHAIN_PKGS. This is where the flow is currently
broken. Due to a change in semantics, --emptyroot tries to rebuild host
packages as well, and dropping it leaves --onlydeps which results in no
binpkgs being built because they are already installed.

We can solve resolve this by reusing the dependency list generated by
install_cross_libs, and explicitly building those binpkgs. It is worth
remarking that this flow of building the toolchain binpkgs through
setup_board is not in use in Flatcar, because we normally build
toolchains with catalyst. We are interested in reviving it because we
want to build everything with SLSA provenance information.
2022-07-27 12:59:49 +02:00