Commit Graph

5075 Commits

Author SHA1 Message Date
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
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