Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
093e5b8b
Commit
093e5b8b
authored
Oct 03, 2018
by
Ian Baum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use basename in single-script-job to allow for subdirectories
parent
6da50490
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
.gitlab-ci.yml
.gitlab-ci.yml
+4
-6
No files found.
.gitlab-ci.yml
View file @
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,12 +1155,10 @@ stop_review:
allow_failure
:
true
cache
:
{}
dependencies
:
[]
before_script
:
[]
variables
:
SCRIPT_NAME
:
"
review_apps/review-apps.sh"
script
:
-
export SCRIPT_NAME="review-apps.sh"
-
wget "${CI_PROJECT_URL}/raw/${CI_COMMIT_SHA}/scripts/review_apps/${SCRIPT_NAME}"
-
chmod 755 "${SCRIPT_NAME}"
-
source "${SCRIPT_NAME}"
-
source $(basename "${SCRIPT_NAME}")
-
delete
-
cleanup
when
:
manual
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment