Lott, Christopher (cl778h) | 632f779 | 2020-03-23 17:53:14 -0400 | [diff] [blame] | 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 |
Lott, Christopher (cl778h) | cfe4e07 | 2020-04-19 08:03:02 -0400 | [diff] [blame] | 18 | project-name: 'it-dev-{name}' |
Lott, Christopher (cl778h) | 632f779 | 2020-03-23 17:53:14 -0400 | [diff] [blame] | 19 | # Docker image name |
Lott, Christopher (cl778h) | b6e46f0 | 2020-04-20 20:35:00 -0400 | [diff] [blame] | 20 | docker-name: 'o-ran-sc/{name}' |
Lott, Christopher (cl778h) | 632f779 | 2020-03-23 17:53:14 -0400 | [diff] [blame] | 21 | # Directory with Dockerfile |
Lott, Christopher (cl778h) | cfe4e07 | 2020-04-19 08:03:02 -0400 | [diff] [blame] | 22 | docker-root: 'bldr-imgs/{name}' |
Lott, Christopher (cl778h) | 632f779 | 2020-03-23 17:53:14 -0400 | [diff] [blame] | 23 | # Limit build trigger to appropriate files; |
| 24 | gerrit_trigger_file_paths: |
| 25 | - compare-type: REG_EXP |
Lott, Christopher (cl778h) | cfe4e07 | 2020-04-19 08:03:02 -0400 | [diff] [blame] | 26 | pattern: 'bldr-imgs/{name}/.*' |
Lott, Christopher (cl778h) | 632f779 | 2020-03-23 17:53:14 -0400 | [diff] [blame] | 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 | |
Lott, Christopher (cl778h) | cfe4e07 | 2020-04-19 08:03:02 -0400 | [diff] [blame] | 35 | # Each project name is a directory in o-ran-sc/it-dev/bldr-imgs |
Lott, Christopher (cl778h) | 632f779 | 2020-03-23 17:53:14 -0400 | [diff] [blame] | 36 | # with a Dockerfile and a container-tag.yaml file |
Lott, Christopher (cl778h) | 632f779 | 2020-03-23 17:53:14 -0400 | [diff] [blame] | 37 | |
| 38 | - project: |
Lott, Christopher (cl778h) | cfe4e07 | 2020-04-19 08:03:02 -0400 | [diff] [blame] | 39 | name: bldr-alpine3 |
Lott, Christopher (cl778h) | 632f779 | 2020-03-23 17:53:14 -0400 | [diff] [blame] | 40 | <<: *it_dev_docker_common |
| 41 | |
| 42 | - project: |
Lott, Christopher (cl778h) | cfe4e07 | 2020-04-19 08:03:02 -0400 | [diff] [blame] | 43 | name: bldr-alpine3-go |
Lott, Christopher (cl778h) | 632f779 | 2020-03-23 17:53:14 -0400 | [diff] [blame] | 44 | <<: *it_dev_docker_common |
| 45 | |
| 46 | - project: |
Lott, Christopher (cl778h) | 9afac7d | 2020-04-22 16:56:23 -0400 | [diff] [blame] | 47 | name: bldr-alpine3-mdclog |
| 48 | <<: *it_dev_docker_common |
| 49 | |
| 50 | - project: |
Lott, Christopher (cl778h) | cfe4e07 | 2020-04-19 08:03:02 -0400 | [diff] [blame] | 51 | name: bldr-alpine3-rmr |
| 52 | <<: *it_dev_docker_common |
| 53 | |
| 54 | - project: |
| 55 | name: bldr-ubuntu18-c-go |
Lott, Christopher (cl778h) | 632f779 | 2020-03-23 17:53:14 -0400 | [diff] [blame] | 56 | <<: *it_dev_docker_common |
Juha Hyttinen | af19273 | 2021-10-11 15:01:40 +0300 | [diff] [blame] | 57 | |
| 58 | - project: |
| 59 | name: bldr-ubuntu20-c-go |
| 60 | <<: *it_dev_docker_common |