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