Skip to content
Snippets Groups Projects
Select Git revision
  • 2e4b29b16790c966f21d64db53391e84f561b420
  • master default protected
  • enxhi_issue460_remove_TOAR-I_access
  • michael_issue459_preprocess_german_stations
  • sh_pollutants
  • develop protected
  • release_v2.4.0
  • michael_issue450_feat_load-ifs-data
  • lukas_issue457_feat_set-config-paths-as-parameter
  • lukas_issue454_feat_use-toar-statistics-api-v2
  • lukas_issue453_refac_advanced-retry-strategy
  • lukas_issue452_bug_update-proj-version
  • lukas_issue449_refac_load-era5-data-from-toar-db
  • lukas_issue451_feat_robust-apriori-estimate-for-short-timeseries
  • lukas_issue448_feat_load-model-from-path
  • lukas_issue447_feat_store-and-load-local-clim-apriori-data
  • lukas_issue445_feat_data-insight-plot-monthly-distribution
  • lukas_issue442_feat_bias-free-evaluation
  • lukas_issue444_feat_choose-interp-method-cams
  • 414-include-crps-analysis-and-other-ens-verif-methods-or-plots
  • lukas_issue384_feat_aqw-data-handler
  • v2.4.0 protected
  • v2.3.0 protected
  • v2.2.0 protected
  • v2.1.0 protected
  • Kleinert_etal_2022_initial_submission
  • v2.0.0 protected
  • v1.5.0 protected
  • v1.4.0 protected
  • v1.3.0 protected
  • v1.2.1 protected
  • v1.2.0 protected
  • v1.1.0 protected
  • IntelliO3-ts-v1.0_R1-submit
  • v1.0.0 protected
  • v0.12.2 protected
  • v0.12.1 protected
  • v0.12.0 protected
  • v0.11.0 protected
  • v0.10.0 protected
  • IntelliO3-ts-v1.0_initial-submit
41 results

conftest.py

Blame
  • create_documentation.sh 966 B
    #!/bin/bash
    
    # reset status
    echo "failure" > status.txt
    
    # create webpage folder
    BRANCH_NAME=$( echo -e "${CI_COMMIT_REF_NAME////_}")
    mkdir -p webpage/
    mkdir -p webpage/recent
    #for w in master develop
    #do
    #    if [[ "${CI_COMMIT_REF_NAME}" == "$w" ]]; then
    #        mkdir -p "webpage/${BRANCH_NAME}"
    #    fi
    #done
    mkdir -p "webpage/${BRANCH_NAME}"
    
    cd docs  || {
        echo "no docs to build available";
        echo "incomplete" > status.txt;
        echo "no docs to build avail" > incomplete.txt;
        exit 0; }
    
    echo "${CI_COMMIT_TAG}"
    make clean
    make html
    IS_FAILED=$?
    
    # copy results
    cp -r ./_build/html/* "../webpage/${BRANCH_NAME}/."
    cp -r ./_build/html/* ../webpage/recent/.
    if [[ "${CI_COMMIT_REF_NAME}" = "master" ]]; then
        cp -r ./_build/html/* ../webpage/.
    fi
    cd ..
    
    # report if job was successful
    if [[ ${IS_FAILED} == 0 ]]; then
        echo "success"
        echo "success" > status.txt
        echo "build" > success.txt
        exit 0
    else
        echo "failed"
        exit 1
    fi