From 9d55489613b047396aa6c2ed1e10d92c55f27507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Riette?= <sebastien.riette@meteo.fr> Date: Wed, 15 Nov 2023 14:56:08 +0100 Subject: [PATCH] S. Riette 15 Nov 2023: bf and update for belenos --- tools/INSTALL.sh | 2 +- tools/testing.sh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/INSTALL.sh b/tools/INSTALL.sh index f7b7155f7..916195de7 100755 --- a/tools/INSTALL.sh +++ b/tools/INSTALL.sh @@ -44,7 +44,7 @@ if [ $dataset -eq 1 ]; then https://github.com/UMR-CNRM/PHYEX/files/12783952/turb.tar.gz; do basefile=$(basename $file) if [ $clean -eq 1 ]; then - find $(basename $basefile .gz) -name \*.dat -type f -delete + find $(basename $basefile .tar.gz) -name \*.dat -type f -delete else wget --no-check-certificate $file -O $basefile tar xf $basefile diff --git a/tools/testing.sh b/tools/testing.sh index 71cef6ff9..f2e6e77a9 100755 --- a/tools/testing.sh +++ b/tools/testing.sh @@ -109,7 +109,7 @@ function get_last_commit { } function enable_gh_pages { - result=$(curl -L --netrc \ + result=$(curl -L --netrc --insecure \ -H "Authorization: Bearer $TOKEN" \ -H "Accept: application/vnd.github+json" \ -H "X-GitHub-Api-Version: 2022-11-28" \ @@ -117,7 +117,7 @@ function enable_gh_pages { if [ $(echo $result | grep 'Not Found' | wc -l) -eq 1 ]; then log 1 "Github project pages not yet enabled" #Pages are not yet activated - curl -L --netrc \ + curl -L --netrc --insecure \ -X POST \ -H "Authorization: Bearer $TOKEN" \ -H "Accept: application/vnd.github+json" \ @@ -128,7 +128,7 @@ function enable_gh_pages { } function get_statuses { - curl -L --netrc \ + curl -L --netrc --insecure \ -H "Accept: application/vnd.github+json" \ -H "X-GitHub-Api-Version: 2022-11-28" \ "https://api.github.com/repos/${PHYEXREPOuser}/${PHYEXREPOrepo}/commits/${SHA}/statuses" @@ -150,7 +150,7 @@ function add_status { fi url="https://${PHYEXREPOuser}.github.io/${PHYEXREPOrepo}/displayparam.html?" url=${url}$(content=$(echo -e "$comment") python3 -c "import urllib.parse, os; print(urllib.parse.quote('<pre>' + os.environ['content'] + '</pre>', safe=':/='))") - curl -L \ + curl -L --insecure \ -X POST \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer $TOKEN" \ -- GitLab