Skip to content

Commit cf988aa

Browse files
authored
Remove deprecated security job (#1291)
Minor updates to job condition to avoid issues when triggers many variables at once. Relates-To: OLPEDGE-2507 Signed-off-by: Yaroslav Stefinko <[email protected]>
1 parent 5f922a9 commit cf988aa

File tree

1 file changed

+9
-45
lines changed

1 file changed

+9
-45
lines changed

.gitlab-ci.yml

Lines changed: 9 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ weekly_perf_reports:
2828
image: ${DOCKER_REGISTRY}/${DOCKER_IMAGE_USER}:${DOCKER_IMAGE_USER_VERSION}
2929
only:
3030
refs:
31-
- branches
32-
- master
31+
- web
3332
- schedules
3433
variables:
3534
- $PERFORMANCE
@@ -49,30 +48,6 @@ weekly_perf_reports:
4948
- reports/*.xml
5049
expire_in: 1 year
5150

52-
wv_security_job:
53-
stage: test
54-
tags:
55-
- docker-prod
56-
image: ${DOCKER_REGISTRY}/${DOCKER_IMAGE_SECURITY}:${DOCKER_IMAGE_SECURITY_VERSION}
57-
variables:
58-
LD_PRELOAD: "/lib64/libSegFault.so"
59-
SEGFAULT_SIGNALS: "all"
60-
script:
61-
- $CI_PROJECT_DIR/scripts/linux/weekly/build_centos_debug_wv.sh --centos
62-
- $CI_PROJECT_DIR/scripts/linux/weekly/security_scanner_upload_wv.sh build/binaries.tar.gz [email protected]
63-
only:
64-
refs:
65-
- branches
66-
- master
67-
- schedules
68-
variables:
69-
- $SECURITY
70-
artifacts:
71-
when: always
72-
paths:
73-
- build/binaries.tar.gz
74-
expire_in: 1 year # save our archive for 1 year as job artifacts
75-
7651
build_linux_armhf_fv:
7752
stage: build
7853
tags:
@@ -82,8 +57,7 @@ build_linux_armhf_fv:
8257
- $CI_PROJECT_DIR/scripts/linux-armhf/fv/gitlab_build_armhf_fv.sh
8358
only:
8459
refs:
85-
- branches
86-
- master
60+
- web
8761
- schedules
8862
variables:
8963
- $FV
@@ -102,8 +76,7 @@ build_test_linux_fv:
10276

10377
only:
10478
refs:
105-
- branches
106-
- master
79+
- web
10780
- schedules
10881
variables:
10982
- $FV
@@ -127,8 +100,7 @@ build_test_nv:
127100
- $CI_PROJECT_DIR/scripts/misc/artifactory_upload.sh edge-sdks/sdk-for-cpp/releases/test-reports/$CI_JOB_NAME/$CI_JOB_ID/${CI_JOB_NAME}_test_reports.tar.gz ${CI_JOB_NAME}_test_reports.tar.gz
128101
only:
129102
refs:
130-
- branches
131-
- master
103+
- web
132104
- schedules
133105
variables:
134106
- $NV
@@ -150,8 +122,7 @@ test_performance_nv:
150122
- $CI_PROJECT_DIR/scripts/misc/artifactory_upload.sh edge-sdks/sdk-for-cpp/releases/test-reports/$CI_JOB_NAME/$CI_JOB_ID/${CI_JOB_NAME}_test_reports.tar.gz ${CI_JOB_NAME}_test_reports.tar.gz
151123
only:
152124
refs:
153-
- branches
154-
- master
125+
- web
155126
- schedules
156127
variables:
157128
- $NV
@@ -173,8 +144,7 @@ upload_sonar_nv:
173144
- $CI_PROJECT_DIR/scripts/linux/nv/gitlab_cppcheck_and_upload_sonar.sh
174145
only:
175146
refs:
176-
- branches
177-
- master
147+
- web
178148
- schedules
179149
variables:
180150
- $NV
@@ -184,7 +154,6 @@ translate_report_fv:
184154
tags:
185155
- docker-prod
186156
image: python:3.6
187-
when: always
188157
before_script:
189158
- pip install junit2html
190159
script:
@@ -209,8 +178,7 @@ translate_report_fv:
209178
- .public
210179
only:
211180
refs:
212-
- branches
213-
- master
181+
- web
214182
- schedules
215183
variables:
216184
- $FV
@@ -220,7 +188,6 @@ translate_report_nv:
220188
tags:
221189
- docker-prod
222190
image: python:3.6
223-
when: always
224191
before_script:
225192
- pip install junit2html
226193
script:
@@ -233,8 +200,7 @@ translate_report_nv:
233200
- .public
234201
only:
235202
refs:
236-
- branches
237-
- master
203+
- web
238204
- schedules
239205
variables:
240206
- $NV
@@ -243,16 +209,14 @@ pages:
243209
stage: deploy
244210
tags:
245211
- docker-prod
246-
when: always
247212
script: mv .public public
248213
artifacts:
249214
paths:
250215
- public
251216
expire_in: 1 year
252217
only:
253218
refs:
254-
- branches
255-
- master
219+
- web
256220
- schedules
257221
variables:
258222
- $FV

0 commit comments

Comments
 (0)