Refactor: JJB code
[ci-management.git] / jjb / ci-management / ci-packer.yaml
1 ---
2 - _ci_packer_common: &ci_packer_common
3     name: ci-packer-common
4     # Defines common ci-packer configuration
5
6     project: ci-management
7     project-name: ci-management
8     build-node: centos7-builder-1c-1g
9     build-timeout: 90
10     cron: "00 H 1 * *"
11
12 - project:
13     name: packer-verify
14     jobs:
15       - gerrit-packer-verify
16
17     <<: *ci_packer_common
18
19 - project:
20     name: packer-builder-jobs
21     jobs:
22       - gerrit-packer-merge
23
24     <<: *ci_packer_common
25
26     templates: builder
27     platforms:
28       - centos-7
29       - centos-8
30       - ubuntu-18.04
31       - ubuntu-20.04
32
33 - project:
34     name: packer-docker-jobs
35     jobs:
36       - gerrit-packer-merge
37
38     <<: *ci_packer_common
39
40     templates: docker
41     platforms:
42       - centos-7
43       - ubuntu-18.04