4996 Commits

Author SHA1 Message Date
Krzesimir Nowak
ea98e8e3bc ci-automation/vendor-testing/azure.sh: Use an array for extra instance types 2022-08-05 13:22:56 +02:00
Krzesimir Nowak
27abebb190 ci-automation/vendor-testing/azure.sh: Use proper machine size on arm64 2022-08-05 13:22:56 +02:00
Krzesimir Nowak
f34f52706d 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:22:56 +02:00
Krzesimir Nowak
9fa0f0f8f9 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:22:56 +02:00
flatcar-ci
ac0db57046 New version: beta-3277.1.1-nightly-20220804-2100 2022-08-04 21:00:26 +00:00
Dongsu Park
1aba46efa6 New version: beta-3277.1.1 beta-3277.1.1 2022-08-03 19:00:35 +02:00
flatcar-ci
fb9e6f15d5 New version: beta-3277.1.0-nightly-20220802-2100 2022-08-02 21:00:34 +00:00
flatcar-ci
673607a786 New version: beta-3277.1.0-nightly-20220801-2100 2022-08-01 21:00:31 +00:00
flatcar-ci
ea5b6fd071 New version: beta-3277.1.0-nightly-20220728-2100 2022-07-28 21:00:31 +00:00
flatcar-ci
90ad0fd334 New version: beta-3277.1.0-nightly-20220727-2100 2022-07-27 21:00:25 +00:00
Jeremi Piotrowski
bc271dc7fa Merge pull request #391 from flatcar-linux/scripts
prod_image_util: extract gcc libs to /usr/lib64
2022-07-27 11:28:01 +02:00
Jeremi Piotrowski
608a60fefd prod_image_util: extract gcc libs to /usr/lib64
This made no difference back when lib was a symlink to lib64, but now that they are separate,
libs belongs in /usr/lib64. This  mostly doesn't show up because ldconfig configures the ld.so cache
to include both locations, but when updating from an older release ld.so.cache is out of date.
Unfortunately ld.so.cache does not get updated until after multipathd, which causes
multipathd to dump core. This may also affect other packages that need access to
libgcc early.

See also: https://github.com/flatcar-linux/Flatcar/issues/809
2022-07-27 11:28:01 +02:00
flatcar-ci
ec5b09db93 New version: beta-3277.1.0-nightly-20220726-2100 2022-07-26 21:00:23 +00:00
flatcar-ci
f9b8def3d4 New version: beta-3277.1.0-nightly-20220725-2100 2022-07-25 21:00:26 +00:00
flatcar-ci
5ee2c60a28 New version: alpha-3277.0.0-nightly-20220720-2100 2022-07-20 21:00:29 +00:00
Dongsu Park
186da18b0f 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:23:38 +02:00
flatcar-ci
395094cfe6 New version: alpha-3277.0.0-nightly-20220719-2100 2022-07-19 21:00:29 +00:00
Kai Lueke
516b35830c Merge pull request #386 from flatcar-linux/scripts
ci-automation: Move git tagging into own script
2022-07-19 19:35:43 +02:00
Kai Lueke
11e25ab0c9 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:35:43 +02:00
Sayan Chowdhury
198527a101
New version: beta-3277.1.0 beta-3277.1.0 2022-07-19 03:08:38 +05:30
Kai Lueke
da6d3175a8 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:50 +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
flatcar-ci
33206bbae8 New version: alpha-3277.0.0-nightly-20220715-2100 2022-07-15 21:02:30 +00:00
Kai Lueke
a07323f77a Merge pull request #384 from flatcar-linux/scripts
.github: Use lxc containers for amd64 kola tests, too
2022-07-15 12:31:10 +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
flatcar-ci
dac3c483ec New version: alpha-3277.0.0-nightly-20220714-2100 2022-07-14 21:02:33 +00:00
Krzesimir Nowak
29d9c7e871 Merge pull request #377 from flatcar-linux/scripts
build_library: Try to clean up unused stuff
2022-07-14 17:10:00 +02:00
Krzesimir Nowak
6b9699facb 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:10:00 +02:00
Kai Lueke
7b687482c6 Merge pull request #376 from flatcar-linux/scripts
ci-automation: Generate digests for artifacts
2022-07-14 16:55:01 +02:00
Krzesimir Nowak
6d9526be84 ci-automation: Generate digests files for the built artifacts 2022-07-14 16:55:00 +02:00
Krzesimir Nowak
f618600f63 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:55:00 +02:00
Krzesimir Nowak
ee7d5ed044 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:55:00 +02:00
Kai Lueke
55977a316d Merge pull request #375 from flatcar-linux/scripts
ci-automation: Show changes by finding the previous channel
2022-07-14 13:45:05 +02:00
Kai Lueke
ce588b9d01 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:04 +02:00
flatcar-ci
9b6a9e922b New version: alpha-3277.0.0-nightly-20220713-2100 2022-07-13 21:02:27 +00:00
Kai Lüke
b8d1d7fc8e
Merge pull request #382 from flatcar-linux/mantle-update-flatcar-3277
Upgrade mantle container image to latest HEAD in flatcar-3277
2022-07-13 18:25:46 +02:00
Kai Lueke
89e2c6bd67 Merge pull request #356 from flatcar-linux/scripts
.github: Run CI workflow only for PR events
2022-07-13 18:19:05 +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
Kai Lueke
0e49302576 Merge pull request #374 from flatcar-linux/scripts
Make the kola test workflow reusable
2022-07-13 18:16:12 +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
479fe8cefc Disable image mangle in qemu tests
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2022-07-13 18:16:12 +02:00
Gabriel Adrian Samfira
2593063eea Make QEMU_UEFI_BIOS configurable
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
Gabriel Adrian Samfira
c869260f82 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: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
Kai Lueke
3679f5dbfa Merge pull request #366 from flatcar-linux/scripts
Add concurency setting to CI workflow
2022-07-13 18:13:26 +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
Kai Lueke
05e0cb47f4 Merge pull request #354 from flatcar-linux/scripts
Add CI workflow
2022-07-13 18:12:23 +02:00
Gabriel Adrian Samfira
19ac76082b Add CI workflow 2022-07-13 18:12:23 +02:00