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' |
Bartek Grzybowski | 4750f3f | 2020-04-29 05:50:24 -0700 | [diff] [blame] | 72 | post-docker-verify-script: '' |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 73 | |
| 74 | properties: |
| 75 | - infra-properties: |
| 76 | build-days-to-keep: '{build-days-to-keep}' |
| 77 | |
| 78 | parameters: |
| 79 | - infra-parameters: |
| 80 | project: '{project}' |
| 81 | branch: '{branch}' |
| 82 | refspec: 'refs/heads/{branch}' |
| 83 | artifacts: '{archive-artifacts}' |
| 84 | - maven-exec: |
| 85 | maven-version: '{maven-version}' |
| 86 | - docker-image-name: |
| 87 | docker-image-name: '{docker-image-name}' |
| 88 | |
| 89 | scm: |
| 90 | - gerrit-trigger-scm: |
Gary Wu | 325a275 | 2018-05-16 08:47:52 -0700 | [diff] [blame] | 91 | refspec: '$GERRIT_REFSPEC' |
| 92 | choosing-strategy: 'gerrit' |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 93 | submodule-recursive: '{submodule-recursive}' |
| 94 | |
| 95 | wrappers: |
| 96 | - infra-wrappers: |
| 97 | build-timeout: '{build-timeout}' |
| 98 | |
| 99 | triggers: |
| 100 | - gerrit-trigger-patch-submitted: |
| 101 | server: '{server-name}' |
| 102 | project: '{project}' |
| 103 | branch: '{branch}' |
| 104 | files: '{pattern}' |
| 105 | |
| 106 | builders: |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 107 | - provide-maven-settings: |
| 108 | global-settings-file: 'global-settings' |
| 109 | settings-file: '{mvn-settings}' |
| 110 | |
| 111 | - docker-login |
| 112 | |
| 113 | - maven-target: |
| 114 | maven-version: '{maven-version}' |
| 115 | pom: '{pom}' |
Bartek Grzybowski | 89e330d | 2020-04-29 00:06:10 -0700 | [diff] [blame] | 116 | goals: '{mvn-goals}' |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 117 | settings: '{mvn-settings}' |
| 118 | settings-type: cfp |
| 119 | global-settings: 'global-settings' |
| 120 | global-settings-type: cfp |
| 121 | properties: |
| 122 | - docker.pull.registry=nexus3.onap.org:10001 |
| 123 | - docker.push.registry=nexus3.onap.org:10003 |
Bartek Grzybowski | 4750f3f | 2020-04-29 05:50:24 -0700 | [diff] [blame] | 124 | - shell: '{post-docker-verify-script}' |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 125 | |
| 126 | publishers: |
| 127 | - infra-shiplogs: |
| 128 | maven-version: '{maven-version}' |
| 129 | |
Bartek Grzybowski | 4b16822 | 2020-03-31 06:43:45 -0700 | [diff] [blame] | 130 | - job-template: |
| 131 | name: '{project-name}-{stream}-{subproject}-docker-compose-verify' |
Bartek Grzybowski | 5908354 | 2020-04-09 06:35:50 -0700 | [diff] [blame] | 132 | id: integration-docker-compose-verify |
Bartek Grzybowski | 4b16822 | 2020-03-31 06:43:45 -0700 | [diff] [blame] | 133 | project-type: freestyle |
| 134 | description: 'This job validates Docker Compose based projects' |
| 135 | node: 'ubuntu1804-docker-8c-8g' |
| 136 | docker_root: '$WORKSPACE' |
Bartek Grzybowski | b7f2099 | 2020-04-02 03:57:07 -0700 | [diff] [blame] | 137 | post_script: '' |
Bartek Grzybowski | 4d63be5 | 2020-04-02 07:40:59 -0700 | [diff] [blame] | 138 | netconf_sim_service_name: '' |
Bartek Grzybowski | 4b16822 | 2020-03-31 06:43:45 -0700 | [diff] [blame] | 139 | |
| 140 | parameters: |
| 141 | - lf-infra-parameters: |
| 142 | project: '{project}' |
| 143 | stream: '{stream}' |
| 144 | branch: '{branch}' |
| 145 | |
| 146 | properties: |
| 147 | - infra-properties: |
| 148 | build-days-to-keep: '{build-days-to-keep}' |
| 149 | |
| 150 | scm: |
| 151 | - gerrit-trigger-scm: |
| 152 | refspec: '$GERRIT_REFSPEC' |
| 153 | choosing-strategy: 'gerrit' |
| 154 | submodule-recursive: '{submodule-recursive}' |
| 155 | |
| 156 | wrappers: |
| 157 | - infra-wrappers: |
| 158 | build-timeout: '{build-timeout}' |
| 159 | |
| 160 | triggers: |
| 161 | - gerrit-trigger-patch-submitted: |
| 162 | server: '{server-name}' |
| 163 | project: '{project}' |
| 164 | branch: '{branch}' |
| 165 | files: '{pattern}' |
| 166 | |
| 167 | builders: |
| 168 | - inject: |
| 169 | properties-content: | |
| 170 | DOCKER_ROOT={docker_root} |
Bartek Grzybowski | 4d63be5 | 2020-04-02 07:40:59 -0700 | [diff] [blame] | 171 | NETCONF_SIM_SERVICE_NAME={netconf_sim_service_name} |
Bartek Grzybowski | 4b16822 | 2020-03-31 06:43:45 -0700 | [diff] [blame] | 172 | - shell: '{script}' |
Bartek Grzybowski | b7f2099 | 2020-04-02 03:57:07 -0700 | [diff] [blame] | 173 | - shell: '{post_script}' |
Bartek Grzybowski | 4b16822 | 2020-03-31 06:43:45 -0700 | [diff] [blame] | 174 | |
| 175 | publishers: |
Bartek Grzybowski | bcdbfa0 | 2020-03-31 06:56:10 -0700 | [diff] [blame] | 176 | - integration-docker-compose-logs |
Bartek Grzybowski | 4b16822 | 2020-03-31 06:43:45 -0700 | [diff] [blame] | 177 | - lf-infra-publish |