Commit Graph

5244 Commits

Author SHA1 Message Date
flatcar-ci
99e9460f0f New version: main-3286.0.0-nightly-20220630-2100 2022-06-30 21:00:27 +00:00
flatcar-ci
89db53401a New version: main-3285.0.0-nightly-20220629-2100 2022-06-29 21:00:27 +00:00
Kai Lüke
eb02ef6788
Merge pull request #355 from flatcar-linux/kai/image-package-diff
ci-automation: Use the package container for VM image building
2022-06-29 15:37:02 +02:00
Kai Lüke
4473e5feaa
Merge pull request #359 from flatcar-linux/kai/retag-for-jenkins
Add retag-for-jenkins helper
2022-06-29 15:29:54 +02:00
Kai Lueke
c1f1404df8 ci-automation: Run package-diff to report image changes
The original pipeline has package-diff commands to print out image
differences compared to the last release. This is used for the release
Go/No-Go QA checks.
Add the same logic to the new pipeline.
2022-06-29 15:23:16 +02:00
Kai Lueke
1b3e9ef188 ci-automation: Use the package container for VM image building
The image job builds an image container that is multiple GBs big and
takes >10 mins to be loaded in the vms job. The vms job can also do its
work by running from the packages container from the packages job when
it fetchs the built image from bincache first and assuming the images
job copies it there.
Skip generating the image container and instead use the packages
container for VM image building by copying the image folder first to
bincache and then retrieving it from there. While reworking this we
also address the issue that the VMs container had used the same name
for both architectures, causing a race when both run in parallel on
the same worker.
2022-06-29 15:23:16 +02:00
Kai Lueke
b5bd067bdd Add retag-for-jenkins helper
When testing "scripts" changes with Jenkins and a leaf job fails, we
currently would have to restart the whole build or update the git tag
manually. Since dealing with the git tag is not straightforward, add
a helper to update it.
2022-06-29 11:46:06 +02:00
Kai Lüke
1426c16a55
Merge pull request #358 from flatcar-linux/kai/compression-formats
ci-automation: align VM image compression with existing pipeline
2022-06-29 11:39:27 +02:00
Kai Lüke
cb93568114
Merge pull request #353 from flatcar-linux/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-06-29 11:35:19 +02:00
Flatcar Buildbot
d02975f832 Update mantle container image to latest HEAD 2022-06-28 21:01:04 +00:00
flatcar-ci
55ddaf4d16 New version: main-3284.0.0-nightly-20220628-2100 2022-06-28 21:00:45 +00:00
Kai Lueke
aae09eef4b ci-automation: align VM image compression with existing pipeline
In jenkins/vms.sh the Digital Ocean and OpenStack images get also
compressed as gzip.
Do so for the new pipeline, too.
2022-06-28 18:08:53 +02:00
Kai Lüke
e7e9ae8044
Merge pull request #356 from flatcar-linux/kai/ci-on-pr
.github: Run CI workflow only for PR events
2022-06-28 11:53:13 +02:00
Kai Lueke
37253cd499 .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-06-28 11:19:13 +02:00
flatcar-ci
0aaf36555f New version: main-3283.0.0-nightly-20220627-2100 2022-06-27 21:00:28 +00:00
Kai Lüke
afdd13412c
Merge pull request #354 from gabriel-samfira/add-ci-workflow
Add CI workflow
2022-06-27 11:20:13 +02:00
Gabriel Adrian Samfira
6e03ea1821 Add CI workflow 2022-06-24 15:35:23 +00:00
flatcar-ci
737debfdeb New version: main-3279.0.0-nightly-20220623-2100 2022-06-23 21:00:28 +00:00
Kai Lüke
bbe1fba82a
Merge pull request #348 from martinborgman/patch-1
Make qemu_template.sh work on macOS
2022-06-23 19:52:34 +02:00
Martin Borgman
1a42fd4a5f Make qemu_template.sh work on MacOS
Make qemu_template.sh work on MacOS

Line 14; The nproc command is only available on systems with GNU coreutils installed. The getconf _NPROCESSORS_ONLN alternative will work on a wider range of UNIX systems.
Line 114; The mktemp syntax used only works on GNU implementation.
Line 159; added hvf (MacOS) and tcg (no acceleration) options as a fallback. By doing this qemu-system-x86_64 will try to use kvm, but when it fails try hvf, and when that fails switch to the tcg accelerator.
2022-06-22 15:18:09 +02:00
flatcar-ci
e3af9c9baa New version: main-3277.0.0-nightly-20220621-2100 2022-06-21 21:00:29 +00:00
flatcar-ci
f12224d985 New version: main-3276.0.0-nightly-20220620-2100 2022-06-20 21:00:22 +00:00
flatcar-ci
11ab199dbb New version: main-3273.0.0-nightly-20220617-2100 2022-06-17 21:00:29 +00:00
flatcar-ci
63d08a2eac New version: main-3272.0.0-nightly-20220616-2100 2022-06-16 21:00:27 +00:00
flatcar-ci
2b0131a712 New version: main-3271.0.0-nightly-20220615-2100 2022-06-15 21:00:23 +00:00
flatcar-ci
9301997a7d New version: main-3270.0.0-nightly-20220614-2100 2022-06-14 21:00:30 +00:00
flatcar-ci
a158390aef New version: main-3269.0.0-nightly-20220613-2100 2022-06-13 21:00:27 +00:00
Kai Lüke
3c2e2de7c4
Merge pull request #341 from flatcar-linux/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-06-13 15:42:43 +02:00
Flatcar Buildbot
7d6dbab23d Update mantle container image to latest HEAD 2022-06-10 21:00:54 +00:00
flatcar-ci
af61b1d12d New version: main-3266.0.0-nightly-20220610-2100 2022-06-10 21:00:34 +00:00
flatcar-ci
1908ef3cbe New version: main-3265.0.0-nightly-20220609-2100 2022-06-09 21:00:30 +00:00
flatcar-ci
4e9d6b5cb5 New version: main-3264.0.0-nightly-20220608-2100 2022-06-08 21:00:26 +00:00
flatcar-ci
70ee16daeb New version: main-3259.0.0-nightly-20220603-2100 2022-06-03 21:00:33 +00:00
Krzesimir Nowak
c3e5e754e9
Merge pull request #334 from flatcar-linux/krnowak/sign-images
ci-automation: Sign the artifacts
2022-06-03 17:29:13 +02:00
Krzesimir Nowak
53d3567b0c
Merge pull request #346 from flatcar-linux/krnowak/azure-fixes
ci-automation/vendor-testing/azure.sh: Small fixes
2022-06-03 17:26:09 +02:00
Krzesimir Nowak
527bd2237b ci-automation: Sign artifacts and upload the signatures
It uses the SIGNER environment variable to decide whether the
signatures should be created or not. It expect the key of the SIGNER
to exist in GPGHOME, and that's what gpg_setup.sh is already doing.

In some places we need to recursively change the owner of the
directory that contains artifacts to be signed, otherwise we won't be
able to create new files with signatures there. This is because some
of the artifacts are either created inside the SDK container (so the
created files belong to root outside the container) or are created
with `sudo`.
2022-06-03 14:59:38 +02:00
Krzesimir Nowak
89e82185d0 sdk: Forward SIGNER environment variable
Some of the signing may happen inside the SDK container, so make sure
to forward the SIGNER environment variable, as it will be used by the
signing function, when it's introduced.
2022-06-03 14:59:26 +02:00
Krzesimir Nowak
0e0eb67ca2 ci-automation: Set up keys for signing
Not used for anything yet. This sets up a temporary GPGHOME directory
and a trap that will remove it after we are done.
2022-06-03 14:59:26 +02:00
Krzesimir Nowak
090d7ec176 ci-automation: Run functions in subshells
The functions are sourcing other files that define global variables,
so they will spill into the callers shell unnecessarily. We will also
add some functionality that uses traps in follow-up commits, so it's
good to limit the scope of traps too.
2022-06-03 14:58:29 +02:00
Krzesimir Nowak
698d0de129 ci-automation: Trivial fixes
Dropped some trailing whitespace, fixed a typo. Trivial.
2022-06-03 14:56:51 +02:00
flatcar-ci
9b57d5ded6 New version: main-3258.0.0-nightly-20220602-2100 2022-06-02 21:00:31 +00:00
Krzesimir Nowak
cec96aeec5 ci-automation/vendor-testing/azure.sh: Small fixes
Fix some comments, quote some variables.
2022-06-02 18:40:06 +02:00
Kai Lüke
115c18fccb
Merge pull request #345 from flatcar-linux/kai/parallel-tests-arm64
jenkins/kola/azure|packet.sh: Remove hardcoded arm64 parallel test limit and align the timeout with the GC duration
2022-06-02 20:39:54 +09:00
Kai Lueke
6c0fb8959d ci-automation/vendor-testing/azure.sh: Align timeout with GC duration
The kola test run time shouldn't be longer than the GC duration to
prevent failing tests caused by GC interference.
Align the Azure kola timeout with the GC duration.
2022-06-02 14:08:28 +09:00
Kai Lueke
41506d0e39 jenkins/kola/azure.sh: Align the timeout with the GC duration
The kola test run time shouldn't be longer than the GC duration to
prevent failing tests caused by GC interference.
Align the Azure kola timeout with the GC duration.
2022-06-02 14:01:11 +09:00
Kai Lueke
730e07fd9e jenkins/kola/packet.sh: Remove hardcoded arm64 parallel test limit
The arm64 tests on EM sometimes hit the timeout.
Remove the hardcoded limit of 3 tests to default to 4 and otherwise
use the overwritten parameter.
2022-06-02 13:59:34 +09:00
flatcar-ci
ba468c2e14 New version: main-3257.0.0-nightly-20220601-2100 2022-06-01 21:00:32 +00:00
Kai Lüke
6b29a89efd
Merge pull request #339 from flatcar-linux/kai/umount-hosts
run_sdk_container: Workaround for write-protected /etc/hosts bind-mount
2022-06-01 21:58:03 +09:00
Kai Lueke
677343ca2e run_sdk_container: Workaround for write-protected /etc/hosts bind-mount
The baselayout package wants to manage the /etc/hosts file and thus
fails to emerge in the SDK container. One would have to build a new
SDK container instead.
To unblock the LTS 3033.3.1 release we can add a workaround to make the
SDK container environment more similar to how cork worked by removing
the /etc/hosts bind mount. This action has to be added to
run_sdk_container instead of sdk_lib/sdk_entry.sh because the existing
SDK's copy of sdk_lib/sdk_entry.sh won't have the change.
2022-06-01 14:21:07 +09:00
flatcar-ci
a60ab28eaf New version: main-3252.0.0-nightly-20220527-2100 2022-05-27 21:00:26 +00:00