Move UbuntuAmd64 CI to Ubuntu 24.04 EC2 agents#398
Draft
blindpirate wants to merge 1 commit into
Draft
Conversation
Match the new gradle-bt-ci AMI while preserving the glibc 2.23 floor for released native libraries by publishing JNI artifacts from an Ubuntu 16.04 container on the Ubuntu 24 host agent.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of migrating native-platform EC2 build agents into the gradle-bt-ci AWS account (us-west-2). First target AMI:
ami-041694c5c8e7cbe51(ec2-ubuntu24-amd64-build-vm, tagnative-platform=ubuntu24-amd64).Summary
UbuntuAmd64:Os.Ubuntu16→Os.Ubuntu24so builds match agents reporting Ubuntu 24.04:native-platform:uploadJni(and other native publish tasks) run inside an Ubuntu 16.04 container to preserve the shipped glibc 2.23 runtime floor.teamcity/docker/native-publish-ubuntu16/Dockerfileused by TeamCity to build the publish container on the agentWhy the container is required
Unlike gradle-fileevents (Linux agents are test-only), native-platform's
UbuntuAmd64agent builds released JNI artifacts (uploadJni,uploadMain). Building those directly on Ubuntu 24.04 would raise the glibc floor to 2.39 and break Gradle on older Linux distros. See the migration plan in dev-infrastructure.Cutover dependencies (do not merge until done)
Ubuntu 24 AMD64in the native-platform agents cloud profile toami-041694c5c8e7cbe51(us-west-2, gradle-bt-ci account114865652559). The profile currently has Ubuntu 24 AArch64 but not AMD64 with this AMI.GradleNative_NativePlatformproject pool with instance types that have NVMe instance store (e.g.c6id.*); the new AMI self-terminates without ≥50 GB instance store.Os.Ubuntu16in this PR; migrate separately onceami-054be1e2616d069a1is ready.Test plan
Ubuntu 24 AMD64 (ami-041694c5c8e7cbe51)in us-west-2Test on UbuntuAmd64on this branch and confirm an Ubuntu 24 EC2 agent is provisionedUbuntuAarch64, Amazon Linux, etc.) are unaffected