adapted code to cope with recent change in univ rennes policy that caused github access to require the use of a proxy

As a result, I finally managed to get hibench working on alambix

work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3372]
This commit is contained in:
Guillaume Raffy 2024-10-08 17:44:22 +02:00
parent cf1235f62c
commit 3ca66d0063
1 changed files with 10 additions and 1 deletions

View File

@ -65,7 +65,16 @@ eval $env_vars_bash_commands
# launch starbench
command="${starbench_path}"
strUr1ProxyUrl='http://proxy-nt.univ-rennes1.fr:3128'
strProxyVars=''
strProxyVars="$strProxyVars HTTP_PROXY=$strUr1ProxyUrl"
strProxyVars="$strProxyVars HTTPS_PROXY=$strUr1ProxyUrl"
strProxyVars="$strProxyVars FTP_PROXY=$strUr1ProxyUrl"
strProxyVars="$strProxyVars http_proxy=$strUr1ProxyUrl"
strProxyVars="$strProxyVars https_proxy=$strUr1ProxyUrl"
strProxyVars="$strProxyVars ftp_proxy=$strUr1ProxyUrl"
command="$strProxyVars starbench"
command="${command} --git-repos-url ${git_repos_url}"
command="${command} --git-user ${git_user}"
command="${command} --git-pass-file ${git_pass_file}"