Skip to content

Commit 83f3f18

Browse files
committed
ort-gitlab-ci: Rename OSS_CI_REVISION
Renaming to make clear that this variable holds the revision of ORT for GitLab to use. Signed-off-by: Thomas Steenbergen <[email protected]>
1 parent 724e0f1 commit 83f3f18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ort-gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ ort-scan:
2323
- apk add curl jq
2424
script:
2525
- |
26-
OSS_CI_REVISION=${OSS_CI_REVISION:-main}
2726
ORT_DOCKER_IMAGE=${ORT_DOCKER_IMAGE:-"${CI_REGISTRY_IMAGE}/ort-custom:latest"}
27+
ORT_GITLAB_CI_REVISION=${OSS_GITLAB_CI_REVISION:-main}
2828
resp=$(
2929
curl -fksSL --request POST \
3030
--form "token=${ORT_TRIGGER_API_TOKEN}" \
@@ -51,7 +51,7 @@ ort-scan:
5151
--form "variables[UPSTREAM_MERGE_REQUEST_IID]=$CI_MERGE_REQUEST_IID" \
5252
--form "variables[UPSTREAM_PIPELINE_URL]=$CI_PIPELINE_URL" \
5353
--form "variables[DEPENDENT_ON_JOB_ID]=$DEPENDENT_ON_JOB_ID" \
54-
--form "ref=${OSS_CI_REVISION}" ${CI_API_V4_URL}/projects/${ORT_GITLAB_CI_PROJECT_ID}/trigger/pipeline \
54+
--form "ref=${ORT_GITLAB_CI_REVISION}" ${CI_API_V4_URL}/projects/${ORT_GITLAB_CI_PROJECT_ID}/trigger/pipeline \
5555
)
5656
PIPELINE_ID=$(echo $resp | jq -r '.id')
5757
web_url=$(echo $resp | jq -r '.web_url')

0 commit comments

Comments
 (0)