stages: - check - pages variables: COLUMNS: 9000 TERM: 'xterm' GIT_STRATEGY: clone check: tags: - merlin stage: check script: - source /opt/psi/config/profile.bash - module load Python - export COLUMNS=$COLUMNS - export TERM=$TERM - python3 -m venv pm_tools_venv - source pm_tools_venv/bin/activate - pip install -r requirements.txt - python3 pmodules_tools/pmodules_tools.py --deps-check pages: stage: pages artifacts: paths: - public image: ubuntu:20.04 script: # install required apt software - apt update - apt -y upgrade - DEBIAN_FRONTEND=noninteractive apt-get --yes install asciidoctor - mkdir -p /opt && pushd $_ - ln -s /afs/psi.ch/sys/psi.x86_64_el6 psi - popd - export PMODULES_VERSION=1.0.0rc14 - export COLUMNS=$COLUMNS - export TERM=$TERM - source /opt/psi/config/profile.bash # install required python requirements - module load Python - python3 -m venv pm_tools_venv - source pm_tools_venv/bin/activate - pip install -r requirements.txt - mkdir public - python3 pmodules_tools/pmodules_tools.py --db-check # render all files in doc and its sub-directories with extension .adoc to HTML - > asciidoctor -a data-uri \ -a reproducible \ -a icons=font \ -a source-highlighter=Pygments \ -a experimental \ -a stylesheet=$CI_PROJECT_DIR/doc/stylesheets/readthedocs.css \ -D public \ -R doc '**/*.adoc' - > when: always