Commit c22ba7dd authored by Jean-Francois Rey's avatar Jean-Francois Rey
Browse files

update CI script

parent 66ca1b7b
......@@ -29,7 +29,8 @@ r-devel-build_test:
artifacts:
paths:
- "$(ls -rt landsepiDev_*.tar.gz |tail -1)"
allow_failure: true
rules:
allow_failure: true
r-Mac-build_test:
stage: build_test
......@@ -69,8 +70,8 @@ release-r:
artifacts:
paths:
- "$(ls -rt landsepiDev_* |tail -1)"
only:
- tags
rules:
- if: $CI_COMMIT_TAG != ""
dependencies:
- r-build_test
......@@ -85,8 +86,8 @@ release-win:
artifacts:
paths:
- "$(ls -rt landsepiDev_*.zip |tail -1)"
only:
- tags
rules:
- if: $CI_COMMIT_TAG != ""
dependencies:
- r-windows-build_test
......@@ -100,8 +101,8 @@ release-Mac:
artifacts:
paths:
- "$(ls -rt landsepiDev_*.tgz | tail -1)"
only:
- tags
rules:
- if: $CI_COMMIT_TAG != ""
dependencies:
- r-Mac-build_test
......@@ -125,8 +126,8 @@ buildDocker:
- docker push $CI_REGISTRY_IMAGE:latest
after_script:
- docker logout $CI_REGISTRY
only:
- master
rules:
- if: $CI_COMMIT_BRANCH == "master"
deploy:
image: debian
......@@ -134,8 +135,8 @@ deploy:
environment:
name: shinyproxy
url: https://shiny.biosp.inra.fr/
only:
- master
rules:
- if: $CI_COMMIT_BRANCH == "master"
before_script:
- apt-get update && apt-get install -y sshpass openssh-client
- export SSHPASS=$DEPLOY_PWD
......
Supports Markdown
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