Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ubuntu version as 20.04 is being deprecated. Fixes #2761 #2763

Closed
wants to merge 1 commit into from

Conversation

plorenz
Copy link
Member

@plorenz plorenz commented Feb 7, 2025

No description provided.

@plorenz plorenz requested review from a team as code owners February 7, 2025 20:21
dovholuknf
dovholuknf previously approved these changes Feb 7, 2025
@qrkourier
Copy link
Member

qrkourier commented Feb 7, 2025

Ubuntu Jammy has glibc 2.35. Here's some older distros.

Distributions with glibc < 2.35

  • CentOS 7: glibc 2.17
  • Oracle Linux 7: glibc 2.17
  • RedHat Linux 8: glibc 2.28
  • Oracle Linux 8: glibc 2.28
  • RedHat Linux 9: glibc 2.34 👈 this is the latest major version
  • Oracle Linux 9: glibc 2.34
  • Fedora 34: glibc 2.33
  • Fedora 35: glibc 2.34
  • Debian Buster: glibc 2.28-10+deb10u2
  • Debian Bullseye: glibc 2.31-13+deb11u6
  • Ubuntu Bionic: glibc 2.27-3ubuntu1.6
  • Ubuntu Focal (20.04): glibc 2.31-0ubuntu9.9

Copy link
Member

@qrkourier qrkourier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding a builder layer in #2765

@@ -82,7 +82,7 @@ jobs:

linux-build:
name: Build Linux binaries
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we run tests on the oldest or newest available runner? I have a preference for pinning the runner, whichever version we decide to use.

.github/workflows/validation-links.yml Show resolved Hide resolved
@qrkourier qrkourier dismissed dovholuknf’s stale review February 7, 2025 22:28

we decided against requiring glibc 2.35 to run ziti

@@ -99,7 +99,7 @@ jobs:

linux-build:
name: Build Linux binaries
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
Copy link
Member

@scareything scareything Feb 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why use 24.04 here, but 22.04 in the release workflow? imo it's best to build on the oldest kernel that's feasible. the resulting binaries will depend on the kernel's userspace abi (even if the build is done in a container), and care is taken to ensure that newer kernels support the abis from older kernels.

If the kernels used for the different workflows are intentionally different then it's probably worth commenting (in each workflow) why this is the case.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I'll change the PR that replaces this PR to pin the oldest available runner for jobs that build a Linux binary: #2765

@qrkourier
Copy link
Member

Replaced by #2765

@qrkourier qrkourier closed this Feb 10, 2025
@plorenz plorenz deleted the update-gh-ci-ubuntu branch February 11, 2025 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants