4842 Commits

Author SHA1 Message Date
Krzesimir Nowak
75eb503b53 ci-automation: Sync used EquinixMetal region to use for ARM64 servers
Recently we changed the region from DA (Dallas) to DC (Washington),
because there are more ARM64 servers available. Reflect this change in
the new pipeline too.
2022-08-05 13:23:29 +02:00
Krzesimir Nowak
e1a0552d3e Merge pull request #397 from flatcar-linux/scripts
Fixes for azure vendor test
2022-08-05 13:23:23 +02:00
Krzesimir Nowak
a7bde839ca ci-automation/vendor-testing/azure.sh: Use an array for extra instance types 2022-08-05 13:23:23 +02:00
Krzesimir Nowak
cade74abb5 ci-automation/vendor-testing/azure.sh: Use proper machine size on arm64 2022-08-05 13:23:23 +02:00
Krzesimir Nowak
fc73f3c72f ci-automation/vendor-testing/azure.sh: Fix unbound variable use
This gets triggered when the test is rerun and an existing image is
reused.
2022-08-05 13:23:23 +02:00
Krzesimir Nowak
af92d6a829 ci-automation/vendor-testing/azure.sh: Fix hyperv generation argument
The "v" must be a capital letter. It seems that Azure got picker about
parameters it accepts.
2022-08-05 13:23:23 +02:00
Dongsu Park
3519ad4302 New version: lts-3033.3.4 lts-3033.3.4 2022-08-03 18:58:55 +02:00
Dongsu Park
3428369e48 New version: lts-3033.3.4 2022-08-03 18:57:49 +02:00
flatcar-ci
a6677b7d3d New version: lts-3033.3.3-nightly-20220802-2100 2022-08-02 21:00:28 +00:00
flatcar-ci
a4afe88c2e New version: lts-3033.3.3-nightly-20220725-2100 2022-07-25 21:00:31 +00:00
flatcar-ci
160b94180b New version: lts-3033.3.2-nightly-20220720-2100 2022-07-20 21:00:25 +00:00
Dongsu Park
f6c86f95c7 jenkins: fix PACKET_REGION to DC for more servers available
`c3.large.arm64` instances of Equinix Metal are available in metro
either `DA` or `DC`. However, recently arm64 CI builds started to fail
due to too few servers available in the DA metro. As the DC metro has
more servers available, let's change metro to DC.

How to check how many servers are available in a specific metro:

```
curl -X POST \
  -H "Content-Type: application/json" -H "X-Auth-Token: ..." \
  https://api.equinix.com/metal/v1/capacity/metros \
  -d '{"servers": [ { \
    "metro": "dc", \
    "plan": "c3.large.arm64", \
     "quantity": 34 \
  } ] }'
curl -X POST \
  -H "Content-Type: application/json" -H "X-Auth-Token: ..." \
  https://api.equinix.com/metal/v1/capacity/metros \
  -d '{"servers": [ { \
    "metro": "da", \
    "plan": "c3.large.arm64", \
    "quantity": 17 \
  } ] }'
```
2022-07-20 15:22:41 +02:00
flatcar-ci
192f043758 New version: lts-3033.3.2-nightly-20220719-2100 2022-07-19 21:00:29 +00:00
Kai Lueke
1b515d875b Merge pull request #386 from flatcar-linux/scripts
ci-automation: Move git tagging into own script
2022-07-19 19:37:33 +02:00
Kai Lueke
511e130a67 ci-automation: Move git tagging into own script
When the build system runs the packages jobs for both architectures in
parallel and has to create a new tag, tagging fails due to the race in
the tagging.
Move the git tagging to its own script that is run from a new top-level
job that starts the packages jobs for both architectures.
2022-07-19 19:37:33 +02:00
Sayan Chowdhury
26df403cf8
New version: lts-3033.3.3 lts-3033.3.3 2022-07-19 15:33:58 +05:30
Kai Lueke
72927da3b7 Merge pull request #387 from flatcar-linux/scripts
.github: Specify remote when checking out c-o/p-s ref in workflow
2022-07-18 20:34:12 +02:00
Kai Lueke
baa886db0a .github: Specify remote when checking out c-o/p-s ref in workflow
When the specified remote contains a same-named branch as origin,
the checkout fails with "fatal: 'X' matched multiple (Y) remote
tracking branches".
Add the remote name as prefix to make the reference unambiguous.
2022-07-18 20:34:12 +02:00
flatcar-ci
9d31c5a8e5 New version: lts-3033.3.2-nightly-20220715-2100 2022-07-15 21:02:38 +00:00
Kai Lueke
5da118ecf6 Merge pull request #384 from flatcar-linux/scripts
.github: Use lxc containers for amd64 kola tests, too
2022-07-15 12:32:59 +02:00
Kai Lueke
26b1e43aef .github: Use lxc containers for amd64 kola tests, too
While we moved the arm64 tests to lxc containers, amd64 stayed on VMs
which were not easy to scale up.
Now the GitHub Action runner is running on lxc containers and we can
spawn more VMs in parallel because it has no memory limit.
2022-07-15 12:32:59 +02:00
flatcar-ci
86784e39c2 New version: lts-3033.3.2-nightly-20220714-2100 2022-07-14 21:02:11 +00:00
Krzesimir Nowak
a8fe70284c Merge pull request #377 from flatcar-linux/scripts
build_library: Try to clean up unused stuff
2022-07-14 17:09:44 +02:00
Krzesimir Nowak
7fe977104a build_library: Try to clean up unused stuff
There is some cruft left after grub hashes generation. After the
contents are zipped into archive, they don't need to be around any
more.

Try to remove the rootfs directory after unmounting the
image. disk_util can recreate it again if there is a need for it.

Remove the build directory used for generating ACI images - it's not
needed after successful installation.
2022-07-14 17:09:44 +02:00
Kai Lueke
5377e07822 Merge pull request #376 from flatcar-linux/scripts
ci-automation: Generate digests for artifacts
2022-07-14 16:54:24 +02:00
Krzesimir Nowak
d0572e7250 ci-automation: Generate digests files for the built artifacts 2022-07-14 16:54:24 +02:00
Krzesimir Nowak
bc712cc43b ci-automation: Add a function for generating digests
It works in a similar way to sign_artifacts - it takes a signer, a
list of files and directories, and generates digests next to the
respective files.
2022-07-14 16:54:24 +02:00
Krzesimir Nowak
c87d2d965f ci-automation: Factor out listing files into a separate function
This will come in handy when listing files for creating digests files.
2022-07-14 16:54:24 +02:00
Kai Lueke
11856cc1c1 Merge pull request #375 from flatcar-linux/scripts
ci-automation: Show changes by finding the previous channel
2022-07-14 13:45:41 +02:00
Kai Lueke
5901e130b6 ci-automation: Show changes by finding the previous channel
The image comparison was done against the old release in the channel
we release to instead of the previous release with the same major
version. This means when a channel transition happens we see a large
diff instead of the diff against the previous release. While not bad
for finding problems, this is normally not needed. However, we want
to have two changelogs generated, one against the old release in the
channel we relese to and one against the previous release with the same
major version when a transition happens. There was no changelog
printing yet, and this is added now.
2022-07-14 13:45:41 +02:00
flatcar-ci
82860d48ff New version: lts-3033.3.2-nightly-20220713-2100 2022-07-13 21:02:02 +00:00
Kai Lüke
b458c0ba80
Merge pull request #383 from flatcar-linux/mantle-update-flatcar-3033
Upgrade mantle container image to latest HEAD in flatcar-3033
2022-07-13 18:25:35 +02:00
Kai Lueke
90a8effdc3 Merge pull request #356 from flatcar-linux/scripts
.github: Run CI workflow only for PR events
2022-07-13 18:19:57 +02:00
Kai Lueke
9f90d5d8a4 .github: Run CI workflow only for PR events
Building for the branch push event causes two builds per PR and is not
needed anyway (we have nightly builds for the main branch).
Only consider PR events to trigger the CI build.
2022-07-13 18:19:57 +02:00
Kai Lueke
32b0995a32 Merge pull request #374 from flatcar-linux/scripts
Make the kola test workflow reusable
2022-07-13 18:15:33 +02:00
Gabriel Adrian Samfira
3811a9952b Update kola test workflow
* arm64 tests now run in LXD containers instead of VMs
  * parallelism increased for arm64
  * some setup steps are skipped on arm64

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2022-07-13 18:15:33 +02:00
Gabriel Adrian Samfira
d6911b53e0 Disable image mangle in qemu tests
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2022-07-13 18:15:33 +02:00
Gabriel Adrian Samfira
dae12067c2 Make QEMU_UEFI_BIOS configurable
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2022-07-13 18:15:33 +02:00
Gabriel Adrian Samfira
be9298f45d Remove customizations for now
Remove arch and parallel options. Hardcode them for now.
2022-07-13 18:15:33 +02:00
Gabriel Adrian Samfira
3cbb6cbd04 Make the kola test workflow reusable
* Adds a reusable workflow that can run tests
  * Adapts the ci.yaml to use reusable workflow
  * Creates a new workflow that helps trigger tests using an arbitrary
    workflow run.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2022-07-13 18:15:33 +02:00
Gabriel Adrian Samfira
680d2521ac Add configuration options to test functions
* Add SKIP_COPY_TO_BINCACHE environment variable that will skip
    uploading test results to bincache. This is useful if we want to
    upload test results as artifacts on github.
  * make QEMU_IMAGE_NAME configurable

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2022-07-13 18:15:33 +02:00
Mathieu Tortuyaux
6f10a231ce .github/ci: add kola qemu test
this initial attempt runs right after the "packages" jobs and downloads
the resulting artifacts.

The QEMU image is unzipped then the kola test is running using the
ci-automation scripts.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-07-13 18:15:33 +02:00
Kai Lueke
9be829fe2d Merge pull request #366 from flatcar-linux/scripts
Add concurency setting to CI workflow
2022-07-13 18:14:11 +02:00
Gabriel Adrian Samfira
b34fc75ee1 Add concurency setting to CI workflow
This change will prompt the CI workflow to cancel a currently running
job, if a new push is sent in a PR. This should prevent duplicate jobs
running for the same PR simultaneously.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2022-07-13 18:14:11 +02:00
Kai Lueke
909b43a190 Merge pull request #354 from flatcar-linux/scripts
Add CI workflow
2022-07-13 18:11:42 +02:00
Gabriel Adrian Samfira
1568aa3f45 Add CI workflow 2022-07-13 18:11:42 +02:00
Flatcar Buildbot
6a924bdd1d Update mantle container image to latest HEAD 2022-07-13 16:10:04 +00:00
flatcar-ci
8c105c4c41 New version: lts-3033.3.2-nightly-20220711-2100 2022-07-11 21:02:20 +00:00
Kai Lüke
6c2a318cf1
Merge pull request #370 from flatcar-linux/mantle-update-flatcar-3033
Upgrade mantle container image to latest HEAD in flatcar-3033
2022-07-11 12:11:06 +02:00
Flatcar Buildbot
732cc6e2e1 Update mantle container image to latest HEAD 2022-07-11 07:10:35 +00:00