blob: b315bc443ad7bde87ea225d7bbbfbceb3cdcfc94 [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 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 Grzybowskia8f6a272020-05-25 07:39:17 -070024 tox
Gary Wuc652d4a2017-09-22 13:33:42 -070025 mvn-settings: 'integration-settings'
26 files: '**'
27 archive-artifacts: ''
Bartek Grzybowskibe24a932020-04-01 12:40:47 +020028
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
ebo506ba232020-04-10 16:03:52 +010044 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 Grzybowskibe24a932020-04-01 12:40:47 +020051 build-node: centos7-docker-8c-8g
52 build-timeout: 20
53 jobs:
54 - gerrit-docker-verify
55 - gerrit-docker-merge