Commit Graph

5075 Commits

Author SHA1 Message Date
flatcar-ci
0e74fe0306 New version: sdk-3197.0.0-nightly-20220402-0140 2022-04-02 04:37:29 +00:00
Kai Lueke
bd970357c8 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-01 17:18:51 +02:00
Thilo Fromm
5e8fbc4422
Merge pull request #268 from flatcar-linux/t-lo/ci-automation-remove-test-env
ci-automation/test.sh: remove PARALLEL_TESTS passing (move to CI)
2022-04-01 15:12:43 +02:00
Thilo Fromm
6dcfd9aeb6 ci-automation/test.sh: remove PARALLEL_TEST passing (move to CI)
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2022-04-01 13:59:47 +02:00
flatcar-ci
e22e5e7326 New version: sdk-3196.0.0-nightly-20220401-0140 2022-04-01 04:42:04 +00:00
flatcar-ci
3d761ed8e8 New version: sdk-3195.0.0-nightly-20220331-0140 2022-03-31 04:37:56 +00:00
flatcar-ci
d75c199726 New version: sdk-3194.0.0-nightly-20220330-0140 2022-03-30 04:37:33 +00:00
flatcar-ci
318d18f554 New version: sdk-3193.0.0-nightly-20220329-0140 2022-03-29 04:37:56 +00:00
flatcar-ci
0b4cb537e4 New version: sdk-3192.0.0-nightly-20220328-0140 2022-03-28 04:31:09 +00:00
flatcar-ci
9d235eee33 New version: sdk-3191.0.0-nightly-20220327-0140 2022-03-27 04:49:17 +00:00
flatcar-ci
9c344ce68e New version: sdk-3190.0.0-nightly-20220326-0139 2022-03-26 04:37:25 +00:00
Thilo Fromm
e0104d91b0
Merge pull request #263 from flatcar-linux/t-lo/sdk-stage1-improve-description
bootstrap_sdk: improve stage1 description
2022-03-25 13:50:46 +01:00
Thilo Fromm
f37df4230c
bootstrap_sdk: improve stage1 description
This change updates the documentation at the top of the script, calling out the limitations of stage1 (no stage isolation) early to avoid confusion.
2022-03-25 13:48:02 +01:00
flatcar-ci
c05bc54ed5 New version: sdk-3189.0.0-nightly-20220325-0139 2022-03-25 04:34:48 +00:00
Thilo Fromm
eff0e9e612
Merge pull request #261 from flatcar-linux/t-lo/ci-automation-export-parallel-tests
ci-automation/test.sh: export PARALLEL_TESTS
2022-03-23 12:24:02 +01:00
Thilo Fromm
1e0dc777fe 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:11:12 +01:00
flatcar-ci
434d305c89 New version: sdk-3187.0.0-nightly-20220323-0139 2022-03-23 04:43:46 +00:00
flatcar-ci
9bd3889b15 New version: sdk-3186.0.0-nightly-20220322-0139 2022-03-22 04:53:07 +00: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
flatcar-ci
722e8fc3bf New version: sdk-3178.0.0-nightly-20220314-0139 2022-03-14 04:45:46 +00:00
flatcar-ci
e784d11a67 New version: sdk-3176.0.0-nightly-20220312-0139 2022-03-12 04:53:20 +00:00
flatcar-ci
534d055f61 New version: sdk-3175.0.0-nightly-20220311-0139 2022-03-11 04:48:39 +00:00
Kai Lüke
c3142dd901
Merge pull request #250 from flatcar-linux/kai/test-aws
jenkins/kola/aws: run tests on additional instance types
2022-03-10 18:22:08 +01:00
Kai Lüke
e7e9c7abbf
Merge pull request #252 from flatcar-linux/kai/define-sysext-level
set_lsb_release: define Flatcar sysext level
2022-03-10 18:16:48 +01:00
Kai Lueke
7fafef2084 set_lsb_release: define Flatcar sysext level
Sysext images have a compatibility matching mechanism that searches for
the matching OS version or custom sysext level setting. On Flatcar
there is just the OS version set in /etc/os-release until now which
means that sysext images can't easily be used together with autoupdates
that change the OS version.

Define a sysext level for Flatcar so that users can refer to it instead
of the OS version when they have images that don't rely on a particular
Flatcar version.
Here an example of the now possible metadata:
/etc/extensions/NAME/usr/lib64/extension-release.d/extension-release.NAME
  ID=flatcar
  SYSEXT_LEVEL=1.0
and a symlink /etc/extensions/NAME/usr/lib → /etc/extensions/NAME/usr/lib64
to work around the problem that using lib/ as path destroys Flatcar's
lib → lib64 symlink.
In the future the matching logic hopefully gets more flexible because
now it is just a string comparison. Also, the architecture is not
matched either for now - we should work with upstream to improve this.

Closes: https://github.com/flatcar-linux/Flatcar/issues/643
2022-03-10 18:15:04 +01:00
Kai Lueke
d26530d4cb jenkins/kola/packet|aws: silence debug output of concurrent test
The concurrent tests' debug output is not helping and causes confusion.
2022-03-10 15:42:45 +01:00