/
promote-master-centos9-current-tripleo.yml
123 lines (114 loc) · 4.16 KB
/
promote-master-centos9-current-tripleo.yml
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
- project:
name: rdo_trunk-promote-jobs-master-centos9-current-tripleo
jobs:
- 'rdo_trunk-promote-master-centos9-current-tripleo'
- job-template:
name: rdo_trunk-promote-master-centos9-current-tripleo
project-type: multijob
triggers:
- pollurl:
cron: "H * * * *"
urls:
- url: https://trunk.rdoproject.org/centos9-master/current-tripleo/delorean.repo
check-content:
- simple: true
defaults: parent-promote-defaults
builders:
- phase-get-hash-master-centos9-current-tripleo
- phase-test-import-master-centos9-current-tripleo
properties:
- ownership:
owner: rlandy@redhat.com
- builder:
name: phase-get-hash-master-centos9-current-tripleo
builders:
- multijob:
name: "GET THE LATEST DELOREAN YUM REPOSITORY HASH"
condition: SUCCESSFUL
projects:
- name: rdo-promote-get-hash-master-centos9-current-tripleo
- project:
name: rdo-promote-get-hash-master-centos9-current-tripleo
jobs:
- 'rdo-promote-get-hash-master-centos9-current-tripleo'
- job-template:
name: 'rdo-promote-get-hash-master-centos9-current-tripleo'
defaults: script-defaults
builders:
- shell:
!include-raw-escape:
- scripts/centos9-master-current-tripleo.sh
- scripts/promote-get-hash.sh
publishers:
- tripleo-quickstart-archive-hash-master-centos9-current-tripleo
properties:
- ownership:
owner: rlandy@redhat.com
- publisher:
name: 'tripleo-quickstart-archive-hash-master-centos9-current-tripleo'
publishers:
- archive:
artifacts: 'delorean_master_centos9_current_tripleo_hash'
- builder:
name: phase-test-import-master-centos9-current-tripleo
builders:
- multijob:
name: "INSTALL / TEST (IMPORT IMAGES)"
condition: UNSTABLE
projects:
- name: tripleo-quickstart-promote-master-centos9-current-tripleo-delorean-minimal
kill-phase-on: NEVER
- name: weirdo-master-centos9-promote-packstack-scenario001
kill-phase-on: NEVER
- name: weirdo-master-centos9-promote-puppet-openstack-scenario001
kill-phase-on: NEVER
- project:
name: 'tripleo-quickstart-promote-master-centos9-current-tripleo-jobs'
test: 'full-deploy'
job_type: 'promote'
release: 'master'
build_system: 'delorean'
topology: 'minimal'
distro: 'centos9'
jobs:
- 'tripleo-quickstart-promote-master-{distro}-current-tripleo-{build_system}-{topology}'
- job-template:
name: 'tripleo-quickstart-promote-master-{distro}-current-tripleo-{build_system}-{topology}'
disabled: true
defaults: 'tripleo-quickstart-promote-defaults'
scm:
- repo-tripleo-quickstart
builders:
- tripleo-quickstart-builder:
test: '{test}'
job_type: '{job_type}'
release: '{release}'
build_system: '{build_system}'
topology: '{topology}'
distro: '{distro}'
publishers:
- tripleo-quickstart-cleanup:
topology: '{topology}'
job_type: '{job_type}'
- tripleo-quickstart-full-logs-link
- tripleo-quickstart-report-dlrn-api-master-centos9-current-tripleo
- publisher:
name: 'tripleo-quickstart-report-dlrn-api-master-centos9-current-tripleo'
publishers:
- post-tasks:
- matches:
- log-text: marked build as failure
script:
!include-raw:
- scripts/centos9-master-current-tripleo.sh
- scripts/export-success-false.sh
- scripts/dlrn-api-report.sh
- post-tasks:
- matches:
- log-text: Virtual Environment Setup Complete
run-if-job-successful: true
script:
!include-raw:
- scripts/centos9-master-current-tripleo.sh
- scripts/export-success-true.sh
- scripts/dlrn-api-report.sh