Commit Graph

5075 Commits

Author SHA1 Message Date
Krzesimir Nowak
1ecea3544f ci-automation: Change the way we prepare torcx manifest for testing
Now URLs for torcx packages are always present in the torcx manifest,
but for releases they may be pointing to the origin server where the
packages will be eventually uploaded. At the time of running the
tests, those packages are still only in the build cache, so change the
URLs to point to the build cache, so the test can pass.
2022-09-06 14:00:50 +02:00
Krzesimir Nowak
b2d6f7fc6e *: Allow specifying extra URLs for torcx packages
Torcx manifest may contain paths and URLs as locations of
packages. There are two kinds of packages - vendored and
extra. Vendored packages normally have two locations - path to the
directory inside the image where the package is (which is why it's
called vendored), and a URL to the package on some remote
server. Extra packages only have a URL. But the URLs are added only
when we tell the build_torcx_store script to upload the packages at
the same time, which is what the old build pipeline was doing. With
the new pipeline, the upload happens as a separate step, thus the
upload is disabled when invoking build_torcx_store, and so the
packages are not getting URLs set. This change went unnoticed, because
a kola test checking the generated torcx manifest was only checking if
there is at least one location, either path or URL, and all the new
releases have no extra packages, only vendored ones.

When backporting the new pipeline to old LTS, the kola tests started
to fail, because old LTS had one extra package, and this is how I
noticed the problem.
2022-09-06 14:00:50 +02:00
flatcar-ci
6d8d88cbe4 New version: main-3353.0.0-nightly-20220905-2100 2022-09-05 21:00:27 +00:00
Kai Lüke
bcd78fcb5c
Merge pull request #445 from flatcar-linux/kai/release-job
ci-automation: Prepare new release job
2022-09-05 16:09:43 +02:00
Kai Lueke
b30654ef22 ci-automation: Prepare release job
The old pipeline had a release job where mantle's plume release tool
was invoked to publish the cloud images.
Implement a release job in the new pipeline with the same goals and
eventually even more automation.
2022-09-05 11:41:41 +02:00
Kai Lueke
1319e4c95a ci-automation: Move image change report to own file
To review the image changes and the changelog more easily and in case
of fixes, iterate over it without rebuilding the image, move this logic
to its own file where a new job could call it.
2022-09-05 11:41:41 +02:00
Kai Lüke
13c87ba1a3
Merge pull request #447 from flatcar-linux/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-09-05 09:33:44 +02:00
Flatcar Buildbot
6dd9a8e681 Update mantle container image to latest HEAD 2022-09-05 07:25:34 +00:00
flatcar-ci
c1bcd1f07c New version: main-3349.0.0-nightly-20220901-2100 2022-09-01 21:00:26 +00:00
Kai Lüke
7b7c3e5b76
Merge pull request #425 from flatcar-linux/kai/em-m3
Cover Equinix Metal m3.small.x86 instances in release test
2022-09-01 13:34:20 +02:00
Kai Lüke
a791cb8657
Merge pull request #438 from flatcar-linux/kai/allow-id-500
Support running under UID 500
2022-09-01 10:58:56 +02:00
Kai Lüke
9c299a0671
Merge pull request #441 from flatcar-linux/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-09-01 10:55:18 +02:00
Flatcar Buildbot
79565dbea2 Update mantle container image to latest HEAD 2022-08-31 21:00:38 +00:00
flatcar-ci
aa714d8394 New version: main-3348.0.0-nightly-20220831-2100 2022-08-31 21:00:25 +00:00
Kai Lueke
834e0c11d7 Support running under UID 500
When started by the Flatcar core user, the SDK failed to use UID 500
because inside the SDK there already is the core user from nss-altfiles
with the same ID. This way, the SDK user was continuing with UID 1000
and had permission errors.
Allow to reuse an existing ID for the SDK user. However, this only
works when usermod doesn't find a process that uses this ID, and we had
a race between the SDK entry points called by "docker start" and by
"docker exec". The race is unwanted anyway because we don't want to
execute the commands while setup_board is still running. Solve it by
setting the entrypoint for "docker start" directly to "bash -l" in
"docker create" (this is also what the entry point does as last step:
sudo su -l).
2022-08-31 15:16:21 +02:00
Kai Lueke
d0ef3dace7 run_sdk_container: Use sdk_entry.sh from repo instead of inbuilt copy
The SDK container has a copy of sdk_entry.sh for standalone use. This
was also used by run_sdk_container which required creating new SDK
container images for changes to take effect.
Use the repository's version from run_sdk_container for fixes to take
effect without requiring new SDK containers.
2022-08-31 14:46:40 +02:00
Kai Lüke
695825b845
Merge pull request #433 from flatcar-linux/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-08-31 12:29:09 +02:00
Flatcar Buildbot
e77d8590c1 Update mantle container image to latest HEAD 2022-08-31 10:08:58 +00:00
Krzesimir Nowak
ffa9542e08
Merge pull request #437 from flatcar-linux/krnowak/cleanups
Small cleanups in tests
2022-08-31 12:08:45 +02:00
Krzesimir Nowak
8b52a9b04c ci-automation: Use an array for storing failed tests 2022-08-31 09:37:18 +02:00
Krzesimir Nowak
8cd06230ba ci-automation: Print failed tests nicer
Instead of printing failed tests like this:

    Failed tests: kubeadm.v1.25.0.cilium.base
    kubeadm.v1.24.1.cilium.base

Do it like this:

    Failed tests:
    kubeadm.v1.25.0.cilium.base
    kubeadm.v1.24.1.cilium.base
2022-08-31 09:37:18 +02:00
Krzesimir Nowak
9e05a07a77 ci-automation: Return 1 on broken cycle
We have set success to true when the test cycle was broken, which was
a hacky way to avoid printing the give up message. But this setting
success to true also meant that the script returned with status 0,
which is wrong.

Add another variable for controlling printing the give up message.
2022-08-31 09:37:18 +02:00
Krzesimir Nowak
6c77ebde54 ci-automation: Break test cycle properly
Create a tapfile and break out of the loop.
2022-08-31 09:37:18 +02:00
flatcar-ci
27ba532c14 New version: main-3347.0.0-nightly-20220830-2100 2022-08-30 21:00:27 +00:00
Kai Lüke
e12291aee1
Merge pull request #431 from flatcar-linux/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-08-30 11:28:14 +02:00
Flatcar Buildbot
4a4c44b296 Update mantle container image to latest HEAD 2022-08-30 09:26:33 +00:00
Kai Lüke
3a0c23c5b7
Merge pull request #427 from flatcar-linux/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-08-30 11:26:13 +02:00
Flatcar Buildbot
4795cb5c8a Update mantle container image to latest HEAD 2022-08-29 21:00:52 +00:00
flatcar-ci
4ec376b99d New version: main-3346.0.0-nightly-20220829-2100 2022-08-29 21:00:31 +00:00
flatcar-ci
e6f78f5117 New version: main-3342.0.0-nightly-20220825-2100 2022-08-25 21:00:33 +00:00
Krzesimir Nowak
bd10831af6
Merge pull request #421 from flatcar-linux/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-08-25 16:25:25 +02:00
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