Skip to content

feat(deb,rpm) allow custom GPG public key file through a new environment variable 'GPG_PUBLIC_KEY_FILE' and fix missing Debian HTML#718

Merged
dduportal merged 2 commits intomasterfrom
feat/jenkins-gpg-key-2026
Dec 22, 2025
Merged

feat(deb,rpm) allow custom GPG public key file through a new environment variable 'GPG_PUBLIC_KEY_FILE' and fix missing Debian HTML#718
dduportal merged 2 commits intomasterfrom
feat/jenkins-gpg-key-2026

Conversation

@dduportal
Copy link
Collaborator

@dduportal dduportal commented Dec 22, 2025

Ref. jenkins-infra/helpdesk#4922

This PR ensures that the public GPG key used by the packaging process is:

  • Published to the final webserver (pkg.jenkins.io) under the filename specified by the GPG_PUBLIC_KEY_FILE environment variable
  • Ensure the HTML pages for Debian and RPM are properly generated with the GPG key filename passed to the Python template engine
    • Includes a fix where the Debian HTML website was not uploaded to the correct location, so it was missing in our staging tests
    • Note: RPM HTML does not have a direct mention of the GPG key, but better to have it in case we change the documentation

Tested as part of jenkins-infra/release#829 with success:

  • The new key is published under the name jenkins.io-2026.key
  • The HTML content for Debian is present and mentions the new key filename (and its new ID and expiration date)

dduportal added a commit to jenkins-infra/release that referenced this pull request Dec 22, 2025
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
@dduportal dduportal force-pushed the feat/jenkins-gpg-key-2026 branch 2 times, most recently from fb2efa2 to 9fe0a29 Compare December 22, 2025 19:00
dduportal added a commit to jenkins-infra/release that referenced this pull request Dec 22, 2025
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
…ent variable 'GPG_PUBLIC_KEY_FILE'

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
@dduportal dduportal force-pushed the feat/jenkins-gpg-key-2026 branch from b114e09 to bacd952 Compare December 22, 2025 20:10
dduportal added a commit to jenkins-infra/release that referenced this pull request Dec 22, 2025
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
@dduportal dduportal changed the title feat(deb,rpm) allow custom GPG public key file through a new environment variable 'GPG_PUBLIC_KEY_FILE' feat(deb,rpm) allow custom GPG public key file through a new environment variable 'GPG_PUBLIC_KEY_FILE' and fix missing Debian HTML Dec 22, 2025
@dduportal dduportal marked this pull request as ready for review December 22, 2025 20:20
@dduportal dduportal requested a review from a team as a code owner December 22, 2025 20:20
Copy link
Member

@lemeurherve lemeurherve left a comment

Choose a reason for hiding this comment

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

🚀

Copy link
Member

@timja timja left a comment

Choose a reason for hiding this comment

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

Not manually tested

@dduportal dduportal merged commit 8a0382f into master Dec 22, 2025
3 checks passed
@dduportal dduportal deleted the feat/jenkins-gpg-key-2026 branch December 22, 2025 22:05
@lemeurherve lemeurherve added the release-version:2.541.1 Indicate that this has been or will be used and/or delivered in this Jenkins Core LTS packaging. label Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-version:2.541.1 Indicate that this has been or will be used and/or delivered in this Jenkins Core LTS packaging.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants