summaryrefslogtreecommitdiffstats
path: root/jjb/dcaegen2/dcaegen2-platform-adapter.yaml
blob: ef56413f8a0952d4f0d7d1b42a92fae1c1882f4e (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
---
- dcaegen2_platform_common: &dcaegen2_platform_common
    # values apply to all dcaegen2_platform docker projects
    name: dcaegen2-platform-docker-common
    # git repo
    project: dcaegen2/platform
    # maven settings file has docker credentials
    mvn-settings: dcaegen2-platform-settings
    # use host network to clone from our gerrit
    docker-build-args: '--network=host'
    # source of docker tag
    # container-tag-method: yaml-file
    # until everything needed for yaml-file is in place
    container-tag-method: latest
    build-node: ubuntu1604-docker-8c-8g
    # jenkins job name prefix
    project-name: '{name}'
    tox-dir: '{docker-root}'
    # build only on relevant changes
    gerrit_trigger_file_paths:
      - compare-type: REG_EXP
        pattern: '{docker-root}/.*'

- project:
    name: dcaegen2-platform-aoadapter-project-view
    project-name: dcaegen2-platform-aoadapter
    views:
      - project-view

- project:
    <<: *dcaegen2_platform_common
    name: dcaegen2-platform-aoadapter
    # root of docker build
    docker-root: adapter/acumos
    # tag override
    docker-get-container-tag-script: ../../shell/docker-ts-tag-override.sh
    # image name
    docker-name: 'onap/{name}'
    stream:
      - master:
            branch: master
    jobs:
      - '{project-name}-gerrit-docker-jobs'

- project:
    <<: *dcaegen2_platform_common
    name: dcagen2-platform-aoadapter-verify
    docker-root: adapter/acumos
    stream:
      - all:
            branch: '*'
    jobs:
      - gerrit-tox-verify

- project:
    <<: *dcaegen2_platform_common
    name: dcaegen2-platform-aoadapter-sonar
    docker-root: adapter/acumos
    branch: master
    jobs:
      - gerrit-tox-sonar
    cron: '@daily'