After additional testing it has been proven that the GitHub plugin
itself, which is used for the final merge (push) operation will only
register as a handler if the SCM URL is fully realized without any
variables.
Issue: RELENG-191
Change-Id: I3492dac96e85a3d81819fd2ba810629f179d0c04
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Enterprise, or some other GitHub-style system, then it should be
whatever your installation base URL is.
+**git-clone-url**: This is the clone prefix used by GitHub jobs. This
+should be set to either the same thing as **git-url** or the
+'git@github.com:' including the trailing ':'
+
**github-org**: The name of the GitHub organization.
defaults.yaml:
scm:
- lf-infra-github-scm:
- url: '${{GIT_CLONE_URL}}{github-org}/{project}'
+ url: '{git-clone-url}{github-org}/{project}'
refspec: ''
branch: '{branch}'
submodule-recursive: '{submodule-recursive}'
scm:
- lf-infra-github-scm:
- url: '${{GIT_CLONE_URL}}{github-org}/{project}'
+ url: '{git-clone-url}{github-org}/{project}'
refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
branch: '{branch}'
submodule-recursive: '{submodule-recursive}'
scm:
- lf-infra-github-scm:
- url: '${{GIT_CLONE_URL}}{github-org}/{project}'
+ url: '{git-clone-url}{github-org}/{project}'
refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
branch: '{branch}'
submodule-recursive: '{submodule-recursive}'
scm:
- lf-infra-github-scm:
- url: '${{GIT_CLONE_URL}}{github-org}/{project}'
+ url: '{git-clone-url}{github-org}/{project}'
refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
branch: '{branch}'
submodule-recursive: '{submodule-recursive}'