Update Mass PNF simulator path
[ci-management.git] / jjb / integration / integration-docker.yaml
1 ---
2 - project:
3     name: integration-docker
4     project-name: 'integration'
5     jobs:
6       - integration-docker-merge
7       - integration-docker-verify
8     project: 'integration'
9     stream:
10       - 'master':
11           branch: 'master'
12     subproject:
13       - 'aai-simulator':
14           pom: 'test/mocks/aai-simulator/pom.xml'
15           pattern: 'test/mocks/aai-simulator/**'
16           mvn-goals: 'mvn clean install -Dcheckstyle.skip'
17       - 'sniroemulator':
18           pom: 'test/mocks/sniroemulator/pom.xml'
19           pattern: 'test/mocks/sniroemulator/**'
20       - 'masspnfsim':
21           pom: 'test/mocks/masspnfsim/pnf-sim-lightweight/pom.xml'
22           pattern: 'test/mocks/masspnfsim/**'
23           mvn-goals: 'clean package docker:build -Dcheckstyle.skip'
24           post-docker-verify-script: |
25               #!/bin/bash
26               set -ex # Fail build if any setup step fails
27               cd $WORKSPACE/test/mocks/masspnfsim
28               tox
29     mvn-settings: 'integration-settings'
30     files: '**'
31     archive-artifacts: ''
32
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
48     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
55     build-node: centos7-docker-8c-8g
56     build-timeout: 20
57     jobs:
58       - gerrit-docker-verify
59       - gerrit-docker-merge