5077 Commits

Author SHA1 Message Date
Kai Lüke
94e0d1dcca
Merge pull request #499 from flatcar/mantle-update-flatcar-3227
Upgrade mantle container image to latest HEAD in flatcar-3227
2022-09-22 19:17:56 +02:00
Flatcar Buildbot
90dc5ed8fe Update mantle container image to latest HEAD 2022-09-22 16:49:22 +00:00
Kai Lueke
9b19ad648e Merge pull request #475 from flatcar/scripts
ci-automation/release.sh: Run plume to release cloud images
2022-09-22 18:46:01 +02:00
Kai Lueke
6b8c81ce2b ci-automation/release: Set up secret envs 2022-09-22 18:46:01 +02:00
Kai Lueke
9de51b849d 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:46:01 +02:00
Kai Lueke
cd679afbeb 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:46:01 +02:00
Kai Lueke
6692b3153f 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:46:01 +02:00
Mathieu Tortuyaux
3dc800c635 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:46:01 +02:00
Mathieu Tortuyaux
eef33ff61d sdk_container: publish the SDK on a Docker registry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-09-22 18:46:01 +02:00
Kai Lueke
8beec0d001 ci-automation/release.sh: Run plume to release cloud images
The mantle plume tool has two steps, pre-release is the mere upload and
release is the publication. In the past this was used to run the tests
inbetween but we don't do this anymore.
Run plume pre-release and release in a single job. Since plume can't
push to GCS in our case, we upload the files to bincache. Also do the
cloudformation update which was previously done in
flatcar-build-scripts but could only be run after the sync to Origin.
It requires the "aws" tool in the mantle container until we implement
this in plume directly.
2022-09-22 18:46:01 +02:00
flatcar-ci
835ed22ca1 New version: stable-3227.2.2-nightly-20220921-2100 2022-09-21 21:00:32 +00:00
Krzesimir Nowak
165444a88c
Merge pull request #492 from flatcar/mantle-update-flatcar-3227
Upgrade mantle container image to latest HEAD in flatcar-3227
2022-09-21 17:20:04 +02:00
Flatcar Buildbot
03ef11f3da Update mantle container image to latest HEAD 2022-09-21 15:12:15 +00:00
flatcar-ci
935e311811 New version: stable-3227.2.2-nightly-20220920-2100 2022-09-20 21:00:33 +00:00
Mathieu Tortuyaux
22ee59fc1c
Merge pull request #489 from flatcar/mantle-update-flatcar-3227
Upgrade mantle container image to latest HEAD in flatcar-3227
2022-09-20 15:40:46 +02:00
Flatcar Buildbot
ed2045ba51 Update mantle container image to latest HEAD 2022-09-20 12:38:08 +00:00
flatcar-ci
48b65818ae New version: stable-3227.2.2-nightly-20220919-2100 2022-09-19 21:00:28 +00:00
Kai Lüke
265a9e655b
Merge pull request #484 from flatcar/mantle-update-flatcar-3227
Upgrade mantle container image to latest HEAD in flatcar-3227
2022-09-19 15:57:55 +02:00
Flatcar Buildbot
a315bde878 Update mantle container image to latest HEAD 2022-09-19 13:56:26 +00:00
Krzesimir Nowak
6e1522682b Merge pull request #481 from flatcar/scripts
ci-automation: Implement a stricter image version check
2022-09-19 15:04:14 +02:00
Krzesimir Nowak
8d97a584c7 ci-automation: Implement a stricter image version check
I made a mistake and wrote a version like main-3363-0.0-stuff (note a
dash instead of a dot after the first number). Surprisingly the build
chugged along just fine almost until the end of the image job - it
detected invalid version string when the job wanted to create a
version.txt file:

ERROR   build_image: script called: build_image '--board=amd64-usr' '--group=developer' '--output_root=/home/sdk/build/images' '--only_store_compressed' '--torcx_root=/home/sdk/build/torcx' 'prodtar' 'container'
ERROR   build_image: Backtrace:  (most recent call is last)
ERROR   build_image:   file build_image, line 196, called: split_ver '3363' 'SPLIT'
ERROR   build_image:   file common.sh, line 192, called: die 'Invalid version string '3363''
ERROR   build_image:
ERROR   build_image: Error was:
ERROR   build_image:   Invalid version string '3363'

Let's have a stricter version check in the beginning of the build
process, so the process fails sooner rather than later.
2022-09-19 15:04:14 +02:00
flatcar-ci
6151c8ba28 New version: stable-3227.2.2-nightly-20220916-2100 2022-09-16 21:00:28 +00:00
Kai Lüke
0e036b1e26
Merge pull request #480 from flatcar/mantle-update-flatcar-3227
Upgrade mantle container image to latest HEAD in flatcar-3227
2022-09-16 10:08:03 +02:00
Flatcar Buildbot
919dfe8517 Update mantle container image to latest HEAD 2022-09-15 21:00:47 +00:00
flatcar-ci
f2d4544cda New version: stable-3227.2.2-nightly-20220915-2100 2022-09-15 21:00:25 +00:00
Kai Lüke
fce49b61b2
Merge pull request #472 from flatcar/mantle-update-flatcar-3227
Upgrade mantle container image to latest HEAD in flatcar-3227
2022-09-15 10:10:44 +02:00
Flatcar Buildbot
1b3861bac8 Update mantle container image to latest HEAD 2022-09-14 21:00:49 +00:00
flatcar-ci
cb5fbbe9ce New version: stable-3227.2.2-nightly-20220914-2100 2022-09-14 21:00:39 +00:00
Kai Lueke
fcb600bc77 Merge pull request #453 from flatcar/scripts
Prepare github org rename to flatcar
2022-09-14 14:52:19 +02:00
Kai Lüke
f18b22a082 Add correct repository link for coreos-overlay
Co-authored-by: Krzesimir Nowak <knowak@microsoft.com>
2022-09-14 14:52:11 +02:00
Kai Lueke
c0a0b5e4b7 Use new github org name "flatcar"
The "flatcar-linux" github org was renamed to "flatcar". There are no
github redirections in place and we have to update all links.
2022-09-14 14:52:11 +02:00
Kai Lueke
2ef8392ddb Use ghcr.io/flatcar, there are no redirects
The GitHub org rename also moved the ghcr.io container image repo but
in contrast to git repos, there are no redirects!
2022-09-14 14:51:56 +02:00
Kai Lueke
a74b51b0cf Use new website flatcar.org
The flatcar-linux.org domain has redirects but it's better to use the
current domain directly.
2022-09-14 14:51:56 +02:00
Kai Lueke
73edca60af Fix broken docs link 2022-09-14 14:51:56 +02:00
flatcar-ci
8aaddce4b9 New version: stable-3227.2.2-nightly-20220913-2100 2022-09-13 21:00:30 +00:00
flatcar-ci
98730f4aec New version: stable-3227.2.2-nightly-20220909-2100 2022-09-09 21:00:28 +00:00
Kai Lüke
ee584918d5
Merge pull request #467 from flatcar-linux/mantle-update-flatcar-3227
Upgrade mantle container image to latest HEAD in flatcar-3227
2022-09-09 12:44:34 +02:00
Flatcar Buildbot
f12fef00a7 Update mantle container image to latest HEAD 2022-09-08 21:00:41 +00:00
flatcar-ci
8cbe0283e4 New version: stable-3227.2.2-nightly-20220908-2100 2022-09-08 21:00:28 +00:00
Kai Lüke
fa23d02e43
Merge pull request #460 from flatcar-linux/mantle-update-flatcar-3227
Upgrade mantle container image to latest HEAD in flatcar-3227
2022-09-08 15:55:34 +02:00
Flatcar Buildbot
b872bf4b1a Update mantle container image to latest HEAD 2022-09-08 13:54:50 +00:00
Krzesimir Nowak
02d85410ef Merge pull request #464 from flatcar-linux/scripts
bootstrap_sdk_container: Fix a check for an official build
2022-09-08 15:08:57 +02:00
Krzesimir Nowak
51d62280a1 bootstrap_sdk_container: Fix a check for an official build
It should happen after we had a chance of processing input parameters,
otherwise we were always operating on empty values which resulted in
always having an unofficial build.
2022-09-08 15:08:57 +02:00
Mathieu Tortuyaux
bb9327088f
Merge pull request #456 from flatcar-linux/mantle-update-flatcar-3227
Upgrade mantle container image to latest HEAD in flatcar-3227
2022-09-08 14:48:20 +02:00
Flatcar Buildbot
1209b392a7 Update mantle container image to latest HEAD 2022-09-07 21:00:48 +00:00
flatcar-ci
4c553e9352 New version: stable-3227.2.2-nightly-20220907-2100 2022-09-07 21:00:32 +00:00
Krzesimir Nowak
b9686b7325 Merge pull request #452 from flatcar-linux/scripts
*: Allow specifying extra URLs for torcx packages
2022-09-07 15:14:14 +02:00
Krzesimir Nowak
d802929ac8 ci-automation: Change the way we prepare torcx manifest for testing
Now URLs for torcx packages are always present in the torcx manifest,
but for releases they may be pointing to the origin server where the
packages will be eventually uploaded. At the time of running the
tests, those packages are still only in the build cache, so change the
URLs to point to the build cache, so the test can pass.
2022-09-07 15:14:13 +02:00
Krzesimir Nowak
0a0e4846e3 *: Allow specifying extra URLs for torcx packages
Torcx manifest may contain paths and URLs as locations of
packages. There are two kinds of packages - vendored and
extra. Vendored packages normally have two locations - path to the
directory inside the image where the package is (which is why it's
called vendored), and a URL to the package on some remote
server. Extra packages only have a URL. But the URLs are added only
when we tell the build_torcx_store script to upload the packages at
the same time, which is what the old build pipeline was doing. With
the new pipeline, the upload happens as a separate step, thus the
upload is disabled when invoking build_torcx_store, and so the
packages are not getting URLs set. This change went unnoticed, because
a kola test checking the generated torcx manifest was only checking if
there is at least one location, either path or URL, and all the new
releases have no extra packages, only vendored ones.

When backporting the new pipeline to old LTS, the kola tests started
to fail, because old LTS had one extra package, and this is how I
noticed the problem.
2022-09-07 15:14:13 +02:00
flatcar-ci
5624980b86 New version: stable-3227.2.2-nightly-20220905-2100 2022-09-05 21:00:30 +00:00