blob: 060490b6ccc05ac9bc36df2d89d9a91f78e2e666 [file] [log] [blame]
Lott, Christopher (cl778h)4050f442019-07-29 15:07:01 -04001---
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
wriderefd85222019-08-02 00:24:28 -040026 # maven settings file has docker credentials
27 mvn-settings: it-dep-settings
Lott, Christopher (cl778h)4050f442019-07-29 15:07:01 -040028 # use host network to clone from our gerrit
29 docker-build-args: '--network=host'
30 # source of docker tag
31 container-tag-method: yaml-file
32 stream:
33 - master:
34 branch: master
35
36- project:
37 # Verify helm charts using a Docker build process.
38 # no image needs to be pushed, so there is no merge job.
39 name: it-dep-helm
40 # git repo
41 project: it/dep
42 # jenkins job name prefix
43 project-name: '{name}'
44 # image name
45 docker-name: '{name}'
46 # dockerfile is in subdir
47 docker-build-args: -f ci/Dockerfile
48 # any tag will do
49 container-tag-method: latest
Lott, Christopher (cl778h)4050f442019-07-29 15:07:01 -040050 jobs:
51 - gerrit-docker-verify
52 <<: *it_dep_common
wriderefd85222019-08-02 00:24:28 -040053
54- project:
55 name: it-dep-secret
56 # git repo
57 project: it/dep
58 # jenkins job name prefix
59 project-name: '{name}'
60 # image name
61 docker-name: '{name}'
62 # root of docker build
63 docker-root: ric-infra/25-tiller/docker
64 # build only on relevant changes
65 gerrit_trigger_file_paths:
66 - compare-type: REG_EXP
67 pattern: '{docker-root}/.*'
68 jobs:
69 - '{project-name}-gerrit-docker-jobs'
70 <<: *it_dep_common
71
72- project:
73 name: it-dep-init
74 # git repo
75 project: it/dep
76 # jenkins job name prefix
77 project-name: '{name}'
78 # image name
79 docker-name: '{name}'
80 # root of docker build
81 docker-root: ric-common/Initcontainer/docker
82 # maven settings file has docker credentials
83 gerrit_trigger_file_paths:
84 - compare-type: REG_EXP
85 pattern: '{docker-root}/.*'
86 jobs:
87 - '{project-name}-gerrit-docker-jobs'
88 <<: *it_dep_common