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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
|
---
disable_pages: false
protected_pods: []
stages:
- lint
- config
- infra_install
- virt_install
- apps
- check
#my_runner_tags: "{{ lookup('env','RUNNER_TAG')|default('ta5_tnaplab', true) }}"
runner:
tags:
- "$RUNNER_TAG"
env_vars:
CHAINED_CI_SRC: https://gitlab.com/onap/integration/pipelines/chained-ci.git #TODO: Chained CI on onap gitlab
docker_proxy:
image: registry.gitlab.com/orange-opensource/lfn/ci_cd/docker_ansible
image_tag: 2.7.10-alpine
gitlab:
pipeline:
delay: 15
base_url: https://gitlab.com
api_url: https://gitlab.com/api/v4
private_token: "{{ lookup('env','CI_private_token') }}"
git_projects:
config:
stage: config
url: https://gitlab.com/onap/integration/pipelines/chained-ci.git #TODO Chained CI on onap gitlab
api: https://gitlab.com/api/v4/projects/39992873
branch: "{{ lookup('env','config_branch')|default('master', true) }}"
path: pod_config
build_integration:
stage: infra_install
api: https://gitlab.com/api/v4/projects/24365265
url: https://gitlab.com/Orange-OpenSource/lfn/onap/build-integration
trigger_token: !vault |
$ANSIBLE_VAULT;1.1;AES256
61313463643234303366353965653038363162386565613266326237373634326465
3365323331306531363834326264613736393836633362323635323365300a333963
30346666663636653238306265393833663463393538613466633831383234336332
3239613634383063386635653836626634633136623831396362640a363332666465
66396131663861326163666536346336356430303933363035373830363162373036
323433383436616461373231386464666232353932383162
branch: "{{ lookup('env','build_integration_branch')|default('master', true) }}"
pull_artifacts:
timeout: 1400
get_encrypt: true
get_bin: true
parameters:
GERRIT_REVIEW: "{{ lookup('env','GERRIT_REVIEW') }}"
GERRIT_PATCHSET: "{{ lookup('env','GERRIT_PATCHSET') }}"
PROJECT: "{{ lookup('env','PROJECT') }}"
cloud-infra:
stage: infra_install
api: https://gitlab.devops.telekom.de/api/v4/projects/36227 #TODO cloud infra on onap gitlab
url: https://gitlab.devops.telekom.de/tnap/onapcommunity/integrationproject/onapdeployment/cloud-infra.git #TODO cloud infra on onap gitlab
trigger_token: !vault |
$ANSIBLE_VAULT;1.1;AES256
62376565306333613162653738343564313038383965316435633839306132326266366461346561
3939376632346134383837643437626465646531356632630a623565363461643235333161393036
62366564333133396330333438363130373437326364343562663562313336656636363333373163
3230323764363661320a613766636437316538353935346631373363623030666165626532623736
65393033386438303831653936613861646561363661353236626630386266366134
branch: "{{ lookup('env','cloud-infra_branch')|default('master', true) }}"
get_artifacts: config
pull_artifacts: "create_servers"
timeout: 900
parameters:
CLEAN: "{{ lookup('env','CLEAN') }}"
ansible_verbose: "{{ lookup('env','ansible_verbose') }}"
RUNNER_TAG: "{{ lookup('env','RUNNER_TAG') }}"
USER_ROLE: "{{ lookup('env','USER_ROLE') }}"
onap-install:
stage: apps
api: https://gitlab.devops.telekom.de/api/v4/projects/36235 #TODO onap oom install on onap gitlab
url: https://gitlab.devops.telekom.de/tnap/onapcommunity/integrationproject/onapdeployment/onap-oom-install.git #TODO onap oom install on onap gitlab
trigger_token: !vault |
$ANSIBLE_VAULT;1.1;AES256
30346262393465333337343563343837356466356334626266383862616137653963383364353139
3730646464396266646663623736633737323263643763320a646439313638643765313864646164
61643831353735613734633164313562666366666336336364616562363962643435306362396339
3734376438386436330a653363383663653836626262626131656534656465383964383833373532
31343833633066613733653931316338393337303538326434306233373662326362
branch: "{{ lookup('env','onap-oom-install_branch')|default('master', true) }}"
pull_artifacts: postinstallation
timeout: 1400
get_encrypt: true
get_bin: true
parameters:
GERRIT_REVIEW: "{{ lookup('env','GERRIT_REVIEW') }}"
GERRIT_PATCHSET: "{{ lookup('env','GERRIT_PATCHSET') }}"
OOM_BRANCH: "{{ lookup('env','OOM_BRANCH') }}"
OOM_GIT_REPO: "{{ lookup('env','OOM_GIT_REPO') }}"
OOM_ON_GITLAB: "{{ lookup('env','OOM_ON_GITLAB') }}"
ANSIBLE_VERBOSE: "{{ lookup('env','ansible_verbose') }}"
OOM_VERSION: "{{ lookup('env','OOM_VERSION') }}"
PROJECT: "{{ lookup('env','PROJECT') }}"
RUNNER_TAG: "{{ lookup('env','RUNNER_TAG') }}"
onap-testing:
stage: check
api: https://gitlab.devops.telekom.de/api/v4/projects/36240 #TODO onap testing on onap gitlab
url: https://gitlab.devops.telekom.de/tnap/onapcommunity/integrationproject/onapdeployment/onap-testing.git #TODO onap testing on onap gitlab
trigger_token: !vault |
$ANSIBLE_VAULT;1.1;AES256
39313634373432653932313531326233633237393535353530336663316365666432323163393366
3365336431646134623863363164343130393938353738390a626239643239636530633939343665
30316531346135333638313835356231643565393861616663386165306263323261613833643638
3965613533333064320a353561306634373430613364373962353532663039386164386263313338
63623638353935326361613730653737643463333538653762326637656133353839
branch: "{{ lookup('env','onap-testing_branch')|default('master', true) }}"
get_artifacts: virt_install
pull_artifacts:
timeout: 600
get_encrypt: true
get_bin: true
parameters:
GERRIT_REVIEW: "{{ lookup('env','GERRIT_REVIEW') }}"
GERRIT_PATCHSET: "{{ lookup('env','GERRIT_PATCHSET') }}"
DEPLOY_SCENARIO: os-nosdn-nofeature-ha
ansible_verbose: "{{ lookup('env','ansible_verbose') }}"
ONAP_VERSION: "{{ lookup('env','OOM_BRANCH') }}"
TEST_RESULT_DB_URL:
"http://testresults.opnfv.org/onap/api/v1/results"
PROJECT: "{{ lookup('env','PROJECT') }}"
DEBUG: true
RUNNER_TAG: "{{ lookup('env','RUNNER_TAG') }}"
kubespray-install:
stage: virt_install
api: https://gitlab.devops.telekom.de/api/v4/projects/36231 #TODO k8s install on onap gitlab
url: https://gitlab.devops.telekom.de/tnap/onapcommunity/integrationproject/onapdeployment/k8s-install.git #TODO k8s install on onap gitlab
trigger_token: !vault |
$ANSIBLE_VAULT;1.1;AES256
64376532616532636231396662336134396561643133323432393330623132353063643635336665
6232643832343133366333656438616463616336613331320a313166366234356537383639303133
64353338653639623034313735653561356362366236636363376431336264653332356134616335
3539626665613336350a313035636665383939656461306664386135623139346531343935373763
34323539663261363634373031383838376362623135386565643465376661616534
branch: "{{ lookup('env','vim_branch')|default('master', true) }}"
get_artifacts:
pull_artifacts: "postconfigure"
timeout: 600
get_bin: true
parameters:
ANSIBLE_VERBOSE: "{{ lookup('env','ansible_verbose') }}"
docker_version: "{{ lookup('env','docker_version') }}"
kubernetes_release: "{{ lookup('env','kubernetes_release') }}"
kubespray_version: "{{ lookup('env','kubespray_version') }}"
helm_version: "{{ lookup('env','helm_version') }}"
RUNNER_TAG: "{{ lookup('env','RUNNER_TAG') }}"
oom:
stage: apps
api: https://gitlab.com/api/v4/projects/6550110
url: https://gitlab.com/Orange-OpenSource/lfn/onap/onap_oom_automatic_installation/
trigger_token: !vault |
$ANSIBLE_VAULT;1.1;AES256
363633373665306138306339646434343366613963393165346661373436633032643430
326536646361313061663837633137663134306331346439313638390a38623034643463
626666366366633764373132373634626436666132333031303033653133613464363632
6363366466396136303232356639623961653637340a3136666438333263636436326463
616462646239323066316231346131623237646238393361643634366436356639386533
3632353462663933643835656364
branch: "{{ lookup('env','oom_deploy_branch')|default('master', true) }}"
pull_artifacts: postinstallation
timeout: 1400
get_encrypt: true
get_bin: true
parameters:
GERRIT_REVIEW: "{{ lookup('env','GERRIT_REVIEW') }}"
GERRIT_PATCHSET: "{{ lookup('env','GERRIT_PATCHSET') }}"
OOM_BRANCH: "{{ lookup('env','OOM_BRANCH') }}"
OOM_GIT_REPO: "{{ lookup('env','OOM_GIT_REPO') }}"
OOM_ON_GITLAB: "{{ lookup('env','OOM_ON_GITLAB') }}"
OOM_VERSION: "{{ lookup('env','OOM_VERSION') }}"
PROJECT: "{{ lookup('env','PROJECT') }}"
ANSIBLE_VERBOSE: "{{ lookup('env','ansible_verbose') }}"
TEST_RESULT_DB_URL: "http://onap.api.testresults.opnfv.fr/api/v1/results"
xtesting-onap:
stage: check
api: https://gitlab.com/api/v4/projects/10614465
url: https://gitlab.com/Orange-OpenSource/lfn/onap/xtesting-onap
trigger_token: !vault |
$ANSIBLE_VAULT;1.1;AES256
376564383532616465343061313138373763333833653463333165313062623262303930
626531653332333063663134393038623661646430633335393266360a35653732613063
333338356136656332323337623534663964653234613836336530303564653463613838
3566306635613566373036356135646364613034660a3037323932396165363334616264
393938316636316437303261323066326530393363303365623036316463613032343533
3234633838343731333166616632
branch: "{{ lookup('env','xtesting-onap_branch')|default('master', true) }}"
get_artifacts: vim
pull_artifacts:
timeout: 1400
get_encrypt: true
get_bin: true
parameters:
GERRIT_REVIEW: "{{ lookup('env','GERRIT_REVIEW') }}"
GERRIT_PATCHSET: "{{ lookup('env','GERRIT_PATCHSET') }}"
EXPERIMENTAL: "{{ lookup('env','EXPERIMENTAL') }}"
ONAP_VERSION: "{{ lookup('env','OOM_BRANCH') }}"
DEPLOY_SCENARIO: os-nosdn-nofeature-ha
TEST_RESULT_DB_URL: "http://testresults.opnfv.org/onap/api/v1/results"
PROJECT: "{{ lookup('env','PROJECT') }}"
trigger:
stage: apps
trigger_token: !vault |
$ANSIBLE_VAULT;1.1;AES256
64386138616464653132353964363032346464373363323366616436346263323230353961363263
3562653664303631323134313864393364636538643430640a363766316230633932376466643333
64386331633737623164313831633537666638623534663736313331313266396438306266636632
3532313263396532300a306661393438613734323064313064343361363763636664393231363934
37633335396563623462653935393236356139303864646135303935373937623739
branch: "{{ lookup('env','CI_BUILD_REF_NAME')|default('master', true) }}"
parameters:
ansible_verbose: "{{ lookup('env','ansible_verbose') }}"
RUNNER_TAG: "{{ lookup('env','RUNNER_TAG') }}"
|