4782 Commits

Author SHA1 Message Date
Kai Lueke
e19e74dbf6 Merge pull request #280 from flatcar-linux/scripts
Use gangue compiled from Jenkins
2022-04-21 17:19:01 +09:00
Kai Lueke
bd3891cdb6 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:19:01 +09:00
flatcar-ci
47a3d2f268 New version: beta-3185.1.0-nightly-20220421-0510 2022-04-21 06:58:39 +00:00
Kai Lüke
9a607dcc49
Merge pull request #283 from flatcar-linux/mantle-update-flatcar-3185
Upgrade mantle container image to latest HEAD in flatcar-3185
2022-04-21 11:37:15 +09:00
Flatcar Buildbot
b89687c620 Update mantle container image to latest HEAD 2022-04-20 15:37:09 +00:00
Kai Lueke
87f989bed4 Merge pull request #275 from flatcar-linux/scripts
Run CI container pipeline kola tests with the new mantle image
2022-04-20 19:19:34 +09:00
Kai Lueke
0bd487b038 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:34 +09:00
Kai Lueke
521f5f2401 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:34 +09:00
Kai Lueke
fc95c94c1f Merge pull request #271 from flatcar-linux/scripts
ci-automation/vms: rename equinix_metal to packet
2022-04-20 19:17:38 +09:00
Mathieu Tortuyaux
8288044b96 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:38 +09:00
Jeremi Piotrowski
d10b2f797d Merge pull request #276 from flatcar-linux/scripts
jenkins: add azure_gen2 to arm64 formats
2022-04-20 09:20:38 +02:00
Jeremi Piotrowski
752a6be6ce 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:38 +02:00
flatcar-ci
8829b8ced2 New version: beta-3185.1.0-nightly-20220415-0155 2022-04-15 03:44:41 +00:00
flatcar-ci
a5038f6e0e New version: beta-3185.1.0-nightly-20220414-0155 2022-04-14 03:40:59 +00:00
flatcar-ci
93c940e7c4 New version: alpha-3185.0.0-nightly-20220407-0155 2022-04-07 03:26:56 +00:00
Mathieu Tortuyaux
8df215b92f
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:39 +02:00
flatcar-ci
9cb86e4dc1
New version: beta-3185.1.0 beta-3185.1.0 2022-04-05 20:19:34 +05:30
flatcar-ci
a712b7d2e4 New version: alpha-3185.0.0-nightly-20220405-0155 2022-04-05 03:43:52 +00:00
Kai Lueke
43b345e355 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:26:14 +02:00
Kai Lueke
3e0c0c4ba0 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:26:14 +02:00
Thilo Fromm
5940ffff4c Merge pull request #268 from flatcar-linux/scripts
ci-automation/test.sh: remove PARALLEL_TESTS passing (move to CI)
2022-04-01 15:19:41 +02:00
Thilo Fromm
662707487b ci-automation/test.sh: remove PARALLEL_TEST passing (move to CI)
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2022-04-01 15:19:41 +02:00
Thilo Fromm
d96cfae1a3 Merge pull request #261 from flatcar-linux/scripts
ci-automation/test.sh: export PARALLEL_TESTS
2022-03-23 12:25:43 +01:00
Thilo Fromm
308d96c1e4 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:43 +01:00
Dongsu Park
1ea0a2213d New version: alpha-3185.0.0 alpha-3185.0.0 2022-03-21 18:14:58 +01:00
flatcar-ci
f182192dd7 New version: sdk-3185.0.0-nightly-20220321-0139 2022-03-21 04:44:59 +00:00
flatcar-ci
e2f53bedff New version: sdk-3184.0.0-nightly-20220320-0139 2022-03-20 04:44:53 +00:00
flatcar-ci
6e47a65ff1 New version: sdk-3183.0.0-nightly-20220319-0139 2022-03-19 04:43:56 +00:00
flatcar-ci
1aabf5db93 New version: sdk-3182.0.0-nightly-20220318-0139 2022-03-18 04:36:03 +00:00
Kai Lüke
96f68bd254
Merge pull request #255 from flatcar-linux/kai/split-lib
Support split lib and lib64 layout
2022-03-17 17:05:56 +01:00
Kai Lueke
e65d09844c 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 12:01:02 +01:00
Kai Lueke
e2759a3e67 build_library/set_lsb_release: create compatibility symlink
The os-release file was not only accessible through /usr/lib/ but
also through /usr/lib64 because "lib" was just a symlink.
Now that we split them up into two directories, add a compatibility
symlink in case /usr/lib64 was used to access os-release. A check
is added to also work without the split which is useful if the split
is not done for the SDK at the same time.
2022-03-17 11:58:12 +01:00
Kai Lueke
ee46cf104b build_library/check_root: use the new location for kernel modules
The standard location is /usr/lib/modules but on Flatcar "lib" was a
symlink to "lib64". Now this is going to be split up in separate
directories but with compatibility symlinks.
Add the new location to the ignore list.
2022-03-17 11:56:26 +01:00
Jeremi Piotrowski
2dc19b3d4a
Merge pull request #260 from flatcar-linux/jepio/run_sdk_container-custom-image-fix
run_sdk_container: skip fetching image if custom_image is requested
2022-03-17 11:28:42 +01:00
Jeremi Piotrowski
afbee30067 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-17 09:07:31 +01:00
flatcar-ci
90ea343ac1 New version: sdk-3181.0.0-nightly-20220317-0139 2022-03-17 04:35:48 +00:00
Thilo Fromm
9b83d3e80b
Merge pull request #258 from flatcar-linux/t-lo/ci-automation-tests-use-latest-kola
ci-automation/test.sh: use the latest kola from coreos-overlay
2022-03-16 17:04:16 +01:00
Kai Lüke
fc1620ae3e
Merge pull request #259 from flatcar-linux/kai/run-nightly-sdk
run_sdk_container: Fall back to tar ball download for SDK image and other improvements
2022-03-16 16:58:03 +01:00
Kai Lueke
cc9d43b01e 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 15:55:14 +01:00
Kai Lueke
a0574bcf37 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 15:36:32 +01:00
Kai Lueke
c149d24ced 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 15:31:03 +01:00
Thilo Fromm
6286b0a442 ci-automation/test.sh: use the latest kola from coreos-overlay 2022-03-16 14:14:46 +01:00
Thilo Fromm
08b620b5de
Merge pull request #257 from flatcar-linux/t-lo/ci-automation-tap-remove-nonprint-ascii
ci-automation/tapfile_helper_lib.sh: remove non-printable ASCII
2022-03-16 10:59:08 +01:00
Thilo Fromm
a9700e16fb 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 09:37:48 +01:00
flatcar-ci
24a74477a8 New version: sdk-3180.0.0-nightly-20220316-0139 2022-03-16 04:46:27 +00:00
Thilo Fromm
aaf17af27d
Merge pull request #256 from flatcar-linux/t-lo/ci-automation-fix-update-test
ci-automation/vendor-testing/qemu_update.sh: fix unbound variable
2022-03-15 17:53:58 +01:00
Thilo Fromm
53c90388c0 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:39:28 +01:00
flatcar-ci
1ff70fb888 New version: sdk-3179.0.0-nightly-20220315-0754 2022-03-15 11:06:55 +00:00
Jeremi Piotrowski
d28ceb03b7
Merge pull request #254 from flatcar-linux/jepio/azure-private-networking
jenkins/kola/azure: forward azure private networking parameters to kola
2022-03-14 20:33:31 +01:00
Jeremi Piotrowski
b353d8cf6b jenkins/kola/azure: forward azure private networking parameters to kola
These allow the configuration of virtual network for the created
instances to join, and tell kola to use the private instance IP for
connectivity.
2022-03-14 15:35:24 +01:00