Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 4e7ccf45 authored by Millian Poquet's avatar Millian Poquet
Browse files

[ci] specific step to retrieve pybatsim

parent 6b4ba2bf
Pipeline #712 passed with stages
in 7 minutes and 40 seconds
...@@ -3,6 +3,9 @@ image: oarteam/batsim_ci ...@@ -3,6 +3,9 @@ image: oarteam/batsim_ci
variables: variables:
GIT_SUBMODULE_STRATEGY: none GIT_SUBMODULE_STRATEGY: none
################################################################################
# Build stage
###############################################################################
build_clang: build_clang:
stage: build stage: build
script: script:
...@@ -43,6 +46,20 @@ build_batsched: ...@@ -43,6 +46,20 @@ build_batsched:
paths: paths:
- /builds/batsim/batsim/schedulers/batsched/build - /builds/batsim/batsim/schedulers/batsched/build
retrieve_pybatsim:
stage: build
script:
- rm -rf /builds/batsim/batsim/schedulers/pybatsim
- git clone https://gitlab.inria.fr/batsim/pybatsim.git /builds/batsim/batsim/schedulers/pybatsim
- cd /builds/batsim/batsim/schedulers/pybatsim
- git reset --hard 450d9a43be89688f874b89b4b4839e8b021ec908 # 2017-09-11
artifacts:
paths:
- /builds/batsim/batsim/schedulers/pybatsim
################################################################################
# Test stage
################################################################################
test_doc: test_doc:
stage: test stage: test
script: script:
...@@ -67,11 +84,7 @@ test_test: ...@@ -67,11 +84,7 @@ test_test:
- make install - make install
# Install the pybatsim scheduler # Install the pybatsim scheduler
- rm -rf /builds/batsim/batsim/schedulers/pybatsim - pip3 install /builds/batsim/batsim/schedulers/pybatsim
- git clone https://gitlab.inria.fr/batsim/pybatsim.git /builds/batsim/batsim/schedulers/pybatsim
- cd /builds/batsim/batsim/schedulers/pybatsim
- git reset --hard 450d9a43be89688f874b89b4b4839e8b021ec908 # 2017-09-11
- pip3 install --upgrade /builds/batsim/batsim/schedulers/pybatsim
# Run the redis server # Run the redis server
- | - |
...@@ -86,6 +99,7 @@ test_test: ...@@ -86,6 +99,7 @@ test_test:
dependencies: dependencies:
- build_clang - build_clang
- build_batsched - build_batsched
- retrieve_pybatsim
test_version: test_version:
stage: test stage: test
...@@ -100,6 +114,9 @@ test_version: ...@@ -100,6 +114,9 @@ test_version:
dependencies: dependencies:
- build_clang - build_clang
################################################################################
# Deploy stage
################################################################################
deploy_code_doc: deploy_code_doc:
stage: deploy stage: deploy
script: script:
......
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