4736 Commits

Author SHA1 Message Date
Flatcar Buildbot
bbccc24d7f Update mantle container image to latest HEAD 2022-04-27 04:54:49 +00:00
flatcar-ci
e58451d246 New version: stable-3139.2.0-nightly-20220427-0155 2022-04-27 03:57:39 +00:00
flatcar-ci
d1e8bbfe22 New version: stable-3139.2.0-nightly-20220426-0155 2022-04-26 03:52:54 +00:00
Kai Lüke
ad6fa4689f
Merge pull request #297 from flatcar-linux/mantle-update-flatcar-3139
Upgrade mantle container image to latest HEAD in flatcar-3139
2022-04-25 16:48:49 +09:00
Flatcar Buildbot
a7df6d9b26 Update mantle container image to latest HEAD 2022-04-25 07:11:21 +00:00
flatcar-ci
e3df43162d New version: stable-3139.2.0-nightly-20220423-0155 2022-04-23 03:54:59 +00:00
Kai Lüke
6f4a8396ad
Merge pull request #292 from flatcar-linux/mantle-update-flatcar-3139
Upgrade mantle container image to latest HEAD in flatcar-3139
2022-04-22 15:12:46 +09:00
Flatcar Buildbot
a114a6adb2 Update mantle container image to latest HEAD 2022-04-22 04:51:30 +00:00
flatcar-ci
00326a7dbb New version: stable-3139.2.0-nightly-20220422-0155 2022-04-22 03:53:51 +00:00
Kai Lueke
b0049f284c Merge pull request #280 from flatcar-linux/scripts
Use gangue compiled from Jenkins
2022-04-21 17:18:46 +09:00
Kai Lueke
7c639b0fcb Use gangue compiled from Jenkins
These scripts happened to use the copy of gangue in the SDK which isn't
expected because it should use the binaries complied by Jenkins.
2022-04-21 17:18:46 +09:00
flatcar-ci
8e97d52cc9 New version: stable-3139.2.0-nightly-20220421-0510 2022-04-21 07:09:19 +00:00
Kai Lüke
38fb2ffd4a
Merge pull request #282 from flatcar-linux/mantle-update-flatcar-3139
Upgrade mantle container image to latest HEAD in flatcar-3139
2022-04-21 11:37:58 +09:00
Flatcar Buildbot
c4f6ce1fc3 Update mantle container image to latest HEAD 2022-04-20 15:37:08 +00:00
Kai Lueke
5e4205944f Merge pull request #275 from flatcar-linux/scripts
Run CI container pipeline kola tests with the new mantle image
2022-04-20 19:19:19 +09:00
Kai Lueke
396dbd8f3c ci-automation: silence rsync
The rsync copy logs made it hard to navigate the job output.
Remove the --progress and -v flags.
2022-04-20 19:19:19 +09:00
Kai Lueke
547252553e Run CI container pipeline kola tests with the new mantle image
The SDK container does not exist for arm64 and is quite heavy. We
currently also resort to a unconditional rebuilding of mantle inside
the SDK.
Use the new mantle container image to run kola tests, and pin its
version through a text file that gets updated by GitHub Actions.
2022-04-20 19:19:19 +09:00
Kai Lueke
622969ad9b Merge pull request #271 from flatcar-linux/scripts
ci-automation/vms: rename equinix_metal to packet
2022-04-20 19:17:05 +09:00
Mathieu Tortuyaux
c9e69b2b64 ci-automation/vms: rename equinix_metal to packet
this is required to keep "packet" in the SDK linguo while the user can
use "equinix_metal" term.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Co-authored-by: Krzesimir Nowak <knowak@microsoft.com>
2022-04-20 19:17:05 +09:00
Jeremi Piotrowski
d068c79f02 Merge pull request #276 from flatcar-linux/scripts
jenkins: add azure_gen2 to arm64 formats
2022-04-20 09:20:18 +02:00
Jeremi Piotrowski
7e1e272b62 jenkins: add azure_gen2 to arm64 formats
Azure ARM64 instances entered preview, so produce images for them regularly
with every release now. Flatcar has supported Azure ARM64 since the first
release with the 5.15 kernel, which was something like 3139.0.0
2022-04-20 09:20:18 +02:00
flatcar-ci
c807354cda New version: stable-3139.2.0-nightly-20220415-0155 2022-04-15 03:56:08 +00:00
flatcar-ci
04ef24ea0a New version: stable-3139.2.0-nightly-20220414-0155 2022-04-14 03:55:14 +00:00
flatcar-ci
f51e4e1c67 New version: beta-3139.1.1-nightly-20220407-0155 2022-04-07 03:42:58 +00:00
Mathieu Tortuyaux
fbd451aee4
kola/gce: shrink hostname to be lower than 63 char
GCP Pro is failing because hostname is > 63 char:
```
Apr  5 19:52:27.522820 kubelet[1762]: E0405 19:52:27.522513    1762 kubelet_node_status.go:93] "Unable to register node with API server" err="Node \"jenkins-gce-pro-5-91a967ef5450cb932bc5.c.flatcar-212911.internal\" is invalid: metadata.labels: Invalid value: \"jenkins-gce-pro-5-91a967ef5450cb932bc5.c.flatcar-212911.internal\": must be no more than 63 characters" node="jenkins-gce-pro-5-91a967ef5450cb932bc5.c.flatcar-212911.internal"
```

Let's remove `jenkins` and `gce` from the hostname, these
information are not critical for debugging purposes.

Hostname should now looks like
"basic-5-91a967ef5450cb932bc5.c.flatcar-212911.internal" or
"pro-5-91a967ef5450cb932bc5.c.flatcar-212911.internal"

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-04-06 16:49:03 +02:00
flatcar-ci
9d53553890
New version: stable-3139.2.0 stable-3139.2.0 2022-04-05 20:26:23 +05:30
flatcar-ci
dcb1ed3cf6 New version: beta-3139.1.1-nightly-20220405-0155 2022-04-05 03:56:37 +00:00
Kai Lueke
bd0adf0d94 Merge pull request #266 from flatcar-linux/scripts
ci-automation: use a single git tag and skip nightlies with no changes
2022-04-04 17:20:34 +02:00
Kai Lueke
ebb38d1528 ci-automation: use a single git tag and skip nightlies with no changes
The pipeline created two tags if an SDK was built, one for the SDK and
one for the OS build (which was a free-standing tag or a local state
that was equivalent to the existing tag of the same name). The
nightlies created update commits on the main branch, even if no change
was done, and on the release branches we lacked these commits.

Create the release tag in the nightly SDK bootstrap already and reuse
it for the nightly OS build. Instead of local state, checkout the
existing tags explicitly. Extend the nightly update commit logic to
cover release branches and detect if we can skip building because no
changes were done.
2022-04-04 17:20:34 +02:00
Thilo Fromm
a518604e04 ci-automation/sdk_bootstrap: check submodules for nightly branch push
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2022-04-04 17:20:11 +02:00
Thilo Fromm
7d1b13b60d ci-automation/sdk_bootstrap: Only push to main in nightlies
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2022-04-04 17:20:11 +02:00
Thilo Fromm
d2e0703195 ci-automation: SDK build updates version.txt in main branch
This change has sdk_bootstrap update the origin branch when run from the
main branch, updating the SDK and OS version in 'main' for each SDK
bootstrap build.

Release / maintenance branches have the SDK version set in the
versionfile at release time. But main is never updated.

Updating the versionfile in main when a new SDK is built ensures that
dev branches based on main will also use the correct SDK version (e.g.
in subsequent CI builds).
2022-04-04 17:20:11 +02:00
Thilo Fromm
c50ac3f544 Merge pull request #268 from flatcar-linux/scripts
ci-automation/test.sh: remove PARALLEL_TESTS passing (move to CI)
2022-04-01 15:19:26 +02:00
Thilo Fromm
f9f393f9e9 ci-automation/test.sh: remove PARALLEL_TEST passing (move to CI)
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2022-04-01 15:19:26 +02:00
Thilo Fromm
b1dbc43899 Merge pull request #261 from flatcar-linux/scripts
ci-automation/test.sh: export PARALLEL_TESTS
2022-03-23 12:25:15 +01:00
Thilo Fromm
ed6b9d1bdd ci-automation/test.sh: export PARALLEL_TESTS
Export PARALLEL_TESTS in the container's .env file to ensure it is
passed to the vendor script.
2022-03-23 12:25:15 +01:00
Jeremi Piotrowski
5740bf3058 Merge pull request #260 from flatcar-linux/scripts
run_sdk_container: skip fetching image if custom_image is requested
2022-03-18 09:16:22 +01:00
Jeremi Piotrowski
c29b8438cf run_sdk_container: skip fetching image if custom_image is requested
In our CI most uses of run_sdk_container pass the '-C image' flag, which broke
with the last change, due to unbound docker_sdk_vernum variable. Skip fetching
the image when custom_image is passed.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2022-03-18 09:16:22 +01:00
Kai Lueke
c50822720b jenkins/images.sh: use correct board for comparison
The output always was about amd64 because the board was not set.
Pass the board along.
2022-03-17 17:07:38 +01:00
Thilo Fromm
c06fb8a653 Merge pull request #258 from flatcar-linux/scripts
ci-automation/test.sh: use the latest kola from coreos-overlay
2022-03-16 17:05:22 +01:00
Thilo Fromm
72ae0f6acf ci-automation/test.sh: use the latest kola from coreos-overlay 2022-03-16 17:05:22 +01:00
Kai Lueke
5bb23efeab Merge pull request #259 from flatcar-linux/scripts
run_sdk_container: Fall back to tar ball download for SDK image and other improvements
2022-03-16 16:59:53 +01:00
Kai Lueke
8626562660 run_sdk_container: add remove flag
At the moment one must remove the leftover containers manually.
Add a flag to do so when stopping the container.
2022-03-16 16:59:53 +01:00
Kai Lueke
4948026d61 run_sdk_container: recognize --help flag
When the user passes --help we should not start a container and throw a
late error message afterwards but show the help directly.
2022-03-16 16:59:53 +01:00
Kai Lueke
9403dacabe run_sdk_container: Fall back to tar ball download for SDK image
The nightly SDK image is not pushed to a registry but has to be
downloaded from the build server as tar ball.
Fall back to the tar ball import for a better user experience.
To reuse the ci logic it had to support the "docker" env variable.
The use of the pigz container is not always needed if the user has
pigz available.
2022-03-16 16:59:53 +01:00
Thilo Fromm
9b777fc3d8 Merge pull request #257 from flatcar-linux/scripts
ci-automation/tapfile_helper_lib.sh: remove non-printable ASCII
2022-03-16 11:00:20 +01:00
Thilo Fromm
761ed0d54e ci-automation/tapfile_helper_lib.sh: remove non-printable ASCII
Jenkins TAP file parser does not process non-printable ASCII characters
but bails out. This change removes all ASCII < 0x1F, so non-printable
characters are not included in the TAP report.

Fixes
    Caused by: unacceptable character '' (0x1B) special characters are not allowed
2022-03-16 11:00:19 +01:00
Thilo Fromm
fe4411eac1 Merge pull request #256 from flatcar-linux/scripts
ci-automation/vendor-testing/qemu_update.sh: fix unbound variable
2022-03-15 17:55:10 +01:00
Thilo Fromm
d09ec3b7f3 ci-automation/vendor-testing/qemu_update.sh: fix unbound
One-line fix to resolve
    ci-automation/vendor-testing/qemu_update.sh: line 64: testscript: unbound variable
error.

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2022-03-15 17:55:10 +01:00
Jeremi Piotrowski
a456748b33 Merge pull request #254 from flatcar-linux/scripts
jenkins/kola/azure: forward azure private networking parameters to kola
2022-03-14 20:40:10 +01:00