5040 Commits

Author SHA1 Message Date
Flatcar Buildbot
f12fef00a7 Update mantle container image to latest HEAD 2022-09-08 21:00:41 +00:00
flatcar-ci
8cbe0283e4 New version: stable-3227.2.2-nightly-20220908-2100 2022-09-08 21:00:28 +00:00
Kai Lüke
fa23d02e43
Merge pull request #460 from flatcar-linux/mantle-update-flatcar-3227
Upgrade mantle container image to latest HEAD in flatcar-3227
2022-09-08 15:55:34 +02:00
Flatcar Buildbot
b872bf4b1a Update mantle container image to latest HEAD 2022-09-08 13:54:50 +00:00
Krzesimir Nowak
02d85410ef Merge pull request #464 from flatcar-linux/scripts
bootstrap_sdk_container: Fix a check for an official build
2022-09-08 15:08:57 +02:00
Krzesimir Nowak
51d62280a1 bootstrap_sdk_container: Fix a check for an official build
It should happen after we had a chance of processing input parameters,
otherwise we were always operating on empty values which resulted in
always having an unofficial build.
2022-09-08 15:08:57 +02:00
Mathieu Tortuyaux
bb9327088f
Merge pull request #456 from flatcar-linux/mantle-update-flatcar-3227
Upgrade mantle container image to latest HEAD in flatcar-3227
2022-09-08 14:48:20 +02:00
Flatcar Buildbot
1209b392a7 Update mantle container image to latest HEAD 2022-09-07 21:00:48 +00:00
flatcar-ci
4c553e9352 New version: stable-3227.2.2-nightly-20220907-2100 2022-09-07 21:00:32 +00:00
Krzesimir Nowak
b9686b7325 Merge pull request #452 from flatcar-linux/scripts
*: Allow specifying extra URLs for torcx packages
2022-09-07 15:14:14 +02:00
Krzesimir Nowak
d802929ac8 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-07 15:14:13 +02:00
Krzesimir Nowak
0a0e4846e3 *: 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-07 15:14:13 +02:00
flatcar-ci
5624980b86 New version: stable-3227.2.2-nightly-20220905-2100 2022-09-05 21:00:30 +00:00
Kai Lueke
acd93b0caa Merge pull request #445 from flatcar-linux/scripts
ci-automation: Prepare new release job
2022-09-05 16:10:31 +02:00
Kai Lueke
f4b7c91fc5 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 16:10:30 +02:00
Kai Lueke
60fd08547d 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 16:10:30 +02:00
Kai Lüke
78f348639a
Merge pull request #449 from flatcar-linux/mantle-update-flatcar-3227
Upgrade mantle container image to latest HEAD in flatcar-3227
2022-09-05 09:35:26 +02:00
Flatcar Buildbot
6a73b25a01 Update mantle container image to latest HEAD 2022-09-05 07:25:35 +00:00
flatcar-ci
5a233efe29 New version: stable-3227.2.2-nightly-20220901-2100 2022-09-01 21:00:27 +00:00
Kai Lueke
ef359dc9ab Merge pull request #425 from flatcar-linux/scripts
Cover Equinix Metal m3.small.x86 instances in release test
2022-09-01 13:35:24 +02:00
Kai Lueke
6e28f57b67 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-09-01 13:35:24 +02:00
Kai Lueke
84a023ec18 Merge pull request #438 from flatcar-linux/scripts
Support running under UID 500
2022-09-01 11:02:09 +02:00
Kai Lueke
50169b6517 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-09-01 11:02:09 +02:00
Kai Lueke
591b18bf65 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-09-01 11:02:09 +02:00
Kai Lüke
02178d8026
Merge pull request #443 from flatcar-linux/mantle-update-flatcar-3227
Upgrade mantle container image to latest HEAD in flatcar-3227
2022-09-01 10:58:39 +02:00
Flatcar Buildbot
bbef145d61 Update mantle container image to latest HEAD 2022-08-31 21:00:43 +00:00
flatcar-ci
a2e6ff92d8 New version: stable-3227.2.1-nightly-20220831-2100 2022-08-31 21:00:32 +00:00
Kai Lüke
dc562cf26b
Merge pull request #434 from flatcar-linux/mantle-update-flatcar-3227
Upgrade mantle container image to latest HEAD in flatcar-3227
2022-08-31 12:30:02 +02:00
Flatcar Buildbot
92c6940ae3 Update mantle container image to latest HEAD 2022-08-31 10:29:23 +00:00
Krzesimir Nowak
80f96ed35d Merge pull request #437 from flatcar-linux/scripts
Small cleanups in tests
2022-08-31 12:11:29 +02:00
Krzesimir Nowak
5a44d40e98 ci-automation: Use an array for storing failed tests 2022-08-31 12:11:29 +02:00
Krzesimir Nowak
fb8ac440af 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 12:11:29 +02:00
Krzesimir Nowak
a8bb461a16 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 12:11:29 +02:00
Krzesimir Nowak
db4aa480f7 ci-automation: Break test cycle properly
Create a tapfile and break out of the loop.
2022-08-31 12:11:29 +02:00
flatcar-ci
b7c47968e4 New version: stable-3227.2.1-nightly-20220830-2100 2022-08-30 21:00:28 +00:00
Kai Lüke
23ab09a432
Merge pull request #429 from flatcar-linux/mantle-update-flatcar-3227
Upgrade mantle container image to latest HEAD in flatcar-3227
2022-08-30 11:29:12 +02:00
Flatcar Buildbot
420aa8cc8e Update mantle container image to latest HEAD 2022-08-30 09:26:28 +00:00
Dongsu Park
d69af810a9 New version: stable-3227.2.2 stable-3227.2.2 2022-08-29 18:05:39 +02:00
flatcar-ci
8c57c2e2e0 New version: stable-3227.2.1-nightly-20220825-2100 2022-08-25 21:00:32 +00:00
Krzesimir Nowak
75679dd589
Merge pull request #423 from flatcar-linux/mantle-update-flatcar-3227
Upgrade mantle container image to latest HEAD in flatcar-3227
2022-08-25 16:25:04 +02:00
Krzesimir Nowak
a9ee6d939b Merge pull request #412 from flatcar-linux/scripts
ci-automation: Fixes
2022-08-25 10:07:46 +02:00
Krzesimir Nowak
04f6f76451 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-25 10:07:46 +02:00
Krzesimir Nowak
434ca9ddd2 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-25 10:07:46 +02:00
Krzesimir Nowak
7ba85b731c 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-25 10:07:46 +02:00
Flatcar Buildbot
8683ab64d8 Update mantle container image to latest HEAD 2022-08-24 13:27:11 +00:00
flatcar-ci
392375cb09 New version: stable-3227.2.1-nightly-20220823-2100 2022-08-23 21:00:29 +00:00
flatcar-ci
b2be4f8cf7 New version: stable-3227.2.1-nightly-20220819-2100 2022-08-19 21:00:30 +00:00
Krzesimir Nowak
a67181b1a3
Merge pull request #417 from flatcar-linux/mantle-update-flatcar-3227
Upgrade mantle container image to latest HEAD in flatcar-3227
2022-08-19 16:24:46 +02:00
Flatcar Buildbot
4edc62a395 Update mantle container image to latest HEAD 2022-08-19 14:22:55 +00:00
flatcar-ci
19b7bf5ba0 New version: stable-3227.2.1-nightly-20220818-2100 2022-08-18 21:00:31 +00:00