From: Thanh Ha Date: Mon, 8 Apr 2019 03:41:07 +0000 (+0800) Subject: Update rtd-merge to also trigger on tag changes X-Git-Tag: v0.36.0~7 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=d2b1283cb3f21e8515adb7bc4225c94a22d7e507;p=releng%2Fglobal-jjb.git Update rtd-merge to also trigger on tag changes When we release a tag, it should also trigger a rtd-merge build so that the doc release note link is updated appropriately. Change-Id: I49f6555b707018cca4042917c4193138456dafeb Signed-off-by: Thanh Ha --- diff --git a/jjb/lf-rtd-jobs.yaml b/jjb/lf-rtd-jobs.yaml index d1333d37..9f686e2a 100644 --- a/jjb/lf-rtd-jobs.yaml +++ b/jjb/lf-rtd-jobs.yaml @@ -79,6 +79,7 @@ - change-merged-event - comment-added-contains-event: comment-contains-value: remerge$ + - ref-updated-event ##################### # Job Configuration # @@ -109,6 +110,8 @@ branches: - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' + - branch-compare-type: 'ANT' + branch-pattern: 'refs/tags/**' file-paths: '{obj:gerrit_trigger_file_paths}' - job-template: diff --git a/releasenotes/notes/rtd-merge-tag-build-cd44aa744c58b27b.yaml b/releasenotes/notes/rtd-merge-tag-build-cd44aa744c58b27b.yaml new file mode 100644 index 00000000..9312e1f6 --- /dev/null +++ b/releasenotes/notes/rtd-merge-tag-build-cd44aa744c58b27b.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Tag releases will now trigger a docs build to regenerate and update the + release note link.