Skip to content

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

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

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

Conversation

@jharlow-intel

Copy link
Copy Markdown
Collaborator

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

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 were identified for the Intel apt repository signing-key update.

No open issues 🎉

What changed in this PR

Updates the Clang CI workflow to configure Intel’s apt repository without the removed apt-key command.

Changes:

  • Uses Intel’s current public signing-key file.
  • Converts the key with gpg --dearmor and restricts its use to the Intel repository through signed-by.

Repository guidance could not be loaded because /repo/AGENTS.md was unavailable.

File Description
.github/​workflows/​build-with-clang.yml Replaces apt-key with a dedicated keyring and a signed repository entry.

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: the Intel apt key now goes into a keyring with signed-by, all 8 build-with-clang legs pass, and no other file in the repo uses apt-key

@antonwolfy

Copy link
Copy Markdown
Collaborator

That already covered by #261

@antonwolfy antonwolfy closed this Oct 29, 2026
@antonwolfy
antonwolfy deleted the ci/apt-keyring branch October 29, 2026 12:09
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