Commit 24721744 authored by Dorchies David's avatar Dorchies David
Browse files

feat: Add CDF database during docker container building

- wrong path

Refs #18
parent 7c93dd3b
Pipeline #21844 passed with stage
in 2 minutes and 45 seconds
......@@ -13,6 +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/*"
- 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
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