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 | PNF_INSTANCES: 1 |
| 21 | post-docker-verify-script: | |
| 22 | #!/bin/bash |
| 23 | set -ex # Fail build if any setup step fails |
| 24 | cd $WORKSPACE/test/mocks/mass-pnf-sim |
| 25 | ./mass-pnf-sim.py --bootstrap {PNF_INSTANCES} --urlves http://127.0.0.1:10000/eventListener/v7 --ipfileserver 127.0.0.1 --typefileserver sftp --ipstart 10.11.0.16 |
| 26 | ./mass-pnf-sim.py --start {PNF_INSTANCES} |
| 27 | ./mass-pnf-sim.py --trigger {PNF_INSTANCES} |
| 28 | ./mass-pnf-sim.py --stop {PNF_INSTANCES} |
| 29 | ./mass-pnf-sim.py --clean |
Gary Wu | c652d4a | 2017-09-22 13:33:42 -0700 | [diff] [blame] | 30 | mvn-settings: 'integration-settings' |
| 31 | files: '**' |
| 32 | archive-artifacts: '' |
Bartek Grzybowski | be24a93 | 2020-04-01 12:40:47 +0200 | [diff] [blame] | 33 | |
| 34 | - project: |
| 35 | name: integration-netconf-pnp-simulator |
| 36 | project: integration |
| 37 | stream: |
| 38 | - 'master': |
| 39 | branch: 'master' |
| 40 | # Required by verifier |
| 41 | mvn-settings: 'integration-settings' |
| 42 | project-name: 'integration-netconf-pnp-simulator' |
| 43 | gerrit_trigger_file_paths: |
| 44 | - compare-type: ANT |
| 45 | pattern: 'test/mocks/netconf-pnp-simulator/engine/**' |
| 46 | docker-name: 'onap/integration/simulators/netconf-pnp-simulator' |
| 47 | docker-root: test/mocks/netconf-pnp-simulator/engine |
| 48 | container-tag-method: yaml-file |
ebo | 506ba23 | 2020-04-10 16:03:52 +0100 | [diff] [blame] | 49 | post_docker_build_script: | |
| 50 | #!/bin/bash |
| 51 | set -eux |
| 52 | cd "$DOCKER_ROOT" |
| 53 | # To simplify the references inside tox.ini and tests/settings.py |
| 54 | docker tag "$CONTAINER_PUSH_REGISTRY/$DOCKER_NAME:$DOCKER_IMAGE_TAG" netconf-pnp-simulator:latest |
| 55 | tox |
Bartek Grzybowski | be24a93 | 2020-04-01 12:40:47 +0200 | [diff] [blame] | 56 | build-node: centos7-docker-8c-8g |
| 57 | build-timeout: 20 |
| 58 | jobs: |
| 59 | - gerrit-docker-verify |
| 60 | - gerrit-docker-merge |