Skip to content

ci: add the Intel apt key without apt-key - #402

Open
jharlow-intel wants to merge 1 commit into
masterfrom
ci/apt-keyring
Open

jharlow-intel wants to merge 1 commit into
masterfrom
ci/apt-keyring

Conversation

@jharlow-intel

Copy link
Copy Markdown
Contributor

apt-key is gone from the ubuntu-latest image, so build-with-clang.yml fail at "Add Intel repository" with sudo: 'apt-key': command not found on every pull request (build-with-clang).

This adds Intel's apt key with gpg --dearmor into /usr/share/keyrings/oneapi-archive-keyring.gpg and points the source at it with signed-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.

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 jharlow-intel self-assigned this Oct 28, 2026
Copilot AI balanced review requested due to automatic review settings October 28, 2026 22:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 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-by pointing 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

@vchamarthi vchamarthi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

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.

3 participants