Extend tag feature of release jobs 03/62603/7
authorLott, Christopher (cl778h) <cl778h@att.com>
Wed, 11 Dec 2019 17:08:07 +0000 (12:08 -0500)
committerLott, Christopher (cl778h) <cl778h@att.com>
Thu, 12 Dec 2019 12:40:39 +0000 (07:40 -0500)
commitf61d11e86c21774566bcd7cf689ca04d4292c283
treea7bda707ad543db350e6cd5fc26604e0c42aed56
parent568b22ef45e66def2e9b3361b3d438fd5b32fd97
Extend tag feature of release jobs

Extend release-yaml schema files to allow git_tag entry.
Extend lf-build-with-parameters-maven-release macro with GIT_TAG.
Extend release-job.sh:
  * detect and use optional git_tag string.
  * detect and reject an existing lightweight tag that blocks
    push of a gpg-signed tag.
  * change GERRIT_HOST to GERRIT_URL in method for obtaining LF
    umbrella project to allow testing in the sandbox.
  * rename function from tag to tag-gerrit-repo.
  * simplify tests for presence of Jenkins parameter values
  * show more details about steps as INFO statements
Include schema file contents into documentation; remove the copies.

Change-Id: Iee2167b059c7f0ecf86ab6eb8dead36ec96be1b5
Issue-ID: RELENG-2568, RELENG-2586
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
docs/jjb/lf-release-jobs.rst
jjb/lf-macros.yaml
jjb/lf-release-jobs.yaml
releasenotes/notes/add-optional-git-tag-in-release-2e9b641b8f2c525a.yaml [new file with mode: 0644]
schema/release-container-schema.yaml
schema/release-pypi-schema.yaml
schema/release-schema.yaml
shell/release-job.sh