23004 Commits

Author SHA1 Message Date
Kai Lüke
9620468a81
Merge pull request #509 from flatcar/kai/nightly-after-failure
ci-automation: Don't skip nightly build when the previous one failed
2022-09-26 17:17:35 +02:00
Kai Lueke
bca6e6e41d 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:06:21 +02:00
Kai Lueke
18627499c1 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 15:39:45 +02:00
Krzesimir Nowak
527d174b50
.github: Fix syntax error 2022-09-26 15:14:35 +02:00
Krzesimir Nowak
204a54bb76 Merge pull request #2186 from flatcar/krnowak/revert-old-lts-workarounds
.github: Revert old lts workarounds
2022-09-26 15:07:48 +02:00
Krzesimir Nowak
12bf11ad05
Merge pull request #508 from flatcar/krnowak/mantle-old-lts
.github: Update mantle in old LTS too
2022-09-26 15:07:37 +02:00
Krzesimir Nowak
610c41bcc5 .github: Partially revert some changes
It partially reverts commits 9ecbd31df40e8cf4361db7f638c089e4df3dc503
and 1b08c65f7b5797dd153898f148b98429feeacd2c. The reverted parts were
workarounds for old LTS, which used to have no run_sdk_container
stuff.
2022-09-26 14:43:36 +02:00
Krzesimir Nowak
4e4d0891e9 Revert ".github: make each apply script take parameters CHECKOUT_SCRIPTS"
This reverts commit f008fb5883afee1d83d636a06cc9c9b192705793.

This was introduced for old LTS that didn't use submodules in
scripts. Now it's backported, so this workaround is not needed.
2022-09-26 14:38:23 +02:00
Krzesimir Nowak
3ebbbd01cb .github: Update mantle in old LTS too 2022-09-26 14:23:47 +02:00
Krzesimir Nowak
3a4611fb68 Merge pull request #363 from flatcar/krnowak/automate-updates
.github: Add an automatic package updates workflow
2022-09-26 13:13:35 +02:00
Krzesimir Nowak
25883519d9
Merge pull request #504 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-09-26 10:49:42 +02:00
Flatcar Buildbot
85fb522a5a Update mantle container image to latest HEAD 2022-09-26 08:48:18 +00:00
Flatcar Buildbot
bc5705c6e0 sys-kernel: Upgrade Kernel 5.15.67 to 5.15.70 2022-09-24 07:26:04 +00:00
Krzesimir Nowak
7187138bb7 .github: Add an automatic package updates workflow
It will run on every Monday and will try to update packages listed in
the package listing. This can be used to gradually add more and more
packages under the automation.
2022-09-23 14:31:39 +02:00
flatcar-ci
452a38a737 New version: main-3370.0.0-nightly-20220922-2100 2022-09-22 21:00:34 +00:00
Kai Lüke
a6b6645733
Merge pull request #501 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-09-22 18:49:04 +02:00
Flatcar Buildbot
87b5565f5e Update mantle container image to latest HEAD 2022-09-22 16:45:00 +00:00
Kai Lüke
d6cb1009c6
Merge pull request #475 from flatcar/kai/plume-release
ci-automation/release.sh: Run plume to release cloud images
2022-09-22 18:44:39 +02:00
Kai Lueke
3fef1eb801 ci-automation/release: Set up secret envs 2022-09-22 18:31:50 +02:00
Kai Lueke
ffee812d32 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:31:50 +02:00
Kai Lueke
79d89faf91 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:31:50 +02:00
Kai Lueke
ef8f20f9dd 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:31:50 +02:00
Mathieu Tortuyaux
593cf19a7a 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:31:50 +02:00
Mathieu Tortuyaux
27b62deb81 sdk_container: publish the SDK on a Docker registry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-09-22 18:31:50 +02:00
Kai Lueke
20ed1ad3a4 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:31:48 +02:00
flatcar-ci
fcc3b86ff2 New version: main-3369.0.0-nightly-20220921-2100 2022-09-21 21:00:27 +00:00
Krzesimir Nowak
ff44752edf
Merge pull request #495 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-09-21 17:20:07 +02:00
Flatcar Buildbot
3499367c2a Update mantle container image to latest HEAD 2022-09-21 15:12:16 +00:00
Krzesimir Nowak
4337abdd9a Merge pull request #2166 from flatcar/krnowak/fix-emerge-gitclone-developer-channel
coreos-base/emerge-gitclone: Bring in a fix for developer channel
2022-09-21 12:26:01 +02:00
flatcar-ci
fd44bfd22c New version: main-3368.0.0-nightly-20220920-2100 2022-09-20 21:00:32 +00:00
Krzesimir Nowak
48b79af088 coreos-base/emerge-gitclone: Bring in a fix for developer channel and builds
For the main branch (so for nightly builds) the group in
`/usr/share/flatcar/update.conf` is not "main", but "developer". This
needs a small translation when turning it into a channel
information. Without that, we are trying to checkout a nonexistent tag
named `developer-3363.0.0-…` instead of `main-3363.0.0-…`, which
fails.

In developer builds version string contains version numbers and a
build ID with plus symbol sitting between them. Git tags are formatted
in similar way, but with a dash, instead of plus. Thus the plus needs
to be replaced to obtain a proper git tag.
2022-09-20 16:34:33 +02:00
Krzesimir Nowak
13b9fa8c06 Merge pull request #2173 from flatcar/krnowak/bump-cloudinit
coreos-base/coreos-cloudinit: Bump to latest commit
2022-09-20 16:27:12 +02:00
Mathieu Tortuyaux
bfc212bac7
Merge pull request #491 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-09-20 15:40:10 +02:00
Flatcar Buildbot
671d6b60f7 Update mantle container image to latest HEAD 2022-09-20 12:38:17 +00:00
Krzesimir Nowak
85fcc77801 changelog: Add entries 2022-09-20 08:40:36 +02:00
flatcar-ci
dc742389ba New version: main-3367.0.0-nightly-20220919-2100 2022-09-19 21:00:31 +00:00
Kai Lüke
fc4142e8bc
Merge pull request #483 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2022-09-19 15:56:48 +02:00
Flatcar Buildbot
fbd4c64576 Update mantle container image to latest HEAD 2022-09-19 13:56:25 +00:00
Kai Lüke
0d4f50492b Merge pull request #2172 from flatcar/cacerts-3.83-main
Upgrade ca-certificates in main from 3.82 to 3.83
2022-09-19 15:54:36 +02:00
Krzesimir Nowak
35b2cbbbba coreos-base/coreos-cloudinit: Bump to latest commit
This brings in a rename of the project.
2022-09-19 15:15:32 +02:00
Krzesimir Nowak
898f1b201e
Merge pull request #481 from flatcar/krnowak/stricter-version-check
ci-automation: Implement a stricter image version check
2022-09-19 12:15:20 +02:00
Krzesimir Nowak
1585ede78a 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 12:12:37 +02:00
Flatcar Buildbot
af532ac1c5 app-misc: Upgrade ca-certificates 3.82 to 3.83 2022-09-19 07:46:17 +00:00
flatcar-ci
0aa225caab New version: main-3364.0.0-nightly-20220916-2100 2022-09-16 21:00:36 +00:00
Krzesimir Nowak
9b426dbb05 app-editors/vim*: Move to overlay
Upstream lags a bit with packaging vim, which is understandable seeing
how vim is developed (every commit is a tag). Since we need to address
some CVEs, move the packages to overlay and update it there.
2022-09-16 11:12:09 +02:00
Krzesimir Nowak
d6d7f3a190 profiles: Cleanup use flags for vim
Put them into targets/generic profile instead of duplicating them in
amd64/generic and arm64/generic profiles. There's isn't anything
arch-specific in those USE flags.
2022-09-16 11:10:20 +02:00
Krzesimir Nowak
b1dd9916dd profiles: Drop accept keywords for app-editors/vim{,-core}
We will put our version into overlay.
2022-09-16 11:10:20 +02:00
Krzesimir Nowak
ca32170302 app-editors/vim: Apply Flatcar modifications
These are not Flatcar specific modifications per se. We just bump the
version from 9.0.0099 to 9.0.0469 and drop a patch that was already
applied upstream.
2022-09-16 11:09:58 +02:00
Krzesimir Nowak
2cbd77d836 app-editors/vim: Sync with Gentoo
It's from Gentoo commit 9711e66907f463dbafc06d8c3c0605fe44d0dc2e.
2022-09-16 11:09:29 +02:00
Krzesimir Nowak
44a3f1c84d app-editors/vim-core: Apply Flatcar modifications
These are not Flatcar specific modifications per se. We just bump the
version from 9.0.0099 to 9.0.0469 and drop a patch that was already
applied upstream.
2022-09-16 11:08:16 +02:00