You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
Overview of the verification flows
The following diagram illustrates the proposed review verification and merge verification flows
eyJleHRTcnZJbnRlZ1R5cGUiOiIiLCJnQ2xpZW50SWQiOiIiLCJjcmVhdG9yTmFtZSI6Ikxhc3NlIEthaWhsYXZpcnRhIiwib3V0cHV0VHlwZSI6ImJsb2NrIiwibGFzdE1vZGlmaWVyTmFtZSI6Ikxhc3NlIEthaWhsYXZpcnRhIiwibGFuZ3VhZ2UiOiJlbiIsImRpYWdyYW1EaXNwbGF5TmFtZSI6IiIsInNGaWxlSWQiOiIiLCJhdHRJZCI6IjkzMDAyMDY1IiwiZGlhZ3JhbU5hbWUiOiJSZXZpZXcgYW5kIG1lcmdlIHZlcmlmaWNhdGlvbiBmbG93cyB3aXRoIHByb2plY3Qtc3BlY2lmaWMgQ1NJVCIsImFzcGVjdCI6IiIsImxpbmtzIjoiYXV0byIsImNlb05hbWUiOiJQcm9qZWN0LXNwZWNpZmljIENTSVQgc3RydWN0dXJlIChwcm9wb3NhbCBmb3IgSG9ub2x1bHUpIiwidGJzdHlsZSI6InRvcCIsImNhbkNvbW1lbnQiOmZhbHNlLCJkaWFncmFtVXJsIjoiIiwiY3N2RmlsZVVybCI6IiIsImJvcmRlciI6dHJ1ZSwibWF4U2NhbGUiOiIxIiwib3duaW5nUGFnZUlkIjo5MzAwMTk4OSwiZWRpdGFibGUiOmZhbHNlLCJjZW9JZCI6OTMwMDIxMDMsInBhZ2VJZCI6IiIsImxib3giOnRydWUsInNlcnZlckNvbmZpZyI6eyJlbWFpbHByZXZpZXciOiIxIn0sIm9kcml2ZUlkIjoiIiwicmV2aXNpb24iOjEsIm1hY3JvSWQiOiJjMzUxYmI0Ni1jZTIzLTQyNGMtOGM4Yy00MDZmOGQwZmE2M2QiLCJwcmV2aWV3TmFtZSI6IlJldmlldyBhbmQgbWVyZ2UgdmVyaWZpY2F0aW9uIGZsb3dzIHdpdGggcHJvamVjdC1zcGVjaWZpYyBDU0lULnBuZyIsImxpY2Vuc2VTdGF0dXMiOiJPSyIsInNlcnZpY2UiOiIiLCJpc1RlbXBsYXRlIjoiIiwid2lkdGgiOiIxMDkzIiwic2ltcGxlVmlld2VyIjpmYWxzZSwibGFzdE1vZGlmaWVkIjoxNjExNjYwNzE5MDAwLCJleGNlZWRQYWdlV2lkdGgiOmZhbHNlLCJvQ2xpZW50SWQiOiIifQ==
- Developer pushes a commit to Gerrit
- Gerrit triggers review verification job in Jenkins
- The template for review verification job is in ci-management/jjb/integration/integration-templates-csit.yaml and currently named as "{project-name}-unified-review-{stream}-PoC"
- The trigger is "gerrit-trigger-patch-submitted" and it is activated by any file change in the project
- Review verification job triggers docker build job
- The value of BUILD_ID Jenkins variable is passed to the docker build job as UNIQUE_DOCKER_TAG (along with PROJECT, BRANCH and GERRIT_REFSPEC)
- The triggered build is defined as "{project-name}-{stream}-{artifact-type}-docker-snapshot-PoC" in the review verification job template
- The build is blocking and fails the entire review verification job before moving it moves on to the next step on failure
- The only currently existing docker build job template that follows the expected naming pattern is defined in ci-management/jjb/global-templates-golang.yaml as "{project-name}-{stream}-golang-docker-snapshot-PoC"