Fix lf-release-jobs 34/62434/10
authorHoua Yang <hyang@contractor.linuxfoundation.org>
Mon, 2 Dec 2019 16:30:08 +0000 (10:30 -0600)
committerAric Gardner <agardner@linuxfoundation.org>
Tue, 3 Dec 2019 18:16:08 +0000 (13:16 -0500)
commit41f85fa1f59549b274230fac987002f7147b7d03
tree54b6308adbd5d2dfe8bec9a2af21a1e703ee9eb4
parente1aa69307271648dccb7d3b44530b4b39b647711
Fix lf-release-jobs

Add -m to deal with merge commits.

-m
By default, git diff-tree --stdin does not show differences
for merge commits. With this flag, it shows differences
to that commit from all of its parents.

Refactor packagecloud release/merge parameters and add distribution_type
as environmental variable.
Remove distribution_type from pypi and packagecloud schema.
Add variable values for packagecloud in release-job.sh.

ISSUE-ID: RELENG-2567
Signed-off-by: Houa Yang <hyang@contractor.linuxfoundation.org>
Change-Id: I4bf718874b754bd24c03e22a9184e0b1566075e9
docs/jjb/lf-release-jobs.rst
jjb/lf-release-jobs.yaml
releasenotes/notes/release-job-1d9b641b8f2c5259.yaml [new file with mode: 0644]
schema/release-packagecloud-schema.yaml
schema/release-pypi-schema.yaml
shell/release-job.sh