12 Commits

Author SHA1 Message Date
Kai Lueke
29e1e94522 Use new github org name "flatcar"
The "flatcar-linux" github org was renamed to "flatcar". There are no
github redirections in place and we have to update all links.
2022-09-14 14:52:47 +02:00
Kai Lueke
4031775741 .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:50 +02:00
Kai Lueke
41c30fe232 .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:31:10 +02:00
Kai Lueke
6cd8c62942 .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:05 +02:00
Gabriel Adrian Samfira
d2b7cc1338 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:16:12 +02:00
Gabriel Adrian Samfira
2f7beb66b8 Remove customizations for now
Remove arch and parallel options. Hardcode them for now.
2022-07-13 18:16:12 +02:00
Gabriel Adrian Samfira
04f1729e31 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:16:12 +02:00
Mathieu Tortuyaux
b68b906989 .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:16:12 +02:00
Gabriel Adrian Samfira
33a462850a 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:13:25 +02:00
Gabriel Adrian Samfira
19ac76082b Add CI workflow 2022-07-13 18:12:23 +02:00
Kai Lueke
bc0e2b521a .github: Update LTS mantle reference
The new LTS release will use the mantle container image.
Add automation to keep it up to date.
2022-05-04 14:33:31 +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