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

Fix codeql to work on newer version of Ubuntu #6445

Merged
merged 4 commits into from
Dec 17, 2024
Merged

Conversation

vandonr
Copy link
Contributor

@vandonr vandonr commented Dec 16, 2024

since Github updated their runners to use a more recent version of ubuntu, it broke the codeQL job because it couldn't find LLVM using the new version name (noble).
The error we're seeing is The repository 'http://apt.llvm.org/noble llvm-toolchain-noble-16 Release' does not have a Release file.
It turns out Clang-16 is available by default in ubuntu Noble (24.04), so we don't need the script at all and we can just install from apt.

DEBIAN_FRONTEND=noninteractive is necessary to prevent a prompt from tzdata asking us to choose our timezone.

@vandonr vandonr requested a review from a team as a code owner December 16, 2024 15:19
@github-actions github-actions bot added the area:builds project files, build scripts, pipelines, versioning, releases, packages label Dec 16, 2024
@vandonr
Copy link
Contributor Author

vandonr commented Dec 16, 2024

it says

clang-16 is already the newest version (1:16.0.6-23ubuntu4).
0 upgraded, 0 newly installed, 0 to remove and 112 not upgraded.

so idk maybe we can remove this step entirely ? (until 2026 and the next LTS release :trollface:)

Copy link
Contributor

@bouwkast bouwkast left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Member

@robertpi robertpi left a comment

Choose a reason for hiding this comment

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

Doesn't really need another approval, but since I was looking anyway :-)

@vandonr
Copy link
Contributor Author

vandonr commented Dec 16, 2024

Idk why the azure stuff is not running ? 🤔

andrewlock added a commit that referenced this pull request Dec 17, 2024
## Summary of changes

Fix broken github status action

## Reason for change

The github status upload is broken, because we're not splitting on `;`
as expected

## Implementation details

Add missing `export IFS=";"`, accidentally deleted in #6407

## Test coverage

This is the test

## Other details

Currently blocking #6445
@vandonr vandonr merged commit eed7b60 into master Dec 17, 2024
92 of 95 checks passed
@vandonr vandonr deleted the vandonr-patch-1 branch December 17, 2024 16:50
@github-actions github-actions bot added this to the vNext-v3 milestone Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:builds project files, build scripts, pipelines, versioning, releases, packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants