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

chore: upgrade ubuntu to latest version in CI #11967

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

Revolyssup
Copy link
Contributor

@Revolyssup Revolyssup commented Feb 12, 2025

Description

In light of the deprecation of 20.04 - actions/runner-images#11101

Fixes # (issue)
Upgrading ubuntu

Checklist

Other changes to keep compatibility with Ubuntu latest.

  1. The dubbo backend script needs java8 and after upgrade the java version goes up. So change has been made to stick it to java 8.
  2. Changing cli.yaml - Ubuntu 20.04’s default umask allowed files to be created with 644 permissions by default, so even when the script overwrote config.yaml, the file remained readable by all users. Newer Ubuntu versions tightened security defaults, leading to 640/600 permissions, which broke APISIX’s ability to read config.yaml. So the umask is set to 022 so new files are created by default with 644 permission.
  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. CI github_actions Pull requests that update GitHub Actions code labels Feb 12, 2025
@Revolyssup Revolyssup changed the title upgrade: ubuntu to latest version in CI chore: upgrade ubuntu to latest version in CI Feb 12, 2025
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI github_actions Pull requests that update GitHub Actions code size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant