Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
migration
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gitlab-com
migration
Commits
31e02d3a
Commit
31e02d3a
authored
Aug 03, 2018
by
Andrew Newdigate
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'more-symlink-fixes' into 'master'
More symlink fixes See merge request gitlab-com/migration!175
parents
459d418d
4a0db2b7
Pipeline
#88489
passed with stage
in 23 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
bin/workflow-script-commons.sh
bin/workflow-script-commons.sh
+5
-1
No files found.
bin/workflow-script-commons.sh
View file @
31e02d3a
...
...
@@ -44,7 +44,7 @@ function gnu_readlink() {
function
ensure_valid
()
{
source_vars_file
=
$(
gnu_readlink
-f
"
${
SOURCE_VARS_DIR
}
/source_vars"
)
grep
-Eho
'(\w+)="__REQUIRED__"'
./bin/source_vars_template.sh
|cut
-d
=
-f1
|
while
read
-r
i
;
do
grep
-Eho
'(\w+)="__REQUIRED__"'
"
${
SOURCE_VARS_DIR
}
/source_vars_template.sh"
|cut
-d
=
-f1
|
while
read
-r
i
;
do
if
[[
${
!i
:
=__REQUIRED__
}
=
"__REQUIRED__"
]]
;
then
die
"Variable
${
i
}
has not been configured. You may need to update
${
source_vars_file
}
"
fi
...
...
@@ -85,6 +85,10 @@ function ensure_valid() {
esac
}
function
log_command
()
{
(
set
-x
;
"
$@
"
)
}
function
header
()
{
local
full_path
full_path
=
$(
gnu_readlink
-f
"
${
BASH_SOURCE
[2]
}
"
)
...
...
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