Commit ae3fe99b authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'fix-stop_review' into 'master'

Update stop_review job to handle script located in a subdirectory

See merge request gitlab-org/gitlab-ee!7785
parents b70a646f 093e5b8b
......@@ -169,7 +169,7 @@ stages:
- export SCRIPT_NAME="${SCRIPT_NAME:-$CI_JOB_NAME}"
- apk add --update openssl
- wget $CI_PROJECT_URL/raw/$CI_COMMIT_SHA/scripts/$SCRIPT_NAME
- chmod 755 $SCRIPT_NAME
- chmod 755 $(basename $SCRIPT_NAME)
.rake-exec: &rake-exec
<<: *dedicated-no-docs-no-db-pull-cache-job
......@@ -1155,9 +1155,10 @@ stop_review:
allow_failure: true
cache: {}
dependencies: []
before_script: []
variables:
SCRIPT_NAME: "review_apps/review-apps.sh"
script:
- source ./scripts/review_apps/review-apps.sh
- source $(basename "${SCRIPT_NAME}")
- delete
- cleanup
when: manual
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment