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 |
| 21 | param: |
| 22 | SOURCE_CREDENTIALS: |
| 23 | type: string |
| 24 | default: "gerrit" |
| 25 | UPLOAD_APTLY: |
| 26 | type: boolean |
| 27 | default: 'true' |
| 28 | description: Whether to upload to Aptly |
| 29 | APTLY_REPO: |
| 30 | type: string |
| 31 | default: "" |
| 32 | description: Aptly repo name |
| 33 | BUILD_PACKAGE: |
| 34 | type: boolean |
| 35 | default: 'true' |
| 36 | description: Whether to build package |
| 37 | APTLY_REPO_URL: |
| 38 | type: string |
| 39 | default: "${_param:jenkins_aptly_url}" |
| 40 | description: Aptly url |
| 41 | APTLY_API_URL: |
| 42 | type: string |
| 43 | default: "${_param:jenkins_aptly_api_url}" |
| 44 | description: Aptly API url |
| 45 | SOURCES: |
| 46 | type: text |
| 47 | default: "" |
| 48 | description: Optional parameter to list Git refspecs to be build |
| 49 | PKG_BUILD_JOB_NAME: |
| 50 | type: string |
| 51 | default: "oscore-build-salt-formula-refspec" |
| 52 | description: Jenkins job name to build package |
| 53 | STACK_DELETE: |
| 54 | type: boolean |
| 55 | default: 'true' |
| 56 | description: Whether to delete stacks ater tests |
| 57 | APTLY_PREFIX: |
| 58 | type: string |
| 59 | default: "oscc-dev" |
| 60 | description: Aptly prefix |
| 61 | SOURCE_REPO_NAME: |
| 62 | type: string |
| 63 | description: "Name of the repo where packages are stored" |
| 64 | default: "ubuntu-xenial-salt" |
| 65 | DEPLOY_JOB: |
| 66 | type: string |
| 67 | default: "deploy-heat-k8s_ha_calico" |