summaryrefslogtreecommitdiffstats
path: root/jjb/integration/integration-docker.yaml
blob: 907fea1f87a31b5beef2ae6a61a5eee6ee5edcc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
---
- project:
    name: integration-docker
    project-name: "integration"
    jobs:
      - integration-docker-merge
      - integration-docker-verify
    project: "integration"
    stream:
      - "master":
          branch: "master"
    subproject:
      - "aai-simulator":
          pom: "test/mocks/aai-simulator/pom.xml"
          pattern: "test/mocks/aai-simulator/**"
          mvn-goals: "mvn clean install -Dcheckstyle.skip"
      - "sniroemulator":
          pom: "test/mocks/sniroemulator/pom.xml"
          pattern: "test/mocks/sniroemulator/**"
    mvn-settings: "integration-settings"
    files: "**"
    archive-artifacts: ""

- project:
    name: integration-netconf-pnp-simulator
    project: integration
    stream:
      - "master":
          branch: "master"
    # Required by verifier
    mvn-settings: "integration-settings"
    project-name: "integration-netconf-pnp-simulator"
    gerrit_trigger_file_paths:
      - compare-type: ANT
        pattern: "test/mocks/netconf-pnp-simulator/engine/**"
    docker-name: "onap/integration/simulators/netconf-pnp-simulator"
    docker-root: test/mocks/netconf-pnp-simulator/engine
    container-tag-method: yaml-file
    post_docker_build_script: |
      #!/bin/bash
      set -eux
      cd "$DOCKER_ROOT"
      # To simplify the references inside tox.ini and tests/settings.py
      docker tag "$CONTAINER_PUSH_REGISTRY/$DOCKER_NAME:$DOCKER_IMAGE_TAG" netconf-pnp-simulator:latest
      tox
    build-node: ubuntu1804-docker-8c-8g
    build-timeout: 20
    jobs:
      - gerrit-docker-verify
      - gerrit-docker-merge

- project:
    name: integration-ran-nssmf-simulator
    project: integration
    stream:
      - "master":
          branch: "master"
    # Required by verifier
    mvn-settings: "integration-settings"
    project-name: "integration-ran-nssmf-simulator"
    gerrit_trigger_file_paths:
      - compare-type: REG_EXP
        pattern: "test/mocks/ran-nssmf-simulator/.*"
    docker-name: "onap/ran-nssmf-simulator"
    docker-root: test/mocks/ran-nssmf-simulator
    container-tag-method: yaml-file
    post_docker_build_script: |
      #!/bin/bash
      set -eux
      cd "$DOCKER_ROOT"
      # To simplify the references inside tox.ini and tests/settings.py
      docker tag "$CONTAINER_PUSH_REGISTRY/$DOCKER_NAME:$DOCKER_IMAGE_TAG" ran-nssmf-simulator:latest
      tox
    build-node: ubuntu1804-docker-8c-8g
    build-timeout: 20
    jobs:
      - gerrit-docker-verify
      - gerrit-docker-merge

- project:
    name: integration-k8s-toolbox
    project: integration
    stream:
      - "master":
          branch: "master"
    # Required by verifier
    mvn-settings: "integration-settings"
    project-name: "integration-k8s-toolbox"
    gerrit_trigger_file_paths:
      - compare-type: REG_EXP
        pattern: "pipelines/docker-onap-k8s-toolbox/.*"
    docker-name: "onap/k8s-toolbox"
    docker-root: pipelines/docker-onap-k8s-toolbox
    container-tag-method: yaml-file
    post_docker_build_script: |
      #!/bin/bash
      set -eux
      cd "$DOCKER_ROOT"
      docker tag "$CONTAINER_PUSH_REGISTRY/$DOCKER_NAME:$DOCKER_IMAGE_TAG" onap-k8s-toolbox:latest
    build-node: ubuntu1804-docker-8c-8g
    build-timeout: 20
    jobs:
      - gerrit-docker-verify
      - gerrit-docker-merge