4972 Commits

Author SHA1 Message Date
Dongsu Park
ee05ee6281 New version: stable-3227.2.1 stable-3227.2.1 2022-08-03 18:59:48 +02:00
flatcar-ci
07319fb00c New version: stable-3227.2.0-nightly-20220802-2100 2022-08-02 21:00:31 +00:00
flatcar-ci
89fc36d116 New version: stable-3227.2.0-nightly-20220801-2100 2022-08-01 21:00:37 +00:00
flatcar-ci
d12c736866 New version: stable-3227.2.0-nightly-20220728-2100 2022-07-28 21:00:51 +00:00
flatcar-ci
99d277f907 New version: stable-3227.2.0-nightly-20220727-2100 2022-07-27 21:00:25 +00:00
Jeremi Piotrowski
3ce530a7fd Merge pull request #391 from flatcar-linux/scripts
prod_image_util: extract gcc libs to /usr/lib64
2022-07-27 11:28:33 +02:00
Jeremi Piotrowski
f8f90b3a68 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:33 +02:00
flatcar-ci
df1248ec50 New version: stable-3227.2.0-nightly-20220726-2100 2022-07-26 21:00:24 +00:00
flatcar-ci
4947fb52f7 New version: stable-3227.2.0-nightly-20220725-2100 2022-07-25 21:00:31 +00:00
flatcar-ci
f9aa07a2ea New version: beta-3227.1.1-nightly-20220720-2100 2022-07-20 21:00:27 +00:00
Dongsu Park
96af745ee6 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:11 +02:00
flatcar-ci
b19d17390c New version: beta-3227.1.1-nightly-20220719-2100 2022-07-19 21:00:25 +00:00
Kai Lueke
432231d25d Merge pull request #386 from flatcar-linux/scripts
ci-automation: Move git tagging into own script
2022-07-19 19:36:49 +02:00
Kai Lueke
7e966584ff 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:49 +02:00
Sayan Chowdhury
9b3707137d
New version: stable-3227.2.0 stable-3227.2.0 2022-07-19 03:10:41 +05:30
Kai Lueke
bbd91e96be 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:38 +02:00
Kai Lueke
2facedc428 .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:38 +02:00
flatcar-ci
f6d4b2c70f New version: beta-3227.1.1-nightly-20220715-2100 2022-07-15 21:02:15 +00:00
Kai Lueke
e505d4ad45 Merge pull request #384 from flatcar-linux/scripts
.github: Use lxc containers for amd64 kola tests, too
2022-07-15 12:31:46 +02:00
Kai Lueke
70a0da9dc4 .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:46 +02:00
flatcar-ci
f8d8c97f41 New version: beta-3227.1.1-nightly-20220714-2100 2022-07-14 21:02:11 +00:00
Krzesimir Nowak
a1517c7dfd Merge pull request #377 from flatcar-linux/scripts
build_library: Try to clean up unused stuff
2022-07-14 17:09:55 +02:00
Krzesimir Nowak
d23eab23b5 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:55 +02:00
Kai Lueke
f4620d4f40 Merge pull request #376 from flatcar-linux/scripts
ci-automation: Generate digests for artifacts
2022-07-14 16:54:49 +02:00
Krzesimir Nowak
8f22526527 ci-automation: Generate digests files for the built artifacts 2022-07-14 16:54:49 +02:00
Krzesimir Nowak
37a009cfc6 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:49 +02:00
Krzesimir Nowak
f8ad8fb05e 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:49 +02:00
Kai Lueke
03881f2c5a Merge pull request #375 from flatcar-linux/scripts
ci-automation: Show changes by finding the previous channel
2022-07-14 13:45:16 +02:00
Kai Lueke
09ab0f7c21 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:16 +02:00
flatcar-ci
b09e7ed3c4 New version: beta-3227.1.1-nightly-20220713-2100 2022-07-13 21:01:56 +00:00
Kai Lüke
800957bc57
Merge pull request #380 from flatcar-linux/mantle-update-flatcar-3227
Upgrade mantle container image to latest HEAD in flatcar-3227
2022-07-13 18:25:59 +02:00
Kai Lueke
aca0d34db5 Merge pull request #356 from flatcar-linux/scripts
.github: Run CI workflow only for PR events
2022-07-13 18:19:21 +02:00
Kai Lueke
dd70d0d5e0 .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:21 +02:00
Kai Lueke
b08e1771fd Merge pull request #374 from flatcar-linux/scripts
Make the kola test workflow reusable
2022-07-13 18:16:00 +02:00
Gabriel Adrian Samfira
da57e54c4e 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:59 +02:00
Gabriel Adrian Samfira
fe758b1607 Disable image mangle in qemu tests
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2022-07-13 18:15:59 +02:00
Gabriel Adrian Samfira
e6cd28d47b Make QEMU_UEFI_BIOS configurable
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2022-07-13 18:15:59 +02:00
Gabriel Adrian Samfira
afd8b285d3 Remove customizations for now
Remove arch and parallel options. Hardcode them for now.
2022-07-13 18:15:59 +02:00
Gabriel Adrian Samfira
3f371e424f 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:59 +02:00
Gabriel Adrian Samfira
f57591b417 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:59 +02:00
Mathieu Tortuyaux
cd459af328 .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:59 +02:00
Kai Lueke
ad499dc4e3 Merge pull request #366 from flatcar-linux/scripts
Add concurency setting to CI workflow
2022-07-13 18:13:37 +02:00
Gabriel Adrian Samfira
568522d182 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:37 +02:00
Kai Lueke
425d72f836 Merge pull request #354 from flatcar-linux/scripts
Add CI workflow
2022-07-13 18:12:11 +02:00
Gabriel Adrian Samfira
cafa876119 Add CI workflow 2022-07-13 18:12:11 +02:00
Flatcar Buildbot
f4422ae0f0 Update mantle container image to latest HEAD 2022-07-13 16:10:00 +00:00
flatcar-ci
a14a119cc8 New version: beta-3227.1.1-nightly-20220711-2100 2022-07-11 21:02:17 +00:00
Kai Lüke
14dac6dea9
Merge pull request #371 from flatcar-linux/mantle-update-flatcar-3227
Upgrade mantle container image to latest HEAD in flatcar-3227
2022-07-11 12:11:00 +02:00
Flatcar Buildbot
8c848528bc Update mantle container image to latest HEAD 2022-07-11 07:10:36 +00:00
flatcar-ci
d2dfcadfa9 New version: beta-3227.1.1-nightly-20220706-2100 2022-07-06 21:02:08 +00:00