8 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Gabriel Adrian Samfira
1568aa3f45 Add CI workflow 2022-07-13 18:11:42 +02:00