Commit ceb2107
committed
build-packages: rename SIGNING_GPG_KEY -> NIGHTLY_SIGNING_GPG_KEY
Rename the two secrets that build-packages.yml pulls for RPM/DEB
signing:
SIGNING_GPG_KEY -> NIGHTLY_SIGNING_GPG_KEY
SIGNING_PASSPHRASE -> NIGHTLY_SIGNING_PASSPHRASE
build-packages.yml is a reusable workflow called only from
nightly.yml (release.yml has its own inline signing path that
also references SIGNING_GPG_KEY -- unchanged by this PR). So this
rename separates NIGHTLY signing key material from RELEASE signing
key material at the secret-name level:
* nightly signing: NIGHTLY_SIGNING_GPG_KEY / _PASSPHRASE
* release signing: SIGNING_GPG_KEY / SIGNING_PASSPHRASE (unchanged)
Motivation. Once a repo (public salt-nightlies, private
salt-priv) does both nightly builds and formal releases, we
don't want a single pair of secrets covering both. Different
threat models, different rotation cadences, and in the private
security flow potentially different keys entirely -- security
nightlies should not be signed with the same key that signs
public release artifacts.
The step-local env variable inside the shell (`SIGNING_GPG_KEY`,
`SIGNING_PASSPHRASE`) is intentionally left as-is -- those are
internal to the step and the downstream `gpg --import` invocation
doesn't care what the env var is named. Only the `secrets.<NAME>`
reference at the env-block level is renamed.
Post-merge action required on every repo that already runs
nightly.yml (saltstack/salt-nightlies, saltstack/salt-priv,
plus any dev fork that runs nightlies):
gh secret set NIGHTLY_SIGNING_GPG_KEY --repo <repo> < privkey.asc
gh secret set NIGHTLY_SIGNING_PASSPHRASE --repo <repo> --body '<passphrase>'
The existing SIGNING_GPG_KEY / SIGNING_PASSPHRASE secrets on
those repos remain in place and continue to sign release
artifacts via release.yml. If a repo doesn't run releases (e.g.
salt-priv today), leaving them unset is fine -- release.yml
never fires there.
Comment / description strings that mentioned SIGNING_GPG_KEY as
a user-facing hint also updated to reflect the new name.1 parent 97d9f00 commit ceb2107
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
171 | | - | |
| 170 | + | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
303 | | - | |
| 302 | + | |
| 303 | + | |
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
| 320 | + | |
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
| |||
0 commit comments