diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fc61f9857a6c59cbf6f5f0550ab895105b85040b..6d69d1ddc1ff3ce2a78b95757be2e0ec207b7f61 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -70,6 +70,22 @@ real-from-ideal-psp: - ./autosubmit/**/tmp expire_in: 7 days +real-from-ideal-hash: + stage: run_tests + script: + - ./examples/01_real-from-ideal+hash.sh + tags: + - slurm.meteo.physik.lmu.de + variables: + SRUN_OPTIONS: "--time 04:00:00 --mem 18G -n 4 -c 2" + + artifacts: + name: real-from-ideal+hash-logs + when: always + paths: + - ./autosubmit/**/tmp + expire_in: 7 days + real-from-dwd-ana: stage: run_tests script: diff --git a/examples/01_real-from-ideal+hash.sh b/examples/01_real-from-ideal+hash.sh new file mode 100755 index 0000000000000000000000000000000000000000..67912c88c42b0fc10f3fc87bae94cb5a0fbd3a25 --- /dev/null +++ b/examples/01_real-from-ideal+hash.sh @@ -0,0 +1,22 @@ +#!/bin/bash +####################################################################################################################### +# Variables that are required to define the test case +EXPID="rfihash" +ICON_CASE="real-from-ideal" +# That points to a specific hash in the psp branch. +ICON_VERSION="68f2b0564c03473c4ddc8eec651298133714b728" +PLATFORM="LOCAL" +EXTRA_NAMELIST="" +EXTRA_CONFIGURATION="" + +####################################################################################################################### +set -euo pipefail + +# Get path to the script directory +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" + +# Import the function run_autoicon_example +source ${SCRIPT_DIR}/example_utils.sh + +# Setup and run the experiment +run_autoicon_example "$EXPID" "$ICON_CASE" "$ICON_VERSION" "$PLATFORM" "${EXTRA_NAMELIST}" "${EXTRA_CONFIGURATION}"