stages:
    - build
    - run_ideal
    - run_real
    - postprocess

cache:
  paths:
    - autosubmit/
    - pyvenv/

stage_0:
    stage: build
    script: ./examples/01_real-from-ideal.sh 0
    tags:
            - slurm.meteo.physik.lmu.de

stage_1:
    stage: run_ideal
    script: ./examples/01_real-from-ideal.sh 1
    tags:
            - slurm.meteo.physik.lmu.de

stage_2:
    stage: run_real
    script: ./examples/01_real-from-ideal.sh 2
    tags:
            - slurm.meteo.physik.lmu.de

stage_3:
    stage: postprocess
    script: ./examples/01_real-from-ideal.sh 3
    tags:
            - slurm.meteo.physik.lmu.de