5058 Commits

Author SHA1 Message Date
Krzesimir Nowak
1bbfc9995c Merge pull request #464 from flatcar-linux/scripts
bootstrap_sdk_container: Fix a check for an official build
2022-09-08 15:09:20 +02:00
Krzesimir Nowak
b3b88f0160 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:09:20 +02:00
Mathieu Tortuyaux
ca75c0266d
Merge pull request #458 from flatcar-linux/mantle-update-flatcar-3277
Upgrade mantle container image to latest HEAD in flatcar-3277
2022-09-08 14:48:32 +02:00
Flatcar Buildbot
9ea9ddfcd4 Update mantle container image to latest HEAD 2022-09-07 21:00:50 +00:00
flatcar-ci
4e10dc4692 New version: beta-3277.1.2-nightly-20220907-2100 2022-09-07 21:00:30 +00:00
Krzesimir Nowak
4f1b03fc11 Merge pull request #452 from flatcar-linux/scripts
*: Allow specifying extra URLs for torcx packages
2022-09-07 15:14:07 +02:00
Krzesimir Nowak
957c82b142 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:06 +02:00
Krzesimir Nowak
0b774f3fa8 *: 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:06 +02:00
flatcar-ci
17cf942a35 New version: beta-3277.1.2-nightly-20220905-2100 2022-09-05 21:00:33 +00:00
Kai Lueke
2ff03c6dd2 Merge pull request #445 from flatcar-linux/scripts
ci-automation: Prepare new release job
2022-09-05 16:10:42 +02:00
Kai Lueke
45ec29a981 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:42 +02:00
Kai Lueke
4f3fd3889c 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:42 +02:00
Kai Lüke
50f7c2dae2
Merge pull request #451 from flatcar-linux/mantle-update-flatcar-3277
Upgrade mantle container image to latest HEAD in flatcar-3277
2022-09-05 09:35:55 +02:00
Flatcar Buildbot
ea9f1fa05a Update mantle container image to latest HEAD 2022-09-05 07:25:40 +00:00
flatcar-ci
7567722ec3 New version: beta-3277.1.2-nightly-20220901-2100 2022-09-01 21:00:37 +00:00
Kai Lueke
33831d814e Merge pull request #425 from flatcar-linux/scripts
Cover Equinix Metal m3.small.x86 instances in release test
2022-09-01 13:35:36 +02:00
Kai Lueke
96fc103372 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:36 +02:00
Kai Lueke
2b040aa4c4 Merge pull request #438 from flatcar-linux/scripts
Support running under UID 500
2022-09-01 11:01:58 +02:00
Kai Lueke
90bef5897c 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:01:58 +02:00
Kai Lueke
0da1c2adb0 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:01:58 +02:00
Kai Lüke
f0b1282b68
Merge pull request #442 from flatcar-linux/mantle-update-flatcar-3277
Upgrade mantle container image to latest HEAD in flatcar-3277
2022-09-01 10:58:33 +02:00
Flatcar Buildbot
66d7a5a6c3 Update mantle container image to latest HEAD 2022-08-31 21:00:42 +00:00
flatcar-ci
092bbba567 New version: beta-3277.1.1-nightly-20220831-2100 2022-08-31 21:00:26 +00:00
Kai Lüke
74bc568e00
Merge pull request #432 from flatcar-linux/mantle-update-flatcar-3277
Upgrade mantle container image to latest HEAD in flatcar-3277
2022-08-31 12:29:42 +02:00
Flatcar Buildbot
a9aafd25ec Update mantle container image to latest HEAD 2022-08-31 10:29:24 +00:00
Krzesimir Nowak
d04f8d85b5 Merge pull request #437 from flatcar-linux/scripts
Small cleanups in tests
2022-08-31 12:11:37 +02:00
Krzesimir Nowak
22cd00f1fc ci-automation: Use an array for storing failed tests 2022-08-31 12:11:37 +02:00
Krzesimir Nowak
084f6e28ca 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:37 +02:00
Krzesimir Nowak
841fe33020 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:37 +02:00
Krzesimir Nowak
731cab027b ci-automation: Break test cycle properly
Create a tapfile and break out of the loop.
2022-08-31 12:11:36 +02:00
flatcar-ci
6879d7fdc8 New version: beta-3277.1.1-nightly-20220830-2100 2022-08-30 21:00:31 +00:00
Kai Lüke
72a574f02b
Merge pull request #428 from flatcar-linux/mantle-update-flatcar-3277
Upgrade mantle container image to latest HEAD in flatcar-3277
2022-08-30 11:29:06 +02:00
Flatcar Buildbot
caa054b773 Update mantle container image to latest HEAD 2022-08-30 09:26:30 +00:00
Dongsu Park
4667da20a0 New version: beta-3277.1.2 beta-3277.1.2 2022-08-29 18:06:58 +02:00
flatcar-ci
29bc032eff New version: beta-3277.1.1-nightly-20220825-2100 2022-08-25 21:00:28 +00:00
Krzesimir Nowak
d1e4f8c890
Merge pull request #420 from flatcar-linux/mantle-update-flatcar-3277
Upgrade mantle container image to latest HEAD in flatcar-3277
2022-08-25 16:25:33 +02:00
Krzesimir Nowak
b1b0b8e36a Merge pull request #412 from flatcar-linux/scripts
ci-automation: Fixes
2022-08-25 10:07:53 +02:00
Krzesimir Nowak
d17656431b 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:53 +02:00
Krzesimir Nowak
8c278422e6 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:53 +02:00
Krzesimir Nowak
4b0b1c0035 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:53 +02:00
Flatcar Buildbot
3b09b4d853 Update mantle container image to latest HEAD 2022-08-24 13:27:10 +00:00
flatcar-ci
059b17aecb New version: beta-3277.1.1-nightly-20220823-2100 2022-08-23 21:00:25 +00:00
flatcar-ci
69451647cb New version: beta-3277.1.1-nightly-20220819-2100 2022-08-19 21:00:26 +00:00
Krzesimir Nowak
014aee14e2
Merge pull request #415 from flatcar-linux/mantle-update-flatcar-3277
Upgrade mantle container image to latest HEAD in flatcar-3277
2022-08-19 16:24:45 +02:00
Flatcar Buildbot
495cf02c45 Update mantle container image to latest HEAD 2022-08-19 14:22:53 +00:00
flatcar-ci
ec78ac8de2 New version: beta-3277.1.1-nightly-20220818-2100 2022-08-18 21:00:28 +00:00
flatcar-ci
cba5b0931f New version: beta-3277.1.1-nightly-20220817-2100 2022-08-17 21:00:30 +00:00
flatcar-ci
fa1138e705 New version: beta-3277.1.1-nightly-20220812-2100 2022-08-12 21:00:24 +00:00
Kai Lüke
e2ca7d1fdf
Merge pull request #411 from flatcar-linux/mantle-update-flatcar-3277
Upgrade mantle container image to latest HEAD in flatcar-3277
2022-08-12 11:35:19 +02:00
Flatcar Buildbot
32af95d5f8 Update mantle container image to latest HEAD 2022-08-11 21:00:46 +00:00