summaryrefslogtreecommitdiffstats
path: root/jjb/vpp
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2020-06-03 19:30:31 +0000
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-06-16 14:17:28 +0000
commite04cb57e6a3808dd59bf2c28792ed513360bc930 (patch)
treeffcf8b30c13921dd557403db2cbd8029aa90c034 /jjb/vpp
parenteb080ac6339668e3177f580d93e5c669839d2e62 (diff)
vpp-checkstyle-verify-{stream}: add the step to API check
This patch adds calling the crcchecker.py --check-patchset in the initial checkstyle path. (see change ID I5f13c0976d8a12a58131b3e270f2dc9c00dc7d8c) It adds also: - gerrit-refspec-parameter to be able to specify the patchset manually - credentials-binding for a WebEx Teams bot - I had them added via IT-19800 - necessary plumbing to use these credentials. It is done by a minimal curl setup, which posts into room "VPP API check failures", which I created to be able to monitor the behavior and jump in to discuss and help to sort out the changes that may be problematic. Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com> Change-Id: I4833aa929044413a1ac08ab80668f25c0db8b3ff
Diffstat (limited to 'jjb/vpp')
-rw-r--r--jjb/vpp/vpp.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml
index 216ec4003..dacd68500 100644
--- a/jjb/vpp/vpp.yaml
+++ b/jjb/vpp/vpp.yaml
@@ -531,6 +531,7 @@
os: '{os}'
- repo-name-parameter:
repo-name: '{repo-stream-part}.ubuntu.bionic.main'
+ - gerrit-refspec-parameter
scm:
- gerrit-trigger-scm:
@@ -541,6 +542,11 @@
wrappers:
- fdio-infra-wrappers:
build-timeout: '{build-timeout}'
+ - credentials-binding:
+ - text:
+ credential-id: VppApiCompatNotify
+ variable: SECRET_WEBEX_TEAMS_ACCESS_TOKEN
+
triggers:
- gerrit:
@@ -602,6 +608,9 @@
- ../scripts/vpp/test-checkstyle.sh
- shell:
!include-raw-escape:
+ - ../scripts/vpp/api-checkstyle.sh
+ - shell:
+ !include-raw-escape:
- ../scripts/vpp/commitmsg.sh
publishers: