Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
IN-WOP
IRMaRA
Commits
7c93dd3b
Commit
7c93dd3b
authored
Mar 30, 2021
by
Dorchies David
Browse files
feat: Add CDF database during docker container building
Refs
#18
parent
42a1802d
Pipeline
#21842
passed with stage
in 2 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
7c93dd3b
...
...
@@ -13,5 +13,6 @@ deploy:
-
'
[[
-f
/.dockerenv
]]
&&
echo
-e
"Host
*\n\tStrictHostKeyChecking
no\n\n"
>
~/.ssh/config'
-
ssh $SHINY_HOST 'rm -rf irmara && git clone git@gitlab-ssh.irstea.fr:in-wop/irmara.git'
-
ssh $SHINY_HOST "cd irmara && git checkout ${CI_COMMIT_REF_NAME}"
-
ssh $SHINY_HOST "mkdir -p irmara/inst/cdf && cp irmara_data/* irmara/inst/cdf/*"
-
echo $PASSWORD_AUBES | ssh -tt $SHINY_HOST 'sudo docker build --build-arg COMMIT_HASH=$(git rev-parse HEAD) -t irmara irmara'
-
echo $PASSWORD_AUBES | ssh -tt $SHINY_HOST 'sudo service docker.irmara restart'
\ No newline at end of file
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