Migrate Earthly environments to newer supported distro images#1148
Migrate Earthly environments to newer supported distro images#1148eramongodb wants to merge 20 commits intomongodb:masterfrom
Conversation
kevinAlbs
left a comment
There was a problem hiding this comment.
Changes look good with a tweak to the README and CHANGELOG.
18.04 and 20.04 can/should be dropped as well
I support dropping in the Earthfile. I do not expect the Earthly targets for Ubuntu 18.04 and 20.04 impact downstream drivers.
eramongodb
left a comment
There was a problem hiding this comment.
Ubuntu 18.04 and 20.04 have also been removed.
|
Given this PR already removes some Earthly-related EVG tasks due to EOL distros, opted to also migrate the remaining Earthly-related EVG tasks from Ubuntu 20.04 to run on the latest Ubuntu 24.04 distros instead. |
vector-of-bool
left a comment
There was a problem hiding this comment.
LGTM with one minor comment
| FROM +init --base=quay.io/centos/centos:stream10 | ||
| DO +REDHAT_SETUP | ||
|
|
||
| env.rl8: |
There was a problem hiding this comment.
Should probably rename from rl8 to reflect the distro change
|
Overlooked migration of the Amazon Linux environments in Earthly.
Replaced both with Amazon Linux 2023 (latest), whose environment supports Python 3.9+. |
Motivated by MONGOCRYPT-872, where
uvrequires environments to support Python 3.8 or newer. This revealed various EOL distros in the Earthfile which can/should be removed in favor of newer versions. As a drive-by improvement, the Earthfile version is bumped from 0.6 to 0.8 (requiringCOMMAND->FUNCTION), removing the need for several feature flags.The
debian9-arm64-earthlyanddebian10-arm64-earthlyEVG tasks are removed accordingly. I do not expect the packages published by these tasks are (or should be) still in use. The remaining EVG tasks are also migrated from Ubuntu 20.04 distros to run on Ubuntu 24.04 distros instead.