Skip to content
Snippets Groups Projects
Commit f97a416b authored by Bertrand  NÉRON's avatar Bertrand NÉRON
Browse files

add psutil in docker image as craw dependence

and rename images
parent be72b5f4
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -9,7 +9,7 @@ variables: ...@@ -9,7 +9,7 @@ variables:
testing: testing:
stage: test stage: test
image: registry-gitlab.pasteur.fr/bneron/craw:centos-dep-0.6 image: registry-gitlab.pasteur.fr/bneron/craw:centos-run-dep
script: script:
- python3 ${CI_PROJECT_DIR}/tests/run_tests.py -vvv - python3 ${CI_PROJECT_DIR}/tests/run_tests.py -vvv
except: except:
...@@ -22,14 +22,19 @@ coverage: ...@@ -22,14 +22,19 @@ coverage:
script: script:
- cd ${CI_PROJECT_DIR} - cd ${CI_PROJECT_DIR}
- coverage run --source=craw tests/run_tests.py --unit - coverage run --source=craw tests/run_tests.py --unit
- coverage html
- coverage report - coverage report
artifacts:
paths: htmlcov/
except: except:
- /^feat.*$/ - /^feat.*$/
- /^fix.*$/ - /^fix.*$/
releasing: releasing:
stage: release stage: release
image: registry-gitlab.pasteur.fr/bneron/craw:release-0.6 image: registry-gitlab.pasteur.fr/bneron/craw:release
dependencies:
- test
script: script:
- cd ${CI_PROJECT_DIR}/doc/ - cd ${CI_PROJECT_DIR}/doc/
- make html - make html
...@@ -39,22 +44,24 @@ releasing: ...@@ -39,22 +44,24 @@ releasing:
artifacts: artifacts:
name: craw-"$CI_COMMIT_REF_NAME".tar.gz name: craw-"$CI_COMMIT_REF_NAME".tar.gz
paths: paths:
- dist/craw*.tar.gz - dist/craw*.tar.gz
only: only:
- tags - tags
- master - master
pages: pages:
image: registry-gitlab.pasteur.fr/bneron/craw:pages stage: release
image: registry-gitlab.pasteur.fr/bneron/craw:release
dependencies:
- coverage
script: script:
- cd ${CI_PROJECT_DIR}
- coverage run --source=craw tests/run_tests.py --unit
- coverage html
- cd ${CI_PROJECT_DIR}/doc/ - cd ${CI_PROJECT_DIR}/doc/
- make html - make html
- cd ${CI_PROJECT_DIR}
- mv ${CI_PROJECT_DIR}/doc/build/html/ public
- mv htmlcov public/
artifacts: artifacts:
paths: paths:
- ${CI_PROJECT_DIR}/htmlcov - public
- ${CI_PROJECT_DIR}/doc/build/html
only: only:
- master - master
\ No newline at end of file
FROM registry-gitlab.pasteur.fr/bneron/craw:centos-dep-0.6 FROM registry-gitlab.pasteur.fr/bneron/craw:centos-run-dep
MAINTAINER Bertrand Neron <bneron@pasteur.fr> MAINTAINER Bertrand Neron <bneron@pasteur.fr>
......
File moved
FROM registry-gitlab.pasteur.fr/bneron/craw:centos-dep-0.6 FROM registry-gitlab.pasteur.fr/bneron/craw:centos-run-dep
MAINTAINER Bertrand Neron <bneron@pasteur.fr> MAINTAINER Bertrand Neron <bneron@pasteur.fr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment