blob: 7858acefdf601eddcdd8051ae22216359c8305f0 [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:
Bartek Grzybowski3945ffa2020-09-01 13:15:06 +020013 - '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 Wuc652d4a2017-09-22 13:33:42 -070017 - 'sniroemulator':
18 pom: 'test/mocks/sniroemulator/pom.xml'
19 pattern: 'test/mocks/sniroemulator/**'
Bartek Grzybowski7087b9d2020-04-29 00:08:29 -070020 - '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 Grzybowskic8759322020-04-29 07:16:13 -070024 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 Grzybowskia8f6a272020-05-25 07:39:17 -070028 tox
Gary Wuc652d4a2017-09-22 13:33:42 -070029 mvn-settings: 'integration-settings'
30 files: '**'
31 archive-artifacts: ''
Bartek Grzybowskibe24a932020-04-01 12:40:47 +020032
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
ebo506ba232020-04-10 16:03:52 +010048 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 Grzybowskibe24a932020-04-01 12:40:47 +020055 build-node: centos7-docker-8c-8g
56 build-timeout: 20
57 jobs:
58 - gerrit-docker-verify
59 - gerrit-docker-merge