Skip to content

Commit

Permalink
add dummy steps
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasjucker committed Nov 11, 2024
1 parent 2d57fe0 commit 7104055
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions jenkins/RemoteExtraction
Original file line number Diff line number Diff line change
Expand Up @@ -33,33 +33,27 @@ pipeline {
"""
}
}
stage('Clone Zephyr') {
stage('Prepare workspace') {
steps {
sh """
git clone -b ${zephyr_version} [email protected]: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"
"""
}
}
Expand Down

0 comments on commit 7104055

Please sign in to comment.