FAQ | This is a LIVE service | Changelog

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

experimenting with new setup for pages

parent 1766629d
No related branches found
No related tags found
No related merge requests found
...@@ -47,13 +47,13 @@ stages: ...@@ -47,13 +47,13 @@ stages:
- python3 -V # Print out python version for debugging - python3 -V # Print out python version for debugging
- mkdir -p $PACKAGES_DIR - mkdir -p $PACKAGES_DIR
- mkdir -p $OUTPUT_DIR - mkdir -p $OUTPUT_DIR
- git clone -b $BRANCH "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 -b $BRANCH "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 -b $BRANCH "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews_plotting.git" $PACKAGES_DIR/plotting # - git clone -b $BRANCH "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews_plotting.git" $PACKAGES_DIR/plotting
- git clone -b $BRANCH "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews-epimodel.git" $PACKAGES_DIR/epimodel # - git clone -b $BRANCH "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews-epimodel.git" $PACKAGES_DIR/epimodel
- git clone -b main "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 -b main "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 -b main "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 -b main "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 -b $BRANCH "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews-postprocessing.git" $PACKAGES_DIR/post_processing # - git clone -b $BRANCH "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews-postprocessing.git" $PACKAGES_DIR/post_processing
- git clone -b main "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews-met-processing.git" $PACKAGES_DIR/met_processing # - git clone -b main "https://nouser:$GROUP_WHEAT_ACCESS_VAR@gitlab.developers.cam.ac.uk/gilligan-epid/wheat-rusts/ews-met-processing.git" $PACKAGES_DIR/met_processing
- epimodel=$PACKAGES_DIR/epimodel - epimodel=$PACKAGES_DIR/epimodel
- advisory=$PACKAGES_DIR/advisory_builder - advisory=$PACKAGES_DIR/advisory_builder
- met_processing=$PACKAGES_DIR/met_processing - met_processing=$PACKAGES_DIR/met_processing
...@@ -63,13 +63,13 @@ stages: ...@@ -63,13 +63,13 @@ stages:
- source_gen=$PACKAGES_DIR/source_gen - source_gen=$PACKAGES_DIR/source_gen
- coordinator=$CI_PROJECT_DIR - coordinator=$CI_PROJECT_DIR
- coordinator_tests=$CI_PROJECT_DIR/tests - coordinator_tests=$CI_PROJECT_DIR/tests
- export PYTHONPATH=$PYTHONPATH:$met_processor_temp:$epimodel:$advisory:$met_processing:$met_processor:$plotting:$source_gen:$post_processing:$coordinator:$coordinator_tests - export PYTHONPATH=$PYTHONPATH:$coordinator:$coordinator_tests
- echo "pythonpath - " $PYTHONPATH - echo "pythonpath - " $PYTHONPATH
- ls $PACKAGES_DIR - ls $PACKAGES_DIR
half_fat_tests: half_fat_tests:
when: always when: manual
stage: half-fat stage: half-fat
extends: .before_script extends: .before_script
...@@ -336,16 +336,16 @@ pages: ...@@ -336,16 +336,16 @@ pages:
extends: .before_script extends: .before_script
script: script:
- export PATH=$PATH:/home/ewsmanager/.local/bin - export PATH=$PATH:/home/ewsmanager/.local/bin
- echo "Pages accessible through ${CI_PAGES_URL}/${PAGES_PREFIX}" - echo "Pages accessible through ${CI_PAGES_URL} / ${PAGES_PREFIX}"
- pip install sphinx - pip install sphinx
- pip install sphinx_rtd_theme - pip install sphinx_rtd_theme
- pip install sphinx_autodoc_typehints - pip install sphinx_autodoc_typehints
- pip install IPython - pip install IPython
- cd $CI_PROJECT_DIR/docs - cd $CI_PROJECT_DIR/docs
- make html - make html
- mkdir $CI_PROJECT_DIR/public - mkdir $CI_PROJECT_DIR/something
- mv -v $CI_PROJECT_DIR/docs/_build/html/* $CI_PROJECT_DIR/public/ - mv -v $CI_PROJECT_DIR/docs/_build/html/* $CI_PROJECT_DIR/something/
- ls $CI_PROJECT_DIR/public/ - ls $CI_PROJECT_DIR/something/
artifacts: artifacts:
paths: paths:
- public - public
...@@ -6,7 +6,7 @@ API ...@@ -6,7 +6,7 @@ API
:template: custom-module-template.rst :template: custom-module-template.rst
:recursive: :recursive:
ews.coordinator .. ews.coordinator
ews.plotting ews.plotting
ews.postprocessing ews.postprocessing
ews.met_processing ews.met_processing
......
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