-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zuul.yaml
69 lines (66 loc) · 2.31 KB
/
.zuul.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
- job:
name: otc-tox-py39-tips
parent: otc-tox-py39
description: |
Execute tests with latest dependencies
required-projects:
- name: opentelekomcloud/python-otcextensions
override-checkout: master
- job:
name: octavia-proxy-build-image
parent: build-docker-image
description: Build octavia-proxy container image
timeout: 2700 # 45 minutes
provides: octavia-proxy-container-image
required-projects:
- name: opentelekomcloud/python-otcextensions
override-checkout: master
vars: &octavia-proxy_image_vars
zuul_work_dir: "{{ zuul.projects['github.com/opentelekomcloud-infra/octavia-proxy'].src_dir }}"
docker_images:
- context: .
repository: opentelekomcloud/octavia-proxy
tags:
&imagetag "{{ zuul.tag is defined | ternary([zuul.get('tag', '').split('.')[0], '.'.join(zuul.get('tag', '').split('.')[:2]), zuul.get('tag', '')], ['latest']) }}"
siblings:
- github.com/opentelekomcloud/python-otcextensions
- job:
name: octavia-proxy-upload-image
parent: otcinfra-upload-image-quay
provides: octavia-proxy-container-image
required-projects:
- name: opentelekomcloud/python-otcextensions
override-checkout: master
vars: *octavia-proxy_image_vars
- project:
merge-mode: squash-merge
default-branch: main
templates:
- publish-otc-docs-pti
- api-ref-jobs
- release-notes-jobs
check:
jobs:
- otc-tox-pep8
- otc-tox-py39-tips
- octavia-proxy-build-image
- tox-functional:
required-projects:
- name: opentelekomcloud/python-otcextensions
override-checkout: elb
gate:
jobs:
- otc-tox-pep8
- otc-tox-py39-tips
- octavia-proxy-upload-image
- tox-functional:
required-projects:
- name: opentelekomcloud/python-otcextensions
override-checkout: elb
promote:
jobs:
- infra-prod-propose-octavia-proxy-image-stable:
vars: &imagevars
value: "quay.io/opentelekomcloud/octavia-proxy:{{ ('change_' + zuul.change) if (zuul.change is defined) else zuul.pipeline }}_latest"
- infra-prod-propose-octavia-proxy-image-latest:
vars: *imagevars