Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: integration-docker |
| 4 | project-name: 'integration' |
| 5 | jobs: |
Bartek Grzybowski | ed4b5d4 | 2020-04-28 23:58:01 -0700 | [diff] [blame] | 6 | - integration-docker-merge |
| 7 | - integration-docker-verify |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 8 | project: 'integration' |
| 9 | stream: |
| 10 | - 'master': |
| 11 | branch: 'master' |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 12 | subproject: |
Bartek Grzybowski | 3945ffa | 2020-09-01 13:15:06 +0200 | [diff] [blame] | 13 | - 'aai-simulator': |
| 14 | pom: 'test/mocks/aai-simulator/pom.xml' |
| 15 | pattern: 'test/mocks/aai-simulator/**' |
| 16 | mvn-goals: 'mvn clean install -Dcheckstyle.skip' |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 17 | - 'sniroemulator': |
| 18 | pom: 'test/mocks/sniroemulator/pom.xml' |
| 19 | pattern: 'test/mocks/sniroemulator/**' |
Bartek Grzybowski | 7087b9d | 2020-04-29 00:08:29 -0700 | [diff] [blame] | 20 | - 'mass-pnf-sim': |
| 21 | pom: 'test/mocks/mass-pnf-sim/pnf-sim-lightweight/pom.xml' |
| 22 | pattern: 'test/mocks/mass-pnf-sim/**' |
| 23 | mvn-goals: 'clean package docker:build -Dcheckstyle.skip' |
Bartek Grzybowski | c875932 | 2020-04-29 07:16:13 -0700 | [diff] [blame] | 24 | post-docker-verify-script: | |
| 25 | #!/bin/bash |
| 26 | set -ex # Fail build if any setup step fails |
| 27 | cd $WORKSPACE/test/mocks/mass-pnf-sim |
Bartek Grzybowski | a8f6a27 | 2020-05-25 07:39:17 -0700 | [diff] [blame] | 28 | tox |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 29 | mvn-settings: 'integration-settings' |
| 30 | files: '**' |
| 31 | archive-artifacts: '' |
Bartek Grzybowski | be24a93 | 2020-04-01 12:40:47 +0200 | [diff] [blame] | 32 | |
| 33 | - project: |
| 34 | name: integration-netconf-pnp-simulator |
| 35 | project: integration |
| 36 | stream: |
| 37 | - 'master': |
| 38 | branch: 'master' |
| 39 | # Required by verifier |
| 40 | mvn-settings: 'integration-settings' |
| 41 | project-name: 'integration-netconf-pnp-simulator' |
| 42 | gerrit_trigger_file_paths: |
| 43 | - compare-type: ANT |
| 44 | pattern: 'test/mocks/netconf-pnp-simulator/engine/**' |
| 45 | docker-name: 'onap/integration/simulators/netconf-pnp-simulator' |
| 46 | docker-root: test/mocks/netconf-pnp-simulator/engine |
| 47 | container-tag-method: yaml-file |
ebo | 506ba23 | 2020-04-10 16:03:52 +0100 | [diff] [blame] | 48 | post_docker_build_script: | |
| 49 | #!/bin/bash |
| 50 | set -eux |
| 51 | cd "$DOCKER_ROOT" |
| 52 | # To simplify the references inside tox.ini and tests/settings.py |
| 53 | docker tag "$CONTAINER_PUSH_REGISTRY/$DOCKER_NAME:$DOCKER_IMAGE_TAG" netconf-pnp-simulator:latest |
| 54 | tox |
Bartek Grzybowski | be24a93 | 2020-04-01 12:40:47 +0200 | [diff] [blame] | 55 | build-node: centos7-docker-8c-8g |
| 56 | build-timeout: 20 |
| 57 | jobs: |
| 58 | - gerrit-docker-verify |
| 59 | - gerrit-docker-merge |