4947 Commits

Author SHA1 Message Date
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
flatcar-ci
f0bb1e2745 New version: alpha-3277.0.0-nightly-20220711-2100 2022-07-11 21:02:10 +00:00
Kai Lüke
184c0ae8bd
Merge pull request #372 from flatcar-linux/mantle-update-flatcar-3277
Upgrade mantle container image to latest HEAD in flatcar-3277
2022-07-11 12:10:47 +02:00
Flatcar Buildbot
c64aebf241 Update mantle container image to latest HEAD 2022-07-11 07:10:36 +00:00
flatcar-ci
bac6ffbd0e New version: alpha-3277.0.0-nightly-20220706-2100 2022-07-06 21:02:03 +00:00
Kai Lueke
a45dd8049b Merge pull request #365 from flatcar-linux/scripts
ci-automation: Only store compressed images
2022-07-06 15:56:31 +02:00
Kai Lueke
7e119be27a ci-automation: Only store compressed images
The new build pipeline compresses images already but uploaded both the
compressed and uncompressed files because the whole build folder gets
uploaded.
Add a new flag "--only_store_compressed" to the image generation which
deletes the uncompressed file after compression is done. Uncompressed
images are still supported if specified in the flag
"image_compression_formats".

Closes https://github.com/flatcar-linux/Flatcar/issues/793
2022-07-06 15:56:31 +02:00
flatcar-ci
2e0d8248d9 New version: alpha-3277.0.0-nightly-20220701-2100 2022-07-01 21:02:12 +00:00
Kai Lüke
e94cd5e192
Merge pull request #361 from flatcar-linux/mantle-update-flatcar-3277
Upgrade mantle container image to latest HEAD in flatcar-3277
2022-06-30 23:28:16 +02:00
flatcar-ci
3bfafd6e46 New version: alpha-3277.0.0-nightly-20220630-2100 2022-06-30 21:02:24 +00:00
Flatcar Buildbot
e5f4f5dbee Update mantle container image to latest HEAD 2022-06-30 21:00:45 +00:00
flatcar-ci
1dfec50581 New version: alpha-3277.0.0-nightly-20220629-2100 2022-06-29 21:02:13 +00:00
Kai Lueke
aebceca89c Merge pull request #355 from flatcar-linux/scripts
ci-automation: Use the package container for VM image building
2022-06-29 15:37:32 +02:00
Kai Lueke
8dffd734a6 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:37:32 +02:00
Kai Lueke
a97dcfacee 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:37:32 +02:00
Kai Lueke
b25979687f Merge pull request #359 from flatcar-linux/scripts
Add retag-for-jenkins helper
2022-06-29 15:31:15 +02:00
Kai Lueke
9c3dd4f1ce 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 15:31:15 +02:00
Kai Lueke
5a7ce68bda Merge pull request #358 from flatcar-linux/scripts
ci-automation: align VM image compression with existing pipeline
2022-06-29 11:41:10 +02:00
Kai Lueke
44f62d5bc1 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-29 11:41:10 +02:00
Kai Lüke
ae81c776b2
Merge pull request #352 from flatcar-linux/mantle-update-flatcar-3277
Upgrade mantle container image to latest HEAD in flatcar-3277
2022-06-29 11:36:20 +02:00
Flatcar Buildbot
606d6cf4be Update mantle container image to latest HEAD 2022-06-29 09:35:40 +00:00
flatcar-ci
628456908d New version: alpha-3277.0.0-nightly-20220628-2100 2022-06-28 21:02:12 +00:00
Sayan Chowdhury
b886a22463
New version: alpha-3277.0.0 alpha-3277.0.0 2022-06-21 03:46:11 +05:30
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