From e04cb57e6a3808dd59bf2c28792ed513360bc930 Mon Sep 17 00:00:00 2001 From: Andrew Yourtchenko Date: Wed, 3 Jun 2020 19:30:31 +0000 Subject: 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 Change-Id: I4833aa929044413a1ac08ab80668f25c0db8b3ff --- jjb/vpp/vpp.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'jjb/vpp') 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: @@ -600,6 +606,9 @@ - shell: !include-raw-escape: - ../scripts/vpp/test-checkstyle.sh + - shell: + !include-raw-escape: + - ../scripts/vpp/api-checkstyle.sh - shell: !include-raw-escape: - ../scripts/vpp/commitmsg.sh -- cgit 1.2.3-korg