Commit Graph

4822 Commits

Author SHA1 Message Date
Kai Lüke
28ee2a3256
Merge pull request #298 from flatcar-linux/kai/test-lts
CI: Support comparing to current LTS and updating from it
2022-04-29 16:34:47 +09:00
flatcar-ci
54b5fedc66 New version: main-3224.0.0-nightly-20220429-0155 2022-04-29 04:49:52 +00:00
Mathieu Tortuyaux
4bd316ac74
Merge pull request #272 from flatcar-linux/tormath1/pxe
ci-automation/vm: build PXE if Equinix Metal is built
2022-04-28 11:52:52 +02:00
Kai Lüke
60d74ceacd
Merge pull request #305 from flatcar-linux/kai/tormath1/pxe-plus-test-script-names
ci-automation/vms: handle platform names and generate the image formats
2022-04-28 18:00:20 +09:00
Kai Lueke
9a98cc2917 ci-automation/vms: handle platform names and generate the image formats
The kola test scripts are named by the platforms. The image naming is
also quite difficult to know and remember, e.g., whether "ami" or
"ami_vmdk" is needed for AWS tests and whether it's "vmware" or
"vmware_ova".

To address these problems the vms build stage now accepts the platform
names as format input, and for each platform it will automatically
generate the needed image types to run the tests.
2022-04-28 17:15:02 +09:00
Kai Lüke
9c2d5248d6
Merge pull request #306 from flatcar-linux/kai/gc-pipeline
ci-automation/garbage_collect: clean up kola cloud resources
2022-04-28 16:45:14 +09:00
Kai Lueke
c4af762e26 ci-automation/garbage_collect: clean up kola cloud resources
The garbage collect job should also clean up kola resources if a test
job failed to do so due to forced terminator or misbehavior. The
cleanup is done by "ore" which needs credentials like kola.

Run ore from the mantle container image. Unfortunately Docker does not
support Podman's --env-host option and the env vars had to be passed
explicitly. While --env-file=<(env) would work it contains a lot of
variables that cause the container to behave a bit weird.
2022-04-28 16:27:14 +09:00
flatcar-ci
fc2b1b47c5 New version: main-3223.0.0-nightly-20220428-0155 2022-04-28 04:52:28 +00:00
Kai Lüke
4e90dccabe
Merge pull request #303 from flatcar-linux/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-04-28 00:16:31 +09:00
Flatcar Buildbot
0f0c613366 Update mantle container image to latest HEAD 2022-04-27 04:54:50 +00:00
flatcar-ci
0464fd65c3 New version: main-3222.0.0-nightly-20220427-0155 2022-04-27 04:54:33 +00:00
Kai Lueke
856929d357 CI: Support comparing to current LTS and updating from it
When the restriction that the CI can't access the LTS release is gone
we can support to run the image comparison and the kola update test.
2022-04-26 15:00:31 +09:00
flatcar-ci
8aaa851d55 New version: main-3221.0.0-nightly-20220426-0155 2022-04-26 04:52:10 +00:00
Kai Lüke
d705266237
Merge pull request #294 from flatcar-linux/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-04-25 16:37:41 +09:00
Flatcar Buildbot
571ab52d16 Update mantle container image to latest HEAD 2022-04-25 07:11:20 +00:00
flatcar-ci
343807d40e New version: main-3218.0.0-nightly-20220423-0155 2022-04-23 04:48:01 +00:00
Kai Lüke
b36aa11373
Merge pull request #289 from flatcar-linux/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-04-22 15:12:32 +09:00
Flatcar Buildbot
cd1b428add Update mantle container image to latest HEAD 2022-04-22 04:51:28 +00:00
flatcar-ci
de9804e58a New version: main-3217.0.0-nightly-20220422-0155 2022-04-22 04:51:11 +00:00
Kai Lüke
fb93dd9f0f
Merge pull request #280 from flatcar-linux/kai/drop-kola-from-sdk
Use gangue compiled from Jenkins
2022-04-21 17:18:14 +09:00
flatcar-ci
1348d772d1 New version: main-3216.0.0-nightly-20220421-0510 2022-04-21 08:13:00 +00:00
Kai Lüke
b1a0df4858
Merge pull request #284 from flatcar-linux/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-04-21 11:37:37 +09:00
Kai Lueke
2c29875627 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 11:34:36 +09:00
Flatcar Buildbot
10ee8a0752 Update mantle container image to latest HEAD 2022-04-20 15:37:10 +00:00
Krzesimir Nowak
c77a5455f9
Merge pull request #281 from flatcar-linux/krnowak/doc-updates
ci-automation: Update test.sh script docs
2022-04-20 17:36:51 +02:00
Krzesimir Nowak
1916936e34 ci-automation: Update test.sh script docs
We are not using SDK container for running the tests any more - it was
replaced with mantle container. Update the docs accordingly.
2022-04-20 16:34:07 +02:00
Mathieu Tortuyaux
19ca42b3dd
ci-automation/vm: build PXE if Equinix Metal is built
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-04-20 16:33:00 +02:00
Kai Lüke
721fc9f649
Merge pull request #275 from flatcar-linux/kai/mantle-container
Run CI container pipeline kola tests with the new mantle image
2022-04-20 19:16:02 +09:00
Kai Lueke
98e9947a06 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:13:02 +09:00
Kai Lueke
da0380c7e8 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:13:02 +09:00
Jeremi Piotrowski
b50e8743a0
Merge pull request #276 from flatcar-linux/jepio/azure-arm64-regular-release
jenkins: add azure_gen2 to arm64 formats
2022-04-20 09:18:32 +02:00
Jeremi Piotrowski
e70a6436aa 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 08:33:26 +02:00
flatcar-ci
8761e49e7c New version: main-3210.0.0-nightly-20220415-0155 2022-04-15 04:52:05 +00:00
flatcar-ci
81d6165f8c New version: main-3209.0.0-nightly-20220414-0155 2022-04-14 04:52:26 +00:00
Mathieu Tortuyaux
4d352c07ca
Merge pull request #271 from flatcar-linux/tormath1/packet
ci-automation/vms: rename equinix_metal to packet
2022-04-13 13:10:45 +02:00
Mathieu Tortuyaux
de7e05403b
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-13 13:09:51 +02:00
flatcar-ci
6efbee7429 New version: main-3208.0.0-nightly-20220413-0155 2022-04-13 04:46:50 +00:00
flatcar-ci
8459c55d36 New version: main-3204.0.0-nightly-20220409-0155 2022-04-09 04:46:28 +00:00
flatcar-ci
0fb52387a0 New version: main-3202.0.0-nightly-20220407-0155 2022-04-07 04:54:41 +00:00
Mathieu Tortuyaux
146e8915e7
Merge pull request #269 from flatcar-linux/tormath1/fix-gce
kola/gce: shrink hostname to be lower than 63 char
2022-04-06 16:46:01 +02:00
Mathieu Tortuyaux
ae73d66a07
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:45:31 +02:00
flatcar-ci
8a92736a1d New version: main-3201.0.0-nightly-20220406-0155 2022-04-06 04:46:22 +00:00
flatcar-ci
c547aed816 New version: main-3200.0.0-nightly-20220405-0155 2022-04-05 04:57:50 +00:00
Kai Lüke
7376494ef2
Merge pull request #266 from flatcar-linux/kai/sdk-from-release-tag
ci-automation: use a single git tag and skip nightlies with no changes
2022-04-04 17:12:36 +02:00
flatcar-ci
ae6d9d78ff New version: sdk-3199.0.0-nightly-20220404-0656 2022-04-04 10:10:17 +00:00
flatcar-ci
6a922baf36 New version: sdk-3199.0.0-nightly-20220404-0140 2022-04-04 04:40:56 +00:00
flatcar-ci
9d31755e33 New version: sdk-3198.0.0-nightly-20220403-0140 2022-04-03 04:36:00 +00:00
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