Vladimir Jigulin | 79f792b | 2018-07-11 11:06:02 +0400 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job: |
| 5 | mcp_k8s_formula_test_pipeline: |
| 6 | type: workflow-scm |
| 7 | name: mcp-k8s-formula-test-pipeline |
| 8 | display_name: "Kubernetes formula test pipeline" |
| 9 | description: "Run k8s conformance against gerrit commit" |
| 10 | discard: |
| 11 | build: |
| 12 | keep_num: 30 |
| 13 | artifact: |
| 14 | keep_num: 30 |
| 15 | concurrent: true |
| 16 | scm: |
| 17 | type: git |
| 18 | url: "${_param:jenkins_gerrit_url}/kubernetes-ci/kubernetes-pipelines" |
| 19 | credentials: "gerrit" |
| 20 | script: pipelines/mcp-formula-change-test-pipeline.groovy |
Vladimir Jigulin | 07b6109 | 2018-10-09 12:25:35 +0400 | [diff] [blame] | 21 | trigger: |
| 22 | gerrit: |
| 23 | project: |
Victor Ryzhenkin | 9d0b71e | 2018-10-22 18:06:40 +0400 | [diff] [blame] | 24 | salt-formulas/kubernetes: |
Vladimir Jigulin | 07b6109 | 2018-10-09 12:25:35 +0400 | [diff] [blame] | 25 | branches: |
| 26 | - compare_type: "ANT" |
| 27 | name: "**" |
| 28 | skip_vote: |
| 29 | - successful |
| 30 | - failed |
| 31 | - unstable |
| 32 | - not_built |
| 33 | event: |
| 34 | patchset: |
| 35 | - created: |
| 36 | excludeDrafts: false |
| 37 | excludeTrivialRebase: false |
| 38 | excludeNoCodeChange: false |
| 39 | comment: |
| 40 | - addedContains: |
| 41 | commentAddedCommentContains: '^(?s:Patch Set \d+:.*(test|recheck|reverify)\s*)$' |
Vladimir Jigulin | 79f792b | 2018-07-11 11:06:02 +0400 | [diff] [blame] | 42 | param: |
| 43 | SOURCE_CREDENTIALS: |
| 44 | type: string |
| 45 | default: "gerrit" |
| 46 | UPLOAD_APTLY: |
| 47 | type: boolean |
| 48 | default: 'true' |
| 49 | description: Whether to upload to Aptly |
| 50 | APTLY_REPO: |
| 51 | type: string |
| 52 | default: "" |
| 53 | description: Aptly repo name |
| 54 | BUILD_PACKAGE: |
| 55 | type: boolean |
| 56 | default: 'true' |
| 57 | description: Whether to build package |
| 58 | APTLY_REPO_URL: |
| 59 | type: string |
| 60 | default: "${_param:jenkins_aptly_url}" |
| 61 | description: Aptly url |
| 62 | APTLY_API_URL: |
| 63 | type: string |
| 64 | default: "${_param:jenkins_aptly_api_url}" |
| 65 | description: Aptly API url |
| 66 | SOURCES: |
| 67 | type: text |
| 68 | default: "" |
| 69 | description: Optional parameter to list Git refspecs to be build |
| 70 | PKG_BUILD_JOB_NAME: |
| 71 | type: string |
| 72 | default: "oscore-build-salt-formula-refspec" |
| 73 | description: Jenkins job name to build package |
| 74 | STACK_DELETE: |
| 75 | type: boolean |
| 76 | default: 'true' |
| 77 | description: Whether to delete stacks ater tests |
| 78 | APTLY_PREFIX: |
| 79 | type: string |
| 80 | default: "oscc-dev" |
| 81 | description: Aptly prefix |
| 82 | SOURCE_REPO_NAME: |
| 83 | type: string |
| 84 | description: "Name of the repo where packages are stored" |
| 85 | default: "ubuntu-xenial-salt" |
| 86 | DEPLOY_JOB: |
| 87 | type: string |
| 88 | default: "deploy-heat-k8s_ha_calico" |