blob: 7cf1590cf23247942b7e60a33c75644b24ce788e [file] [log] [blame]
Lott, Christopher (cl778h)632f7792020-03-23 17:53:14 -04001---
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
Lott, Christopher (cl778h)cfe4e072020-04-19 08:03:02 -040018 project-name: 'it-dev-{name}'
Lott, Christopher (cl778h)632f7792020-03-23 17:53:14 -040019 # Docker image name
Lott, Christopher (cl778h)b6e46f02020-04-20 20:35:00 -040020 docker-name: 'o-ran-sc/{name}'
Lott, Christopher (cl778h)632f7792020-03-23 17:53:14 -040021 # Directory with Dockerfile
Lott, Christopher (cl778h)cfe4e072020-04-19 08:03:02 -040022 docker-root: 'bldr-imgs/{name}'
Lott, Christopher (cl778h)632f7792020-03-23 17:53:14 -040023 # Limit build trigger to appropriate files;
24 gerrit_trigger_file_paths:
25 - compare-type: REG_EXP
Lott, Christopher (cl778h)cfe4e072020-04-19 08:03:02 -040026 pattern: 'bldr-imgs/{name}/.*'
Lott, Christopher (cl778h)632f7792020-03-23 17:53:14 -040027 # 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
Lott, Christopher (cl778h)cfe4e072020-04-19 08:03:02 -040035# Each project name is a directory in o-ran-sc/it-dev/bldr-imgs
Lott, Christopher (cl778h)632f7792020-03-23 17:53:14 -040036# with a Dockerfile and a container-tag.yaml file
Lott, Christopher (cl778h)632f7792020-03-23 17:53:14 -040037
38- project:
Lott, Christopher (cl778h)cfe4e072020-04-19 08:03:02 -040039 name: bldr-alpine3
Lott, Christopher (cl778h)632f7792020-03-23 17:53:14 -040040 <<: *it_dev_docker_common
41
42- project:
Lott, Christopher (cl778h)cfe4e072020-04-19 08:03:02 -040043 name: bldr-alpine3-go
Lott, Christopher (cl778h)632f7792020-03-23 17:53:14 -040044 <<: *it_dev_docker_common
45
46- project:
Lott, Christopher (cl778h)9afac7d2020-04-22 16:56:23 -040047 name: bldr-alpine3-mdclog
48 <<: *it_dev_docker_common
49
50- project:
Lott, Christopher (cl778h)cfe4e072020-04-19 08:03:02 -040051 name: bldr-alpine3-rmr
52 <<: *it_dev_docker_common
53
54- project:
55 name: bldr-ubuntu18-c-go
Lott, Christopher (cl778h)632f7792020-03-23 17:53:14 -040056 <<: *it_dev_docker_common
Juha Hyttinenaf192732021-10-11 15:01:40 +030057
58- project:
59 name: bldr-ubuntu20-c-go
60 <<: *it_dev_docker_common