7cf1590cf23247942b7e60a33c75644b24ce788e
[ci-management.git] / jjb / it-dev / it-dev-docker.yaml
1 ---
2 # Job configurations for base docker build images
3
4 # This macro factors out common configuration
5 - it_dev_docker_common: &it_dev_docker_common
6     name: it-dev-docker-common
7     # git repo
8     project: it/dev
9     # maven settings file has docker credentials
10     mvn-settings: it-dev-settings
11     # build every Saturday
12     cron: 'H H * * 6'
13     # use host network to clone from our gerrit
14     docker-build-args: '--network=host'
15     # get tag from YAML
16     container-tag-method: yaml-file
17     # Jenkins job prefix
18     project-name: 'it-dev-{name}'
19     # Docker image name
20     docker-name: 'o-ran-sc/{name}'
21     # Directory with Dockerfile
22     docker-root: 'bldr-imgs/{name}'
23     # Limit build trigger to appropriate files;
24     gerrit_trigger_file_paths:
25       - compare-type: REG_EXP
26         pattern: 'bldr-imgs/{name}/.*'
27     # Includes verify and merge jobs
28     jobs:
29       - '{project-name}-gerrit-docker-jobs'
30     # Only build master branch
31     stream:
32       - master:
33           branch: master
34
35 # Each project name is a directory in o-ran-sc/it-dev/bldr-imgs
36 # with a Dockerfile and a container-tag.yaml file
37
38 - project:
39     name: bldr-alpine3
40     <<: *it_dev_docker_common
41
42 - project:
43     name: bldr-alpine3-go
44     <<: *it_dev_docker_common
45
46 - project:
47     name: bldr-alpine3-mdclog
48     <<: *it_dev_docker_common
49
50 - project:
51     name: bldr-alpine3-rmr
52     <<: *it_dev_docker_common
53
54 - project:
55     name: bldr-ubuntu18-c-go
56     <<: *it_dev_docker_common
57
58 - project:
59     name: bldr-ubuntu20-c-go
60     <<: *it_dev_docker_common