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
|
---
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.devops.telekom.de/tnap/onapcommunity/integrationproject/onapdeployment/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.devops.telekom.de
api_url: https://gitlab.devops.telekom.de/api/v4
private_token: "{{ lookup('env','CI_private_token') }}"
git_projects:
config:
stage: config
url: https://gitlab.devops.telekom.de/tnap/onapcommunity/integrationproject/onapdeployment/chained-ci.git #TODO Chained CI on onap gitlab
api: https://gitlab.devops.telekom.de/api/v4/projects/36215
branch: "{{ lookup('env','config_branch')|default('master', true) }}"
path: pod_config
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') }}"
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') }}"
# rke-install:
# stage: virt_install
# api: https://gitlab.devops.telekom.de/api/v4/projects/36232
# url: https://gitlab.devops.telekom.de/tnap/onapcommunity/integrationproject/onapdeployment/rke-install.git
# trigger_token: !vault |
# $ANSIBLE_VAULT;1.1;AES256
# 31366336336230663530613735643963626665633538643838353762386364363632393039623165
# 3939326531333765393964373431633961656663303933340a393934326464646436313839666662
# 33313662333662386362316666316232623364346134646165326562303439373861616162653938
# 6130363366366634320a363231326234346530333665353134616435643136353638613332313061
# 34353035336437306130396366343566376362366630613233613464663962626539
# branch: "{{ lookup('env','vim_branch')|default('master', true) }}"
# get_artifacts:
# pull_artifacts: "postconfigure"
# timeout: 900
# 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') }}"
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') }}"
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') }}"
#EXT_NET: "admin-daily-{{ lookup('env','onap-testing_branch')|default('master', true) }}"
# onap-operate:
# stage: check
# api: https://gitlab.devops.telekom.de/api/v4/projects/36337
# url: https://gitlab.devops.telekom.de/tnap/onapcommunity/labtools/tenantaccess.git
# trigger_token: !vault |
# $ANSIBLE_VAULT;1.1;AES256
# 31646539393535313462666661336239336234333436376438333165383264613535323534373665
# 3737313238313139613564326639393239333839636531350a323735343565656665386666346237
# 39663539393636653739343762613233363862393630336135656633333565393535366561613735
# 3934393735383266650a326530636434633163363631316634323966383662623664316331343465
# 32636161376133393765633130326134333661666239323835633164316433636431
# branch: "{{ lookup('env','onap-operate_branch')|default('master', true) }}"
# pull_artifacts:
# timeout: 300
# parameters:
# ANSIBLE_VERBOSE: "{{ lookup('env','ansible_verbose') }}"
# RUNNER_TAG: "{{ lookup('env','RUNNER_TAG') }}"
|