5157 Commits

Author SHA1 Message Date
flatcar-ci
5a48f244f1 New version: beta-3346.1.0-nightly-20221025-2100 2022-10-25 21:00:27 +00:00
Kai Lüke
bc5a9e072e
Merge pull request #534 from flatcar/mantle-update-flatcar-3346
Upgrade mantle container image to latest HEAD in flatcar-3346
2022-10-25 19:51:47 +02:00
Flatcar Buildbot
96b0aef943 Update mantle container image to latest HEAD 2022-10-24 21:00:45 +00:00
flatcar-ci
661a224aba New version: beta-3346.1.0-nightly-20221021-2100 2022-10-21 21:00:28 +00:00
flatcar-ci
f40fce1798 New version: beta-3346.1.0-nightly-20221018-2100 2022-10-18 21:00:29 +00:00
flatcar-ci
a5fe08548e New version: beta-3346.1.0-nightly-20221013-2100 2022-10-13 21:00:31 +00:00
flatcar-ci
c66dc479b8 New version: beta-3346.1.0-nightly-20221011-2100 2022-10-11 21:00:29 +00:00
Kai Lüke
ac063038c2
Merge pull request #529 from flatcar/mantle-update-flatcar-3346
Upgrade mantle container image to latest HEAD in flatcar-3346
2022-10-11 16:27:50 +02:00
Flatcar Buildbot
9ac7be20ef Update mantle container image to latest HEAD 2022-10-11 14:26:06 +00:00
Krzesimir Nowak
41ac5e88f2 Merge pull request #523 from flatcar/scripts
ci-automation/vendor-testing/vmware.sh: Fix unbound variable use
2022-10-11 16:22:25 +02:00
Krzesimir Nowak
7df5f56b38 ci-automation/vendor-testing/vmware.sh: Fix unbound variable use
This gets triggered when the test is rerun and an existing image is
reused.
2022-10-11 16:22:25 +02:00
flatcar-ci
55609b208a New version: beta-3346.1.0-nightly-20221007-2100 2022-10-07 21:00:31 +00:00
flatcar-ci
e5c919f726 New version: beta-3346.1.0-nightly-20221006-2100 2022-10-06 21:00:30 +00:00
flatcar-ci
aaf279aec7 New version: beta-3346.1.0-nightly-20221004-2100 2022-10-04 21:00:35 +00:00
Kai Lueke
635de52f0d Merge pull request #522 from flatcar/scripts
ci-automation/release: Only upload SDK if a new one was built
2022-10-04 15:21:27 +02:00
Kai Lueke
4d9ac5c266 ci-automation/release: Only upload SDK if a new one was built
A release includes an SDK if its SDK version is the release version.
Only then we need to upload a new SDK container image.
2022-10-04 15:21:27 +02:00
Kai Lueke
b1d49118a5 New version: beta-3346.1.0 beta-3346.1.0 2022-09-29 18:55:31 +02:00
Kai Lüke
8f83a03e1e
Merge pull request #516 from flatcar/mantle-update-flatcar-3346
Upgrade mantle container image to latest HEAD in flatcar-3346
2022-09-29 18:53:01 +02:00
Flatcar Buildbot
ccd67bbba5 Update mantle container image to latest HEAD 2022-09-29 16:32:33 +00:00
Mathieu Tortuyaux
1fbde47d65
automation/gc: add openstack garbage collector
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-09-29 11:41:32 +02:00
Mathieu Tortuyaux
2927ac6e46
ci-automation: add openstack to tested vendors
Missing link to enable the tests in the Flatcar test suite.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-09-29 11:41:29 +02:00
Kai Lueke
06a5cece64 Merge pull request #514 from flatcar/scripts
ci-automation: Ensure to use latest container image
2022-09-29 10:08:27 +02:00
Kai Lueke
bd4208d665 ci-automation: Ensure to use latest container image
The container image was only created if it didn't exist locally. This
would result in fixes not being in a downstream job that is scheduled
to a different worker node on Jenkins that has a stale copy.
For the build automation we will now always download the latest
container tar ball based on comparing the image ID from a new artifact,
and for registry images we pull the container image to make sure that
we don't use a stale copy when we rebuild.
2022-09-29 10:08:27 +02:00
flatcar-ci
6ef1cd2e55 New version: alpha-3346.0.0-nightly-20220928-2100 2022-09-28 21:00:28 +00:00
flatcar-ci
d1a6c30007 New version: alpha-3346.0.0-nightly-20220927-2100 2022-09-27 21:00:32 +00:00
Dongsu Park
1d6f704d7a New version: beta-3346.1.0 2022-09-27 18:38:06 +02:00
Kai Lueke
d6b6765c1d Merge pull request #513 from flatcar/scripts
ci-automation: Fallback also to the mirror for container download
2022-09-27 17:51:22 +02:00
Kai Lueke
4e5cb920dd ci-automation: Fallback also to the mirror for container download
When there is no SDK container image in the registry, the fallback
looks at bincache but bincache isn't backed up and may be cleaned of
old releases. While this won't be the regular case, the container
image registry may be unavailable (or renamed as happened now), or
people would like to rerun the image job which relies on the packages
container.
2022-09-27 17:51:22 +02:00
Kai Lueke
45ce89aba3 Merge pull request #512 from flatcar/scripts
sdk_lib: Also look at the mirror to download the SDK tar ball
2022-09-27 17:11:20 +02:00
Kai Lueke
19dc058d51 sdk_lib: Also look at the mirror to download the SDK tar ball
The bootstrap downloads the previous SDK currently only from bincache
but bincache isn't backed up and may be cleaned of old releases.
The SDK tar ball is also available on the mirror and allows the
bootstrap to succeed without copying the seed SDK to bincache first.
2022-09-27 17:11:20 +02:00
Krzesimir Nowak
dffddb478a Merge pull request #390 from flatcar/scripts
Use lts-info to download correct previous image for LTS release
2022-09-27 12:18:11 +02:00
Krzesimir Nowak
411359c77e ci-automation: Download correct previous image for LTS release
qemu_update vendor test was downloading a wrong LTS image when it was
testing the old LTS image. This is because it was using a current
symlink, which for LTS channel will always point to the new LTS. Old
LTS is available under current-${YEAR} symlink. We can get the
information about year from the lts-info file.
2022-09-27 12:18:11 +02:00
Kai Lueke
f2df740362 Merge pull request #510 from flatcar/scripts
ci-automation: Fix unbound variable errors
2022-09-27 11:42:06 +02:00
Krzesimir Nowak
36f2d856f8 ci-automation: Fix unbound variable errors
FLATCAR_VERSION and FLATCAR_SDK_VERSION are defined in the version
file, so it should be sourced before trying to use those. Here we try
to do it in a limited scope.

Also, SDK container link should use the dockerized version in a
directory name.
2022-09-27 11:42:06 +02:00
flatcar-ci
1bcfcf4e91 New version: alpha-3346.0.0-nightly-20220926-2100 2022-09-26 21:00:28 +00:00
Kai Lueke
48b55707ab ci-automation: Fix syntax error 2022-09-26 17:27:03 +02:00
Kai Lueke
42aaa0d457 Merge pull request #509 from flatcar/scripts
ci-automation: Don&#39;t skip nightly build when the previous one failed
2022-09-26 17:19:08 +02:00
Kai Lueke
277a05bc85 ci-automation: Don't skip nightly build when the previous one failed
Currently we skip the nightly build if there are no changes. This
didn't work well because a new run doesn't fix any failure because the
rerun became a no-op.
Check if the main artifacts we expect from a step are found, as simple
heuristic on whether a rerun is needed.
2022-09-26 17:19:08 +02:00
Kai Lueke
df88a3e498 Annotate a copied function
I found a duplicate function and verified that it's the only one via
comm -12 <(sort ci-automation/ci_automation_common.sh) <(sort sdk_lib/sdk_container_common.sh) | grep function
I'm not sure if this is due to a case where we only import one but
can't import the other, hence I'm not deleting it now.
2022-09-26 17:19:08 +02:00
Krzesimir Nowak
f73f71a952
Merge pull request #503 from flatcar/mantle-update-flatcar-3346
Upgrade mantle container image to latest HEAD in flatcar-3346
2022-09-26 10:49:41 +02:00
Flatcar Buildbot
6e662a28b3 Update mantle container image to latest HEAD 2022-09-26 08:48:18 +00:00
flatcar-ci
0aefba88be New version: alpha-3346.0.0-nightly-20220922-2100 2022-09-22 21:00:36 +00:00
Kai Lüke
9226848493
Merge pull request #497 from flatcar/mantle-update-flatcar-3346
Upgrade mantle container image to latest HEAD in flatcar-3346
2022-09-22 19:18:11 +02:00
Flatcar Buildbot
525d3d7413 Update mantle container image to latest HEAD 2022-09-22 16:49:18 +00:00
Kai Lueke
6b1c28a131 Merge pull request #475 from flatcar/scripts
ci-automation/release.sh: Run plume to release cloud images
2022-09-22 18:45:30 +02:00
Kai Lueke
aa266c4f22 ci-automation/release: Set up secret envs 2022-09-22 18:45:29 +02:00
Kai Lueke
58a3f63b43 ci-automation/release: Run plume release only once
We need to run plume only once for each arch, move it out of the loop.
Also, address some smaller things that shellcheck complains about.
2022-09-22 18:45:29 +02:00
Kai Lueke
978c2aebd7 ci-automation/secret_to_file: Fix usage from subshell
This failed when used from ( secret_to_file ... VAR ; cat $VAR )
because ( ) starts a new subshell PID and secret_to_file's returned
/proc/PID/fd/X path was then using the wrong PID.
2022-09-22 18:45:29 +02:00
Kai Lueke
2716139010 ci-automation/release: Disable GCS auth for plume pre-release
When GCS auth is expected, plume would upload the AMI list to GCS.
2022-09-22 18:45:29 +02:00
Mathieu Tortuyaux
ddc59ba947 release: get product IDs from Jenkins
the JSON object is passed from the Groovy script to the release script,
we just need to extract the correct AWS Marketplace product ID based on
the "<channel>-<arch>".

Exception for the stable-amd64 where we also need to get the stable-pro
product ID.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-09-22 18:45:29 +02:00