X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=docs%2Fjjb%2Flf-release-jobs.rst;h=eb4e8022f2721bbe4f435f7a603db0ea2db15b4c;hb=refs%2Fchanges%2F30%2F16430%2F2;hp=73187b13580ac18d65d1a734e187ba777a562306;hpb=6b53be2db0cb7eaa85b5a6c60edf4e5e5a8f5c80;p=releng%2Fglobal-jjb.git diff --git a/docs/jjb/lf-release-jobs.rst b/docs/jjb/lf-release-jobs.rst index 73187b13..eb4e8022 100644 --- a/docs/jjb/lf-release-jobs.rst +++ b/docs/jjb/lf-release-jobs.rst @@ -106,6 +106,10 @@ In Gerrit create a new group called ``self-serve-release`` and give it direct pu Add ``RELEASE_USERNAME`` to group ``self-serve-release`` and group ``Non-Interactive Users`` +Give group ``self-serve-release`` Forge Committer rights on ``refs/tags/*`` +Give group ``self-serve-release`` Allow on ``Create Signed Tag`` +Give group ``self-serve-release`` Allow on ``Create Annotated Tag`` + Jenkins ======= @@ -113,11 +117,21 @@ Add a global credential to Jenkins called ``jenkins-release`` and set the ID: `` as its value insert the ``ssh-key`` that you uploaded to Gerrit. Add Global vars in Jenkins: -Jenkins configre -> Global properties -> Environment variables +Jenkins configure -> Global properties -> Environment variables ``RELEASE_USERNAME = $RELEASE_USERNAME`` ``RELEASE_EMAIL = $RELEASE_EMAIL`` +Jenkins configure -> Managed Files -> Custom File + +id: signing-pubkey +Name: SIGNING_PUBKEY (optional) +Comment: SIGNING_PUBKEY (optional) + +Content: (ask andy) +-----BEGIN PGP PUBLIC KEY BLOCK----- + + Add or edit the managed file in Jenkins called ``lftoolsini``, appending a nexus section: Jenkins Settings -> Managed files -> Add (or edit) -> Custom file @@ -130,8 +144,8 @@ Jenkins Settings -> Managed files -> Add (or edit) -> Custom file Ci-management ============= -upgrade you projects global-jjb if needed -add this to your global defaults file (eg: jjb/defaults.yaml) +Upgrade your projects global-jjb if needed +add this to your global defaults file (eg: jjb/defaults.yaml). .. code-block:: bash