4897 Commits

Author SHA1 Message Date
flatcar-ci
0ff60db70f New version: lts-3033.3.5-nightly-20220907-2100 2022-09-07 21:00:31 +00:00
Krzesimir Nowak
0e7c592de4 Merge pull request #452 from flatcar-linux/scripts
*: Allow specifying extra URLs for torcx packages
2022-09-07 15:13:49 +02:00
Krzesimir Nowak
d731a80251 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:13:49 +02:00
Krzesimir Nowak
7ed92b8aa9 *: 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:13:49 +02:00
flatcar-ci
a51daaff41 New version: lts-3033.3.5-nightly-20220906-2100 2022-09-06 21:00:31 +00:00
flatcar-ci
4a4cbccada New version: lts-3033.3.5-nightly-20220905-2100 2022-09-05 21:00:26 +00:00
Kai Lueke
bfc092ee5b Merge pull request #445 from flatcar-linux/scripts
ci-automation: Prepare new release job
2022-09-05 16:10:17 +02:00
Kai Lueke
8909ce380f 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:17 +02:00
Kai Lueke
1476be6ccf 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:17 +02:00
Kai Lüke
bb88920fcc
Merge pull request #448 from flatcar-linux/mantle-update-flatcar-3033
Upgrade mantle container image to latest HEAD in flatcar-3033
2022-09-05 09:35:39 +02:00
Flatcar Buildbot
4ce5a3a43c Update mantle container image to latest HEAD 2022-09-05 07:25:34 +00:00
flatcar-ci
3e5a348f32 New version: lts-3033.3.5-nightly-20220902-2100 2022-09-02 21:00:24 +00:00
flatcar-ci
b5fbd81d0a New version: lts-3033.3.5-nightly-20220901-2100 2022-09-01 21:00:30 +00:00
Kai Lueke
a43688bb36 Merge pull request #425 from flatcar-linux/scripts
Cover Equinix Metal m3.small.x86 instances in release test
2022-09-01 13:34:53 +02:00
Kai Lueke
a9fbe9bbb5 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:34:53 +02:00
Kai Lueke
1920f4ecb7 Merge pull request #438 from flatcar-linux/scripts
Support running under UID 500
2022-09-01 11:02:21 +02:00
Kai Lueke
b5d1ddb35b 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:21 +02:00
Kai Lueke
4dfc99f3d3 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:21 +02:00
Kai Lüke
07e282f30b
Merge pull request #444 from flatcar-linux/mantle-update-flatcar-3033
Upgrade mantle container image to latest HEAD in flatcar-3033
2022-09-01 10:58:46 +02:00
Flatcar Buildbot
496590b6dd Update mantle container image to latest HEAD 2022-08-31 21:00:42 +00:00
flatcar-ci
348af86862 New version: lts-3033.3.4-nightly-20220831-2100 2022-08-31 21:00:30 +00:00
Kai Lüke
aef95d171e
Merge pull request #436 from flatcar-linux/mantle-update-flatcar-3033
Upgrade mantle container image to latest HEAD in flatcar-3033
2022-08-31 12:29:49 +02:00
Flatcar Buildbot
a1c81ffdeb Update mantle container image to latest HEAD 2022-08-31 10:29:21 +00:00
Krzesimir Nowak
c60876d389 Merge pull request #437 from flatcar-linux/scripts
Small cleanups in tests
2022-08-31 12:11:18 +02:00
Krzesimir Nowak
9def5c8654 ci-automation: Use an array for storing failed tests 2022-08-31 12:11:18 +02:00
Krzesimir Nowak
821235754c 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:18 +02:00
Krzesimir Nowak
3ce85303f6 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:18 +02:00
Krzesimir Nowak
4f58e1f110 ci-automation: Break test cycle properly
Create a tapfile and break out of the loop.
2022-08-31 12:11:18 +02:00
flatcar-ci
c4aa61b055 New version: lts-3033.3.4-nightly-20220830-2100 2022-08-30 21:00:37 +00:00
Kai Lüke
aa051ea2a8
Merge pull request #430 from flatcar-linux/mantle-update-flatcar-3033
Upgrade mantle container image to latest HEAD in flatcar-3033
2022-08-30 11:29:20 +02:00
Flatcar Buildbot
603903f7a4 Update mantle container image to latest HEAD 2022-08-30 09:26:27 +00:00
Dongsu Park
ae8e10a575 New version: lts-3033.3.5 lts-3033.3.5 2022-08-29 18:03:57 +02:00
flatcar-ci
83c56de18a New version: lts-3033.3.4-nightly-20220825-2100 2022-08-25 21:00:27 +00:00
Krzesimir Nowak
1fa9a72f8e
Merge pull request #424 from flatcar-linux/mantle-update-flatcar-3033
Upgrade mantle container image to latest HEAD in flatcar-3033
2022-08-25 16:24:54 +02:00
Krzesimir Nowak
bb2d2bbd86 Merge pull request #412 from flatcar-linux/scripts
ci-automation: Fixes
2022-08-25 10:08:10 +02:00
Krzesimir Nowak
020d9d912d 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:08:10 +02:00
Krzesimir Nowak
86a690edec 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:08:10 +02:00
Krzesimir Nowak
22b0837da2 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:08:10 +02:00
Flatcar Buildbot
60968cd2bd Update mantle container image to latest HEAD 2022-08-24 13:27:11 +00:00
flatcar-ci
9e30bf0659 New version: lts-3033.3.4-nightly-20220823-2100 2022-08-23 21:00:24 +00:00
flatcar-ci
7018947cb9 New version: lts-3033.3.4-nightly-20220819-2100 2022-08-19 21:00:26 +00:00
Krzesimir Nowak
fcc578857d
Merge pull request #416 from flatcar-linux/mantle-update-flatcar-3033
Upgrade mantle container image to latest HEAD in flatcar-3033
2022-08-19 16:24:45 +02:00
Flatcar Buildbot
e698d87607 Update mantle container image to latest HEAD 2022-08-19 14:22:53 +00:00
flatcar-ci
d031e28e9a New version: lts-3033.3.4-nightly-20220816-2100 2022-08-16 21:00:30 +00:00
flatcar-ci
8e8b3ec6fa New version: lts-3033.3.4-nightly-20220812-2100 2022-08-12 21:00:24 +00:00
Kai Lüke
b03a28cbfa
Merge pull request #407 from flatcar-linux/mantle-update-flatcar-3033
Upgrade mantle container image to latest HEAD in flatcar-3033
2022-08-12 11:32:22 +02:00
Flatcar Buildbot
54ae38d4b7 Update mantle container image to latest HEAD 2022-08-11 21:00:42 +00:00
flatcar-ci
cbc83d00d9 New version: lts-3033.3.4-nightly-20220811-2100 2022-08-11 21:00:24 +00:00
Kai Lüke
087e6dbe09
Merge pull request #401 from flatcar-linux/mantle-update-flatcar-3033
Upgrade mantle container image to latest HEAD in flatcar-3033
2022-08-11 11:29:45 +02:00
Flatcar Buildbot
a6386391d7 Update mantle container image to latest HEAD 2022-08-11 09:29:11 +00:00