Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
Dockerfiles
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Picasoft
Technique
Dockerfiles
Commits
316112b2
Commit
316112b2
authored
Jul 28, 2020
by
Quentin Duchemin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[GraphBot] Fix if syntax in inject_env.sh
parent
3b7332e6
Pipeline
#65383
waiting for manual action with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pica-graphbot/inject_env.sh
pica-graphbot/inject_env.sh
+2
-2
No files found.
pica-graphbot/inject_env.sh
100644 → 100755
View file @
316112b2
...
...
@@ -3,12 +3,12 @@
if
[
-z
"
${
SFTP_USER
}
"
]
;
then
echo
"SFTP_USER not set, exiting!"
exit
1
else
fi
if
[
-z
"
${
SFTP_PASSWORD
}
"
]
;
then
echo
"SFTP_PASSWORD not set, exiting!"
exit
1
else
fi
echo
"Inject SFTP credentials..."
sed
-i
"s/SFTP_USER/
$SFTP_USER
/g"
/entrypoint.sh
...
...
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