Skip to content

Commit 512743b

Browse files
authored
feat: add gitlab CI stage to trigger nspect automation internally and remove legacy gitlac CI jobs (Mellanox#1890)
2 parents 032fd37 + bec5f8a commit 512743b

File tree

2 files changed

+13
-89
lines changed

2 files changed

+13
-89
lines changed

.gitlab-ci.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
stages:
2+
- trigger-jenkins-nspect-on-tag
3+
4+
trigger-jenkins-nspect-on-tag:
5+
stage: trigger-jenkins-nspect-on-tag
6+
image: curlimages/curl:8.5.0
7+
rules:
8+
- if: $CI_COMMIT_TAG
9+
- when: manual # TODO: after testing remove
10+
variables:
11+
JENKINS_JOB_NAME: test-mzeevi3 # TODO: after testing, change to nspect-release-version-automation
12+
script:
13+
- curl -fsSLX POST -u "$SVC_CLOUD_ORCH_CI_USERNAME:$SVC_CLOUD_ORCH_CI_TOKEN" "$BLOSSOM_JENKINS_URL/job/$JENKINS_JOB_NAME/buildWithParameters?DRY_RUN=false"

.gitlab-ci.yml

Lines changed: 0 additions & 89 deletions
This file was deleted.

0 commit comments

Comments
 (0)