4844 Commits

Author SHA1 Message Date
Kai Lueke
f88691adff Merge pull request #359 from flatcar-linux/scripts
Add retag-for-jenkins helper
2022-06-29 15:30:53 +02:00
Kai Lueke
96e649f4cf 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:30:53 +02:00
Kai Lueke
2f964898c8 Merge pull request #358 from flatcar-linux/scripts
ci-automation: align VM image compression with existing pipeline
2022-06-29 11:40:22 +02:00
Kai Lueke
d4ceaddf46 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:40:22 +02:00
Kai Lüke
06a736b009
Merge pull request #350 from flatcar-linux/mantle-update-flatcar-3139
Upgrade mantle container image to latest HEAD in flatcar-3139
2022-06-29 11:37:21 +02:00
Flatcar Buildbot
15974521ef Update mantle container image to latest HEAD 2022-06-29 09:35:38 +00:00
flatcar-ci
454bb7c879 New version: stable-3139.2.3-nightly-20220628-2100 2022-06-28 21:01:55 +00:00
flatcar-ci
6f02fdb515 New version: stable-3139.2.3-nightly-20220624-2100 2022-06-24 21:02:01 +00:00
Sayan Chowdhury
9ec512c5be
New version: stable-3139.2.3 stable-3139.2.3 2022-06-21 09:54:49 +05:30
Sayan Chowdhury
52f92e7d41
New version: stable-3139.2.3 2022-06-21 04:03:40 +05:30
flatcar-ci
1143267693 New version: stable-3139.2.2-nightly-20220617-2100 2022-06-17 21:02:04 +00:00
flatcar-ci
2d659a90fb New version: stable-3139.2.2-nightly-20220615-2100 2022-06-15 21:01:53 +00:00
flatcar-ci
90bb7bfa55 New version: stable-3139.2.2-nightly-20220613-2100 2022-06-13 21:02:05 +00:00
Kai Lüke
b7862eee3c
Merge pull request #342 from flatcar-linux/mantle-update-flatcar-3139
Upgrade mantle container image to latest HEAD in flatcar-3139
2022-06-13 15:44:39 +02:00
Flatcar Buildbot
8b4483419a Update mantle container image to latest HEAD 2022-06-09 21:00:51 +00:00
flatcar-ci
ee545a493d New version: stable-3139.2.2-nightly-20220603-2100 2022-06-03 21:02:05 +00:00
Krzesimir Nowak
46b2da7906 Merge pull request #334 from flatcar-linux/scripts
ci-automation: Sign the artifacts
2022-06-03 17:56:44 +02:00
Krzesimir Nowak
dc22a60b86 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 17:56:44 +02:00
Krzesimir Nowak
3e0104ddee 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 17:56:44 +02:00
Krzesimir Nowak
aebc18e2d1 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 17:56:44 +02:00
Krzesimir Nowak
6e78a315ee 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 17:56:44 +02:00
Krzesimir Nowak
abe3eba8e8 ci-automation: Trivial fixes
Dropped some trailing whitespace, fixed a typo. Trivial.
2022-06-03 17:56:44 +02:00
Krzesimir Nowak
7cb9e8d93c Merge pull request #346 from flatcar-linux/scripts
ci-automation/vendor-testing/azure.sh: Small fixes
2022-06-03 17:56:38 +02:00
Krzesimir Nowak
a9338be6e6 ci-automation/vendor-testing/azure.sh: Small fixes
Fix some comments, quote some variables.
2022-06-03 17:56:38 +02:00
flatcar-ci
8bbb4d0c50 New version: stable-3139.2.2-nightly-20220602-2100 2022-06-02 21:02:12 +00:00
Kai Lueke
febc7a85c8 Merge pull request #345 from flatcar-linux/scripts
jenkins/kola/azure|packet.sh: Remove hardcoded arm64 parallel test limit and align the timeout with the GC duration
2022-06-02 20:41:07 +09:00
Kai Lueke
68b0222a45 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 20:41:07 +09:00
Kai Lueke
4d142cddda 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 20:41:07 +09:00
Kai Lueke
505f97961a 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 20:41:07 +09:00
flatcar-ci
13b867d7d1 New version: stable-3139.2.1-nightly-20220601-2100 2022-06-01 21:02:15 +00:00
Kai Lueke
a1508104bf Merge pull request #339 from flatcar-linux/scripts
run_sdk_container: Workaround for write-protected /etc/hosts bind-mount
2022-06-01 21:59:52 +09:00
Kai Lueke
0bdd3ffe5e 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 21:59:52 +09:00
Sayan Chowdhury
d67224b4b0
New version: stable-3139.2.2 stable-3139.2.2 2022-05-30 18:59:38 +05:30
flatcar-ci
8231172af0 New version: stable-3139.2.1-nightly-20220527-2100 2022-05-27 21:01:59 +00:00
Kai Lueke
45aa4b7ae4 Merge pull request #274 from flatcar-linux/scripts
ci-automation/azure: Add initial container tests infra for Azure
2022-05-27 15:04:49 +09:00
Kai Lüke
60c1733dfb Update ci-automation/vendor-testing/azure.sh 2022-05-27 15:04:49 +09:00
Kai Lüke
3a50a6385f Update ci-automation/vendor-testing/azure.sh 2022-05-27 15:04:49 +09:00
Sayan Chowdhury
b30b32d065 fixup! ci-automation/azure: Add initial container tests infra for Azure 2022-05-27 15:04:49 +09:00
Sayan Chowdhury
b5a62a88dd fixup! ci-automation/azure: Add initial container tests infra for Azure 2022-05-27 15:04:49 +09:00
Sayan Chowdhury
b9cf273917 fixup! ci-automation/azure: Add initial container tests infra for Azure 2022-05-27 15:04:49 +09:00
Sayan Chowdhury
52eb3b23f3 ci-automation/azure: Add initial container tests infra for Azure
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-05-27 15:04:49 +09:00
flatcar-ci
5bddfb42f5 New version: stable-3139.2.1-nightly-20220525-0155 2022-05-25 01:57:09 +00:00
Kai Lueke
e357723c84 Merge pull request #333 from flatcar-linux/scripts
ci-automation: Push version file early
2022-05-24 17:42:24 +09:00
Kai Lueke
4618d96a6b ci-automation: Push version file early
When a nightly build is started that pushes the version file to the
branch it was doing so only at the end of the build, causing the push
to fail if something else got merged in between.
Push the version file early by generating it the same way it would be
generated by the run_sdk_container/bootstrap_sdk_container scripts.
In the case of the SDK the version file gets the same version for the
OS and the SDK. Add some explanations about the version formats. Note
that the scripts will still rewrite the file but it should be a no-op.
2022-05-24 17:42:23 +09:00
Kai Lueke
90631614d0 ci-automation/sdk_bootstrap.sh: Allow omitting the optional parameters
The coreos/portage refs were allowed to be empty strings but the way
the function was run from Groovy the lack of quoting caused the empty
strings to be missing parameters.
Since the two parameters are meant to be optional, support omitting
them.
2022-05-24 17:42:23 +09:00
Dongsu Park
6b57a0a2c9 New version: stable-3139.2.2 2022-05-20 17:57:19 +02:00
flatcar-ci
61b9dfbce0 New version: stable-3139.2.1-nightly-20220520-0155 2022-05-20 04:11:02 +00:00
flatcar-ci
2d70d1fb23 New version: stable-3139.2.1-nightly-20220518-0155 2022-05-18 03:56:05 +00:00
flatcar-ci
3fe48212a5 New version: stable-3139.2.1-nightly-20220513-0155 2022-05-13 03:53:20 +00:00
flatcar-ci
48ae24141b New version: stable-3139.2.1-nightly-20220512-0155 2022-05-12 04:12:18 +00:00