From 1b8069bbb86dbb212e1d3032a9387c97bca47c38 Mon Sep 17 00:00:00 2001 From: "Lott, Christopher (cl778h)" Date: Fri, 8 Nov 2019 09:09:06 -0500 Subject: [PATCH] Ignore ref-updated event in doc builds The RTDv3 template by default listens for tag push events (ref-updated events), but the O-RAN-SC doc process has no need at present. Ignore to skip unnecessary builds at readthedocs.io. Also renamed the directory and file to match the actual job prefix. Signed-off-by: Lott, Christopher (cl778h) Change-Id: I6e5f1f03ad639ca92aa72b353bb0e533571af748 --- jjb/{read-the-docs/rtd.yaml => rtdv3/rtdv3.yaml} | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) rename jjb/{read-the-docs/rtd.yaml => rtdv3/rtdv3.yaml} (54%) diff --git a/jjb/read-the-docs/rtd.yaml b/jjb/rtdv3/rtdv3.yaml similarity index 54% rename from jjb/read-the-docs/rtd.yaml rename to jjb/rtdv3/rtdv3.yaml index 87158846..25f325d8 100644 --- a/jjb/read-the-docs/rtd.yaml +++ b/jjb/rtdv3/rtdv3.yaml @@ -1,7 +1,9 @@ -# Global read the docs jobs +# Global read the docs version 3 jobs # # jobs trigger for all projects on any changes # to files in the docs/* directory +# and publish subprojects to readthedocs.io +# using credentials from Jenkins settings --- - project: name: rtdv3-view @@ -12,6 +14,11 @@ - project: name: rtdv3-global build-node: centos7-builder-1c-1g + # override the default to ignore ref-updated-event + gerrit_merge_triggers: + - change-merged-event + - comment-added-contains-event: + comment-contains-value: remerge$ jobs: - rtdv3-global-verify - rtdv3-global-merge -- 2.16.6