Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 1 | --- |
| 2 | - job-template: |
| 3 | name: '{project-name}-{stream}-{subproject}-docker-merge' |
Bartek Grzybowski | ed4b5d4 | 2020-04-28 23:58:01 -0700 | [diff] [blame] | 4 | id: integration-docker-merge |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 5 | project-type: freestyle |
Bartek Grzybowski | 97928d0 | 2020-03-27 16:11:51 +0100 | [diff] [blame] | 6 | node: 'ubuntu1804-docker-8c-8g' |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 7 | docker-image-name: '' |
Bartek Grzybowski | 89e330d | 2020-04-29 00:06:10 -0700 | [diff] [blame] | 8 | mvn-goals: 'clean package docker:build docker:push' |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 9 | |
| 10 | properties: |
| 11 | - infra-properties: |
| 12 | build-days-to-keep: '{build-days-to-keep}' |
| 13 | |
| 14 | parameters: |
| 15 | - infra-parameters: |
| 16 | project: '{project}' |
| 17 | branch: '{branch}' |
| 18 | refspec: 'refs/heads/{branch}' |
| 19 | artifacts: '{archive-artifacts}' |
| 20 | - maven-exec: |
| 21 | maven-version: '{maven-version}' |
| 22 | - docker-image-name: |
| 23 | docker-image-name: '{docker-image-name}' |
| 24 | |
| 25 | scm: |
| 26 | - gerrit-trigger-scm: |
| 27 | refspec: '' |
| 28 | choosing-strategy: 'default' |
| 29 | submodule-recursive: '{submodule-recursive}' |
| 30 | |
| 31 | wrappers: |
| 32 | - infra-wrappers: |
| 33 | build-timeout: '{build-timeout}' |
| 34 | |
| 35 | triggers: |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 36 | - gerrit-trigger-patch-merged: |
| 37 | server: '{server-name}' |
| 38 | project: '{project}' |
| 39 | branch: '{branch}' |
| 40 | files: '{pattern}' |
| 41 | |
| 42 | builders: |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 43 | - provide-maven-settings: |
| 44 | global-settings-file: 'global-settings' |
| 45 | settings-file: '{mvn-settings}' |
| 46 | |
| 47 | - docker-login |
| 48 | |
| 49 | - maven-target: |
| 50 | maven-version: '{maven-version}' |
| 51 | pom: '{pom}' |
Bartek Grzybowski | 89e330d | 2020-04-29 00:06:10 -0700 | [diff] [blame] | 52 | goals: '{mvn-goals}' |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 53 | settings: '{mvn-settings}' |
| 54 | settings-type: cfp |
| 55 | global-settings: 'global-settings' |
| 56 | global-settings-type: cfp |
| 57 | properties: |
| 58 | - docker.pull.registry=nexus3.onap.org:10001 |
| 59 | - docker.push.registry=nexus3.onap.org:10003 |
| 60 | |
| 61 | publishers: |
| 62 | - infra-shiplogs: |
| 63 | maven-version: '{maven-version}' |
| 64 | |
| 65 | - job-template: |
| 66 | name: '{project-name}-{stream}-{subproject}-docker-verify' |
Bartek Grzybowski | ed4b5d4 | 2020-04-28 23:58:01 -0700 | [diff] [blame] | 67 | id: integration-docker-verify |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 68 | project-type: freestyle |
Bartek Grzybowski | 97928d0 | 2020-03-27 16:11:51 +0100 | [diff] [blame] | 69 | node: 'ubuntu1804-docker-8c-8g' |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 70 | docker-image-name: '' |
Bartek Grzybowski | 89e330d | 2020-04-29 00:06:10 -0700 | [diff] [blame] | 71 | mvn-goals: 'clean package docker:build' |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 72 | |
| 73 | properties: |
| 74 | - infra-properties: |
| 75 | build-days-to-keep: '{build-days-to-keep}' |
| 76 | |
| 77 | parameters: |
| 78 | - infra-parameters: |
| 79 | project: '{project}' |
| 80 | branch: '{branch}' |
| 81 | refspec: 'refs/heads/{branch}' |
| 82 | artifacts: '{archive-artifacts}' |
| 83 | - maven-exec: |
| 84 | maven-version: '{maven-version}' |
| 85 | - docker-image-name: |
| 86 | docker-image-name: '{docker-image-name}' |
| 87 | |
| 88 | scm: |
| 89 | - gerrit-trigger-scm: |
Gary Wu | 325a275 | 2018-05-16 08:47:52 -0700 | [diff] [blame] | 90 | refspec: '$GERRIT_REFSPEC' |
| 91 | choosing-strategy: 'gerrit' |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 92 | submodule-recursive: '{submodule-recursive}' |
| 93 | |
| 94 | wrappers: |
| 95 | - infra-wrappers: |
| 96 | build-timeout: '{build-timeout}' |
| 97 | |
| 98 | triggers: |
| 99 | - gerrit-trigger-patch-submitted: |
| 100 | server: '{server-name}' |
| 101 | project: '{project}' |
| 102 | branch: '{branch}' |
| 103 | files: '{pattern}' |
| 104 | |
| 105 | builders: |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 106 | - provide-maven-settings: |
| 107 | global-settings-file: 'global-settings' |
| 108 | settings-file: '{mvn-settings}' |
| 109 | |
| 110 | - docker-login |
| 111 | |
| 112 | - maven-target: |
| 113 | maven-version: '{maven-version}' |
| 114 | pom: '{pom}' |
Bartek Grzybowski | 89e330d | 2020-04-29 00:06:10 -0700 | [diff] [blame] | 115 | goals: '{mvn-goals}' |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 116 | settings: '{mvn-settings}' |
| 117 | settings-type: cfp |
| 118 | global-settings: 'global-settings' |
| 119 | global-settings-type: cfp |
| 120 | properties: |
| 121 | - docker.pull.registry=nexus3.onap.org:10001 |
| 122 | - docker.push.registry=nexus3.onap.org:10003 |
| 123 | |
| 124 | publishers: |
| 125 | - infra-shiplogs: |
| 126 | maven-version: '{maven-version}' |
| 127 | |
Bartek Grzybowski | 4b16822 | 2020-03-31 06:43:45 -0700 | [diff] [blame] | 128 | - job-template: |
| 129 | name: '{project-name}-{stream}-{subproject}-docker-compose-verify' |
Bartek Grzybowski | 5908354 | 2020-04-09 06:35:50 -0700 | [diff] [blame] | 130 | id: integration-docker-compose-verify |
Bartek Grzybowski | 4b16822 | 2020-03-31 06:43:45 -0700 | [diff] [blame] | 131 | project-type: freestyle |
| 132 | description: 'This job validates Docker Compose based projects' |
| 133 | node: 'ubuntu1804-docker-8c-8g' |
| 134 | docker_root: '$WORKSPACE' |
Bartek Grzybowski | b7f2099 | 2020-04-02 03:57:07 -0700 | [diff] [blame] | 135 | post_script: '' |
Bartek Grzybowski | 4d63be5 | 2020-04-02 07:40:59 -0700 | [diff] [blame] | 136 | netconf_sim_service_name: '' |
Bartek Grzybowski | 4b16822 | 2020-03-31 06:43:45 -0700 | [diff] [blame] | 137 | |
| 138 | parameters: |
| 139 | - lf-infra-parameters: |
| 140 | project: '{project}' |
| 141 | stream: '{stream}' |
| 142 | branch: '{branch}' |
| 143 | |
| 144 | properties: |
| 145 | - infra-properties: |
| 146 | build-days-to-keep: '{build-days-to-keep}' |
| 147 | |
| 148 | scm: |
| 149 | - gerrit-trigger-scm: |
| 150 | refspec: '$GERRIT_REFSPEC' |
| 151 | choosing-strategy: 'gerrit' |
| 152 | submodule-recursive: '{submodule-recursive}' |
| 153 | |
| 154 | wrappers: |
| 155 | - infra-wrappers: |
| 156 | build-timeout: '{build-timeout}' |
| 157 | |
| 158 | triggers: |
| 159 | - gerrit-trigger-patch-submitted: |
| 160 | server: '{server-name}' |
| 161 | project: '{project}' |
| 162 | branch: '{branch}' |
| 163 | files: '{pattern}' |
| 164 | |
| 165 | builders: |
| 166 | - inject: |
| 167 | properties-content: | |
| 168 | DOCKER_ROOT={docker_root} |
Bartek Grzybowski | 4d63be5 | 2020-04-02 07:40:59 -0700 | [diff] [blame] | 169 | NETCONF_SIM_SERVICE_NAME={netconf_sim_service_name} |
Bartek Grzybowski | 4b16822 | 2020-03-31 06:43:45 -0700 | [diff] [blame] | 170 | - shell: '{script}' |
Bartek Grzybowski | b7f2099 | 2020-04-02 03:57:07 -0700 | [diff] [blame] | 171 | - shell: '{post_script}' |
Bartek Grzybowski | 4b16822 | 2020-03-31 06:43:45 -0700 | [diff] [blame] | 172 | |
| 173 | publishers: |
Bartek Grzybowski | bcdbfa0 | 2020-03-31 06:56:10 -0700 | [diff] [blame] | 174 | - integration-docker-compose-logs |
Bartek Grzybowski | 4b16822 | 2020-03-31 06:43:45 -0700 | [diff] [blame] | 175 | - lf-infra-publish |