forked from opentelekomcloud/python-otcextensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zuul.yaml
52 lines (49 loc) · 1.37 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
- job:
name: tox-functional-master
parent: tox-functional
branches: master
- job:
name: otce-build-image
parent: build-docker-image
description: Build apimon container image
timeout: 2700 # 45 minutes
provides: otce-container-image
vars: &otce_image_vars
docker_images:
- context: .
repository: opentelekomcloud/python-openstackclient
tags:
# If zuul.tag is defined: [ '3', '3.19', '3.19.0' ]. Only works for 3-component tags.
# Otherwise: ['latest']
&imagetag "{{ zuul.tag is defined | ternary([zuul.get('tag', '').split('.')[0], '.'.join(zuul.get('tag', '').split('.')[:2]), zuul.get('tag', '')], ['latest']) }}"
- job:
name: otce-upload-image
parent: otcinfra-upload-image-quay
provides: otce-container-image
vars: *otce_image_vars
nodeset: ubuntu-focal
- project:
merge-mode: squash-merge
default-branch: master
templates:
- publish-to-pypi
- publish-otc-docs-hc-pti
- release-notes-jobs
check:
jobs:
- otc-tox-pep8
- otc-tox-py38
- otc-tox-py39
- tox-functional
check-post:
jobs:
- otce-upload-image
gate:
jobs:
- otc-tox-py38
- otc-tox-pep8
- tox-functional
- otce-upload-image
periodic:
jobs:
- tox-functional-master