Skip to content

Commit 8200f5d

Browse files
committed
doc(README) document the staging/promotion for Security advisory
Cherry-picking commits 525fbd0, 3e215be, 1f0961d and d114f42
1 parent e87b28c commit 8200f5d

File tree

1 file changed

+27
-4
lines changed

1 file changed

+27
-4
lines changed

README.adoc

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,8 @@ All steps need to be done twice: Once for weekly, once for LTS.
365365

366366
==== Staging (before release day)
367367

368+
===== Maven Artifacts
369+
368370
To stage the Maven artifacts, trigger the generic Release link:https://release.ci.jenkins.io/job/core/job/release/[job] from the appropriate branch like `security-stable-2.303.2`.
369371

370372
To do that, follow these steps:
@@ -377,16 +379,37 @@ To do that, follow these steps:
377379
... `MAVEN_REPOSITORY_NAME` set to `unused` as we already define it in the release profile file, which overrides the job parameter
378380
... `VALIDATION_ENABLED` set to true if the validation stage should run
379381

380-
==== Publishing (on release day)
382+
===== Packages
381383

382-
. To create and publish packages, trigger the generic Packaging job link:https://release.ci.jenkins.io/job/core/job/package/[job] from the appropriate branch like `security-stable-2.303.2` with correct parameters
384+
. To create and stage packages (except Docker images), trigger the generic Packaging job link:https://release.ci.jenkins.io/job/core/job/package/[job] from the appropriate branch like `security-stable-2.303.2` with correct parameters
383385
.. `RELEASE_PROFILE` set to `security`
386+
.. `JENKINS_VERSION` set to `unused` same reason as before
384387
.. `RELEASE_GIT_BRANCH` set to `unused` same reason as before
385388
.. `MAVEN_REPOSITORY_NAME` set to `unused` same reason as before
386-
.. `MAVEN_REPOSITORY_PRODUCTION_NAME` set to `unused`
389+
.. `MAVEN_REPOSITORY_PRODUCTION_NAME` set to `unused` same reason as before
390+
.. `MAVEN_STAGING_REPOSITORY_PROMOTION_ENABLED` set to false (manually done by publishing-tool in a parallel process)
391+
.. `GIT_STAGING_REPOSITORY_PROMOTION_ENABLED` set to false (manually merged by security team)
392+
.. `VALIDATION_ENABLED` set to true (we want a summary of what need to be done at the beginning)
393+
.. `WINDOWS_PACKAGING_ENABLED` set to true (we want to generate and stage Windows package along with other packages)
394+
.. `FORCE_STAGING_BOOTSTRAP_PARAM` set to false (only for edge cases)
395+
.. `ONLY_STAGING_PARAM` set to true (we only want to stage, not publish)
396+
.. `ONLY_PROMOTION_PARAM` set to false (we only want to stage, not publish)
397+
398+
==== Publishing (on release day)
399+
400+
. To publish packages from staging, trigger the generic Packaging job link:https://release.ci.jenkins.io/job/core/job/package/[job] from the appropriate branch like `security-stable-2.303.2` with correct parameters
401+
.. `RELEASE_PROFILE` set to `security`
402+
.. `JENKINS_VERSION` set to `unused` same reason as before
403+
.. `RELEASE_GIT_BRANCH` set to `unused` same reason as before
404+
.. `MAVEN_REPOSITORY_NAME` set to `unused` same reason as before
405+
.. `MAVEN_REPOSITORY_PRODUCTION_NAME` set to `unused` same reason as before
387406
.. `MAVEN_STAGING_REPOSITORY_PROMOTION_ENABLED` set to false (manually done by publishing-tool in a parallel process)
388407
.. `GIT_STAGING_REPOSITORY_PROMOTION_ENABLED` set to false (manually merged by security team)
389-
.. `VALIDATION_ENABLED` set to true
408+
.. `VALIDATION_ENABLED` set to true (we want a summary of what need to be done at the beginning)
409+
.. `WINDOWS_PACKAGING_ENABLED` set to **false** (no package generation)
410+
.. `FORCE_STAGING_BOOTSTRAP_PARAM` set to false (only for edge cases)
411+
.. `ONLY_STAGING_PARAM` set to **false** (we don't want to stage anything)
412+
.. `ONLY_PROMOTION_PARAM` set to **true** (we only want to publish)
390413

391414
== Certificate
392415

0 commit comments

Comments
 (0)