Define Docker-based verify job for helm charts
[ci-management.git] / jjb / it-dep / it-dep.yaml
1 ---
2 - project:
3     name: it-dep-project-view
4     project-name: it-dep
5     views:
6       - project-view
7
8 - project:
9     name: it-dep-info
10     project: it/dep
11     project-name: it-dep
12     build-node: centos7-builder-1c-1g
13     jobs:
14       - gerrit-info-yaml-verify
15
16 - it_dep_common: &it_dep_common
17     # values apply to all RIC docker-build projects.
18     # use a specific name to prevent reuse attempts
19     # bcos anchors don't cross document boundaries.
20     name: it-dep-docker-common
21     build-node: ubuntu1804-docker-4c-4g
22     # pull from the public mirror + releases registry
23     container-public-registry: nexus3.o-ran-sc.org:10001
24     # push to the staging repo bcos all builds are RCs
25     container-push-registry: nexus3.o-ran-sc.org:10004
26     # use host network to clone from our gerrit
27     docker-build-args: '--network=host'
28     # source of docker tag
29     container-tag-method: yaml-file
30     stream:
31       - master:
32           branch: master
33
34 - project:
35     # Verify helm charts using a Docker build process.
36     # no image needs to be pushed, so there is no merge job.
37     name: it-dep-helm
38     # git repo
39     project: it/dep
40     # jenkins job name prefix
41     project-name: '{name}'
42     # image name
43     docker-name: '{name}'
44     # dockerfile is in subdir
45     docker-build-args: -f ci/Dockerfile
46     # any tag will do
47     container-tag-method: latest
48     # maven settings file has docker credentials
49     mvn-settings: it-dep-settings
50     jobs:
51       - gerrit-docker-verify
52     <<: *it_dep_common