FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 5d1d86fb authored by L. Bower's avatar L. Bower
Browse files

experimenting with manual jobs

parent 1d84a2c1
No related branches found
No related tags found
No related merge requests found
...@@ -19,40 +19,41 @@ stages: ...@@ -19,40 +19,41 @@ stages:
- half-fat - half-fat
- full-fat - full-fat
prepare_code: .half_fat_before_script:
stage: half-fat before_script:
image: lb584/ews_coordinator:latest stage: half-fat
script: image: lb584/ews_coordinator:latest
- python3 -V # Print out python version for debugging script:
- echo $PACKAGES_DIR - python3 -V # Print out python version for debugging
- mkdir $PACKAGES_DIR - echo $PACKAGES_DIR
- git clone "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews-source-generation.git" $PACKAGES_DIR/source_gen - mkdir $PACKAGES_DIR
- git clone "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews_plotting.git" $PACKAGES_DIR/plotting - git clone "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews-source-generation.git" $PACKAGES_DIR/source_gen
- git clone "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/flagdir.git" $PACKAGES_DIR/flagdir - git clone "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews_plotting.git" $PACKAGES_DIR/plotting
- git clone "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews-epimodel.git" $PACKAGES_DIR/epimodel - git clone "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/flagdir.git" $PACKAGES_DIR/flagdir
- git clone "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews-advisory-builder.git" $PACKAGES_DIR/advisory_builder - git clone "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews-epimodel.git" $PACKAGES_DIR/epimodel
- git clone "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews_environmental_suitability_v2.git" $PACKAGES_DIR/environmental_suitability - git clone "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews-advisory-builder.git" $PACKAGES_DIR/advisory_builder
- git clone "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews-postprocessing.git" $PACKAGES_DIR/post_processing - git clone "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews_environmental_suitability_v2.git" $PACKAGES_DIR/environmental_suitability
- git clone "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews_met_data_extraction.git" $PACKAGES_DIR/met_extractor_v2 - git clone "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews-postprocessing.git" $PACKAGES_DIR/post_processing
- ls $PACKAGES_DIR - git clone "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews_met_data_extraction.git" $PACKAGES_DIR/met_extractor_v2
- source /storage/app/miniconda3/bin/activate /storage/app/EWS_prod/envs/conda/py3EWS/ - ls $PACKAGES_DIR
- pip install coverage - source /storage/app/miniconda3/bin/activate /storage/app/EWS_prod/envs/conda/py3EWS/
- pwd - pip install coverage
- flagdir=$PACKAGES_DIR/flagdir - pwd
- epimodel=$PACKAGES_DIR/epimodel - flagdir=$PACKAGES_DIR/flagdir
- advisory=$PACKAGES_DIR/advisory_builder - epimodel=$PACKAGES_DIR/epimodel
- met_processing=$PACKAGES_DIR/met_extractor_v2/met_data_extraction - advisory=$PACKAGES_DIR/advisory_builder
- met_processor=$PACKAGES_DIR/environmental_suitability/environmental_suitability - met_processing=$PACKAGES_DIR/met_extractor_v2/met_data_extraction
- plotting=$PACKAGES_DIR/plotting/plotting - met_processor=$PACKAGES_DIR/environmental_suitability/environmental_suitability
- post_processing=$PACKAGES_DIR/post_processing/ews_postprocessing - plotting=$PACKAGES_DIR/plotting/plotting
- source_gen=$PACKAGES_DIR/source_gen - post_processing=$PACKAGES_DIR/post_processing/ews_postprocessing
- coordinator=$CI_PROJECT_DIR/coordinator - source_gen=$PACKAGES_DIR/source_gen
- coordinator_tests=$CI_PROJECT_DIR/tests - coordinator=$CI_PROJECT_DIR/coordinator
- export PYTHONPATH=$PYTHONPATH:$flagdir:$epimodel:$advisory:$met_processing:$met_processor:$plotting:$source_gen:$post_processing:$coordinator:$coordinator_tests - coordinator_tests=$CI_PROJECT_DIR/tests
- export PYTHONPATH=$PYTHONPATH:$flagdir:$epimodel:$advisory:$met_processing:$met_processor:$plotting:$source_gen:$post_processing:$coordinator:$coordinator_tests
- echo $PYTHONPATH - echo $PYTHONPATH
- CI_PYTHON_PATH=$PYTHONPATH - CI_PYTHON_PATH=$PYTHONPATH
- ls ../ - ls ../
.full_fat_before_script: .full_fat_before_script:
before_script: before_script:
...@@ -61,6 +62,7 @@ prepare_code: ...@@ -61,6 +62,7 @@ prepare_code:
half_fat_tests: half_fat_tests:
when: manual when: manual
stage: half-fat stage: half-fat
extends: .half_fat_before_script
image: lb584/ews_coordinator:latest image: lb584/ews_coordinator:latest
needs: ["prepare_code"] needs: ["prepare_code"]
...@@ -87,6 +89,7 @@ half_fat_tests: ...@@ -87,6 +89,7 @@ half_fat_tests:
half_fat_epi_tests: half_fat_epi_tests:
when: manual when: manual
stage: half-fat stage: half-fat
extends: .half_fat_before_script
image: lb584/ews_coordinator:latest image: lb584/ews_coordinator:latest
needs: ["prepare_code"] needs: ["prepare_code"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment