4917 Commits

Author SHA1 Message Date
flatcar-ci
434a975259 New version: alpha-3255.0.0-nightly-20220621-2100 2022-06-21 21:02:02 +00:00
flatcar-ci
bc60178f3f New version: alpha-3255.0.0-nightly-20220615-2100 2022-06-15 21:02:06 +00:00
flatcar-ci
44803a461e New version: alpha-3255.0.0-nightly-20220613-2100 2022-06-13 21:02:14 +00:00
Kai Lüke
daf4dcb699
Merge pull request #347 from flatcar-linux/mantle-update-flatcar-3255
Upgrade mantle container image to latest HEAD in flatcar-3255
2022-06-13 15:44:05 +02:00
Flatcar Buildbot
4af0f10514 Update mantle container image to latest HEAD 2022-06-09 21:00:48 +00:00
flatcar-ci
ea00b0f603 New version: alpha-3255.0.0-nightly-20220608-2100 2022-06-08 21:01:58 +00:00
flatcar-ci
5b55856ed3 New version: alpha-3255.0.0-nightly-20220603-2100 2022-06-03 21:02:05 +00:00
Krzesimir Nowak
af39b65438 Merge pull request #334 from flatcar-linux/scripts
ci-automation: Sign the artifacts
2022-06-03 17:56:22 +02:00
Krzesimir Nowak
c8edf28301 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:22 +02:00
Krzesimir Nowak
925781297e 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:22 +02:00
Krzesimir Nowak
413252eee1 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:22 +02:00
Krzesimir Nowak
02e244952c 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:22 +02:00
Krzesimir Nowak
1d4e55b7d7 ci-automation: Trivial fixes
Dropped some trailing whitespace, fixed a typo. Trivial.
2022-06-03 17:56:22 +02:00
Krzesimir Nowak
792df2951d Merge pull request #346 from flatcar-linux/scripts
ci-automation/vendor-testing/azure.sh: Small fixes
2022-06-03 17:56:15 +02:00
Krzesimir Nowak
a804584c27 ci-automation/vendor-testing/azure.sh: Small fixes
Fix some comments, quote some variables.
2022-06-03 17:56:15 +02:00
Kai Lueke
387e3fa39e 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:40:28 +09:00
Kai Lueke
fbea3198eb 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:40:28 +09:00
Kai Lueke
95e370330c 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:40:28 +09:00
Kai Lueke
ca7b94406a 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:40:28 +09:00
Kai Lueke
5f2ee8ca55 Merge pull request #339 from flatcar-linux/scripts
run_sdk_container: Workaround for write-protected /etc/hosts bind-mount
2022-06-02 12:57:01 +09:00
Kai Lueke
27d3dfe529 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-02 12:57:01 +09:00
Sayan Chowdhury
49094260c8
New version: alpha-3255.0.0 alpha-3255.0.0 2022-05-30 15:55:47 +05:30
flatcar-ci
a60ab28eaf New version: main-3252.0.0-nightly-20220527-2100 2022-05-27 21:00:26 +00:00
Sayan Chowdhury
42608d3c67
ci-automation/azure: Add initial container tests infra for Azure (#274)
The Azure tests use a similar logic as the GCE tests where an the
instance type parameter normally used in AWS/Equinix Metal tests is
here used to specify whether the VM gets started in Gen V1 or V2 mode.

Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
2022-05-27 08:01:59 +02:00
flatcar-ci
70851bb403 New version: main-3250.0.0-nightly-20220525-2100 2022-05-25 21:00:29 +00:00
flatcar-ci
28357c6c22 New version: main-3250.0.0-nightly-20220525-0155 2022-05-25 01:55:24 +00:00
Kai Lüke
c9089cf8d0
Merge pull request #333 from flatcar-linux/kai/push-versionfile-early
ci-automation: Push version file early
2022-05-24 17:41:42 +09:00
Sayan Chowdhury
f615aac4a2
Merge pull request #335 from flatcar-linux/sayan/no-upload-to-private-ii
The LTS and Pro feature no longer requires the private bucket
2022-05-24 13:22:21 +05:30
Sayan Chowdhury
8492dc9329
The LTS and Pro feature no longer requires the private bucket
hence we can remove the --private argument to upload

Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-05-24 13:15:32 +05:30
flatcar-ci
9a95f40f45 New version: main-3249.0.0-nightly-20220524-0155 2022-05-24 04:46:39 +00:00
Kai Lueke
cee8a6aadf 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-23 22:40:02 +09:00
Kai Lueke
95367851fa 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-23 19:29:39 +09:00
flatcar-ci
ea68ead086 New version: main-3246.0.0-nightly-20220521-0155 2022-05-21 04:45:52 +00:00
flatcar-ci
47321021f7 New version: main-3245.0.0-nightly-20220520-0155 2022-05-20 05:04:15 +00:00
flatcar-ci
7548405c99 New version: main-3244.0.0-nightly-20220519-0155 2022-05-19 04:46:29 +00:00
flatcar-ci
759bd2f971 New version: main-3243.0.0-nightly-20220518-0155 2022-05-18 05:00:32 +00:00
flatcar-ci
43f9aec0e0 New version: main-3239.0.0-nightly-20220514-0155 2022-05-14 04:44:18 +00:00
flatcar-ci
73e1a44163 New version: main-3238.0.0-nightly-20220513-0155 2022-05-13 04:52:50 +00:00
Krzesimir Nowak
7051838a76
Merge pull request #332 from flatcar-linux/krnowak/fix-instance-tests
ci-automation: Do not rerun tests on unrelated instances
2022-05-11 12:45:54 +02:00
Krzesimir Nowak
8c3d7b977b ci-automation: Fix potential use of unbound variable error
`local -a stuff` does not make `stuff` a bound array variable, so
checking length of the array will trigger an error about unbound
variable. Fortunately, `local stuff=()` does the trick.
2022-05-11 12:43:08 +02:00
Krzesimir Nowak
bf1bc21498 ci-automation: Do not rerun tests on unrelated instances
We forgot to clear the array with instance tests to rerun, so the list
grew from one iteration to another when going over all the instance
types. I did not spot it before, because I tested it with only one
extra instance.
2022-05-11 12:15:52 +02:00
Kai Lüke
42fd4919c4
Merge pull request #331 from flatcar-linux/kai/equinix-metal-refactor
ci-automation/vendor-testing/equinix_metal.sh: Use test framework
2022-05-11 19:12:32 +09:00
Kai Lüke
9fa7449f06
Merge pull request #330 from flatcar-linux/kai/gce-gvnic
ci-automation/vendor-testing/gce.sh: Test GVNIC and break retest cycle
2022-05-11 17:26:03 +09:00
flatcar-ci
06467a7244 New version: main-3236.0.0-nightly-20220511-0155 2022-05-11 04:53:38 +00:00
Kai Lueke
3fd7825310 ci-automation/vendor-testing/gce.sh: Test GVNIC and break retest cycle
The logic we had in some tests for covering different instance types
now got more easy to reuse for testing the GVNIC mode in GCE.
Align the GCE test with AWS and DigitalOcean to test an additional
"instance type" (here just changing the NIC) and break the retest spin
case it gets called for arm64.
2022-05-11 12:07:58 +09:00
Kai Lueke
9fe14ffe34 ci-automation/vendor-testing/equinix_metal.sh: Use test framework
The test framework from the AWS PR allows us to align the logic which
also addresses some bugs we had here.
Port the Equinix Metal test over to the new framework (and also use
different test basenames per architecture while at it which could
otherwise result in clashes).
2022-05-11 11:39:30 +09:00
Krzesimir Nowak
7182b171f1
Merge pull request #273 from flatcar-linux/dongsu/ciauto-aws
ci-container/test: add AWS test script for CI automation
2022-05-10 13:22:43 +02:00
Krzesimir Nowak
d60d514482 ci-automation: Make AWS test script to work 2022-05-10 12:46:33 +02:00
Krzesimir Nowak
6278762fa8 ci-automation: Add helper functions for running tests on multiple instances 2022-05-10 12:46:33 +02:00
Krzesimir Nowak
e1d9beaeee ci-automation: Fix passing multiple test names to vendor scripts 2022-05-10 12:46:02 +02:00