Commit e908b2a1 authored by Jean-Francois Rey's avatar Jean-Francois Rey

update ci

parent 8bde977d
Pipeline #2036 failed with stages
in 56 seconds
......@@ -18,15 +18,17 @@ GenData:
when: always
- when : manual
allow_failure: true
variables:
CLUSTER_WORKING_DIR: "/mnt/biomstock/Cluster/biometrie/parsi_covid/COVIDSHINYAPP/"
script:
- "mkdir -p /mnt/biomstock/Cluster/biometrie/parsi_covid/COVIDSHINYAPP/"
- "cp R/* /mnt/biomstock/Cluster/biometrie/parsi_covid/COVIDSHINYAPP/"
- "cp clusterbash.sh /mnt/biomstock/Cluster/biometrie/parsi_covid/COVIDSHINYAPP/"
- "chmod -R +x /mnt/biomstock/Cluster/biometrie/parsi_covid/COVIDSHINYAPP/"
- 'sed -i -e "s/TOKEN/$TRIGGERTOKEN/g" /mnt/biomstock/Cluster/biometrie/parsi_covid/COVIDSHINYAPP/clusterbash.sh'
- export SSHPASS=$CLUSTER_PWD
- "mkdir -p $CLUSTER_WORKING_DIR"
- "cp R/* $CLUSTER_WORKING_DIR"
- "cp clusterbash.sh $CLUSTER_WORKING_DIR"
- "chmod -R +x $CLUSTER_WORKING_DIR"
- 'sed -i -e "s/TOKEN/$TRIGGERTOKEN/g" $CLUSTER_WORKING_DIR/clusterbash.sh'
- "export SSHPASS=$CLUSTER_PWD"
- sshpass -e ssh -o StrictHostKeyChecking=no $CLUSTER_USER@$CLUSTER_IP
"sbatch -p pcbiom9x -D /mnt/biomstock/Cluster/biometrie/parsi_covid/COVIDSHINYAPP/ clusterbash.sh"
"sbatch -p pcbiom9x -D $CLUSTER_WORKING_DIR clusterbash.sh"
GetData:
tags:
......
......@@ -22,9 +22,11 @@ srun -n1 -N1 -o logshinycovid19_%J.out -e errorshinycovid19_%J.out Rscript ./mai
echo "# on attend les 4 builds..."
wait
echo "# 4 builds fini !"
echo "# 4 builds fini ! on merge..."
srun Rscript ./main_forecast_plotly.R "merge"
echo "# Merge fini"
wait
echo "# Trigger pipeline "
curl --request POST --form token=TOKEN --form ref=master https://gitlab.paca.inrae.fr/api/v4/projects/105/trigger/pipeline
echo "# Done!"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment