blob: c39ca2abaded49c0d1d824e9f9712a8df4c115ba [file] [log] [blame]
Gary Wuc652d4a2017-09-22 13:33:42 -07001---
2- project:
3 name: integration-docker
4 project-name: 'integration'
5 jobs:
Bartek Grzybowskied4b5d42020-04-28 23:58:01 -07006 - integration-docker-merge
7 - integration-docker-verify
Gary Wuc652d4a2017-09-22 13:33:42 -07008 project: 'integration'
9 stream:
10 - 'master':
11 branch: 'master'
Gary Wuc652d4a2017-09-22 13:33:42 -070012 subproject:
13 - 'sniroemulator':
14 pom: 'test/mocks/sniroemulator/pom.xml'
15 pattern: 'test/mocks/sniroemulator/**'
Bartek Grzybowski7087b9d2020-04-29 00:08:29 -070016 - '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 Grzybowskic8759322020-04-29 07:16:13 -070020 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 Wuc652d4a2017-09-22 13:33:42 -070030 mvn-settings: 'integration-settings'
31 files: '**'
32 archive-artifacts: ''
Bartek Grzybowskibe24a932020-04-01 12:40:47 +020033
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
ebo506ba232020-04-10 16:03:52 +010049 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 Grzybowskibe24a932020-04-01 12:40:47 +020056 build-node: centos7-docker-8c-8g
57 build-timeout: 20
58 jobs:
59 - gerrit-docker-verify
60 - gerrit-docker-merge