From 7104055eecc762378f357c20e4e4203d909d8064 Mon Sep 17 00:00:00 2001 From: Jonas Jucker Date: Mon, 11 Nov 2024 11:53:04 +0100 Subject: [PATCH] add dummy steps --- jenkins/RemoteExtraction | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/jenkins/RemoteExtraction b/jenkins/RemoteExtraction index 48b76fc..9638d39 100644 --- a/jenkins/RemoteExtraction +++ b/jenkins/RemoteExtraction @@ -33,33 +33,27 @@ pipeline { """ } } - stage('Clone Zephyr') { + stage('Prepare workspace') { steps { sh """ - git clone -b ${zephyr_version} git@github.com:C2SM/zephyr.git + mkdir -p ${WORKSPACE}/extpar + mkdir -p ${WORKSPACE}/icontools """ } } - stage('Setup Python Environment') { + stage('Generate ICON grid') { steps { sh """ - python3 -m venv zephyr_venv - source zephyr_venv/bin/activate - pip install -r zephyr/tools/requirements/requirements.txt - cd zephyr - pip install -e . + cd ${WORKSPACE}/icontools + echo "Generating ICON grid" """ } } - stage('Process Data') { + stage('Generate external parameters') { steps { - script { - env.VERSION = readFile('VERSION').trim() - } - sh """ - source zephyr_venv/bin/activate - cd zephyr/run - python launch_zephyr.py --json_path=${WORKSPACE}/config.json --output_directory=${WORKSPACE}/output/data --github_issue_id=${ghprbPullId} --zephyr_request_version=${VERSION} + sh """ + cd ${WORKSPACE}/extpar + echo "Generating external parameters" """ } }