Repository navigation
ci: add the Intel apt key without apt-key - #402
Open
jharlow-intel wants to merge 1 commit into
Open
jharlow-intel wants to merge 1 commit into
jharlow-intel wants to merge 1 commit into
Conversation
apt-key is no longer on the ubuntu-latest image. Dearmor the key into /usr/share/keyrings and reference it with signed-by, as dpnp and dpctl do.
jharlow-intel
requested review from
antonwolfy,
ndgrigorian,
vlad-perevezentsev and
xaleryb
as code owners
October 28, 2026 22:03
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the Intel apt repository configuration update.
No open issues 🎉
What changed in this PR
Updates the Clang CI workflow to configure Intel’s apt repository without apt-key, addressing its removal from ubuntu-latest.
Changes:
- Uses the current Intel signing-key file and converts it with
gpg --dearmor. - Registers the repository with
signed-bypointing to a dedicated keyring.
Repository guidance could not be checked because /repo/AGENTS.md was unavailable.
| File | Description |
|---|---|
.github/workflows/build-with-clang.yml |
Replaces apt-key with a dedicated Intel keyring and scoped repository configuration. |
Review effort: Balanced
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.
apt-keyis gone from theubuntu-latestimage, sobuild-with-clang.ymlfail at "Add Intel repository" withsudo: 'apt-key': command not foundon every pull request (build-with-clang).This adds Intel's apt key with
gpg --dearmorinto/usr/share/keyrings/oneapi-archive-keyring.gpgand points the source at it withsigned-by, as Intel's install guide, dpnp and dpctl do. It also moves to the current key file,GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB, which they use.