5003 Commits

Author SHA1 Message Date
Krzesimir Nowak
f418c3e2a2 Merge pull request #398 from flatcar-linux/scripts
ci-automation: Sync used EquinixMetal region to use for ARM64 servers
2022-08-05 13:22:50 +02:00
Krzesimir Nowak
72a3259f60 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:22:50 +02:00
Krzesimir Nowak
36a0a78e8b Merge pull request #397 from flatcar-linux/scripts
Fixes for azure vendor test
2022-08-05 13:22:44 +02:00
Krzesimir Nowak
58481f1ab0 ci-automation/vendor-testing/azure.sh: Use an array for extra instance types 2022-08-05 13:22:44 +02:00
Krzesimir Nowak
d8c1badff7 ci-automation/vendor-testing/azure.sh: Use proper machine size on arm64 2022-08-05 13:22:44 +02:00
Krzesimir Nowak
3918e18a88 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:44 +02:00
Krzesimir Nowak
b64db3c924 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:44 +02:00
flatcar-ci
91d441de96 New version: alpha-3305.0.1-nightly-20220804-2100 2022-08-04 21:00:27 +00:00
Dongsu Park
e1af3e4bf9 New version: alpha-3305.0.1 alpha-3305.0.1 2022-08-03 19:01:33 +02:00
flatcar-ci
b947222e36 New version: alpha-3305.0.0-nightly-20220802-2100 2022-08-02 21:00:31 +00:00
flatcar-ci
dd8a815407 New version: alpha-3305.0.0-nightly-20220801-2100 2022-08-01 21:00:38 +00:00
flatcar-ci
02fc6f61f7 New version: alpha-3305.0.0-nightly-20220728-2100 2022-07-28 21:00:30 +00:00
flatcar-ci
5314938d6c New version: alpha-3305.0.0-nightly-20220727-2100 2022-07-27 21:00:25 +00:00
Jeremi Piotrowski
cc4a3ac7d0 Merge pull request #391 from flatcar-linux/scripts
prod_image_util: extract gcc libs to /usr/lib64
2022-07-27 11:27:50 +02:00
Jeremi Piotrowski
a76fd410f6 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:27:49 +02:00
flatcar-ci
45c8c9af17 New version: alpha-3305.0.0-nightly-20220726-2100 2022-07-26 21:00:23 +00:00
flatcar-ci
b93b55f8a0 New version: alpha-3305.0.0-nightly-20220725-2100 2022-07-25 21:00:26 +00:00
Dongsu Park
26e3d5bf5e 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:24:01 +02:00
Kai Lueke
b1d44afd8b Merge pull request #386 from flatcar-linux/scripts
ci-automation: Move git tagging into own script
2022-07-19 19:36:08 +02:00
Kai Lueke
1f33115d8e 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:36:08 +02:00
Sayan Chowdhury
559b2b9a06
New version: alpha-3305.0.0 alpha-3305.0.0 2022-07-19 03:05:54 +05:30
flatcar-ci
7e796bf561 New version: main-3304.0.0-nightly-20220718-2100 2022-07-18 21:00:27 +00:00
Kai Lüke
a21daa36c0
Merge pull request #387 from flatcar-linux/kai/checkout-test
.github: Specify remote when checking out c-o/p-s ref in workflow
2022-07-18 20:33:51 +02:00
Kai Lueke
71510fb117 .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:12:06 +02:00
flatcar-ci
51f740a2a8 New version: main-3301.0.0-nightly-20220715-2100 2022-07-15 21:00:30 +00:00
Kai Lüke
256885527c
Merge pull request #384 from flatcar-linux/kai/ga-runner-amd64-lxc
.github: Use lxc containers for amd64 kola tests, too
2022-07-15 12:30:47 +02:00
Kai Lueke
58927811b1 .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:19:16 +02:00
flatcar-ci
60dc5f5065 New version: main-3300.0.0-nightly-20220714-2100 2022-07-14 21:00:27 +00:00
Krzesimir Nowak
412e11d908
Merge pull request #377 from flatcar-linux/krnowak/cleanup-dirs
build_library: Try to clean up unused stuff
2022-07-14 16:53:26 +02:00
Krzesimir Nowak
e65072910d 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 15:08:12 +02:00
Krzesimir Nowak
a96a66d222
Merge pull request #376 from flatcar-linux/krnowak/digests
ci-automation: Generate digests for artifacts
2022-07-14 14:42:49 +02:00
Kai Lüke
f83ee4f9a1
Merge pull request #375 from flatcar-linux/kai/print-changelog
ci-automation: Show changes by finding the previous channel
2022-07-14 13:44:22 +02:00
flatcar-ci
873eac6f5d New version: main-3299.0.0-nightly-20220713-2100 2022-07-13 21:00:29 +00:00
Kai Lueke
da370b54c1 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-13 19:11:50 +02:00
Kai Lüke
d6ab2eccc6
Merge pull request #381 from flatcar-linux/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-07-13 18:26:23 +02:00
Flatcar Buildbot
8cf32dfc56 Update mantle container image to latest HEAD 2022-07-13 16:10:03 +00:00
Kai Lüke
76b47a00b2
Merge pull request #374 from gabriel-samfira/make-workflow-pluggable
Make the kola test workflow reusable
2022-07-13 18:09:43 +02:00
Gabriel Adrian Samfira
340fd39a9f
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 14:20:12 +03:00
Gabriel Adrian Samfira
b518c3cdb8
Disable image mangle in qemu tests
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2022-07-13 14:19:50 +03:00
Gabriel Adrian Samfira
7dc45a4a1f
Make QEMU_UEFI_BIOS configurable
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2022-07-12 19:46:27 +03:00
Krzesimir Nowak
4e6f44e7b8 ci-automation: Generate digests files for the built artifacts 2022-07-12 16:59:14 +02:00
Krzesimir Nowak
d475d36766 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-12 16:59:14 +02:00
Krzesimir Nowak
133cb6b52f ci-automation: Factor out listing files into a separate function
This will come in handy when listing files for creating digests files.
2022-07-12 16:59:14 +02:00
Gabriel Adrian Samfira
6eabd91a04
Remove customizations for now
Remove arch and parallel options. Hardcode them for now.
2022-07-12 02:48:42 +03:00
flatcar-ci
056752222e New version: main-3297.0.0-nightly-20220711-2100 2022-07-11 21:00:28 +00:00
Gabriel Adrian Samfira
879e5a2b30
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-11 16:23:35 +03:00
Gabriel Adrian Samfira
dc8cf9c18d
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-11 13:32:25 +03:00
Kai Lüke
a04e7b39c1
Merge pull request #369 from flatcar-linux/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-07-11 12:01:30 +02:00
Flatcar Buildbot
c6ac1100d6 Update mantle container image to latest HEAD 2022-07-11 07:10:34 +00:00
Mathieu Tortuyaux
f9b13baeb5
.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-07 10:01:49 +02:00