From 3ca66d00636ad055506f6b4e2781b498cc7487ac Mon Sep 17 00:00:00 2001 From: Guillaume Raffy Date: Tue, 8 Oct 2024 17:44:22 +0200 Subject: [PATCH] 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] --- usecases/ipr/hibench/starbench-template.job | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/usecases/ipr/hibench/starbench-template.job b/usecases/ipr/hibench/starbench-template.job index 049429b..bfb949d 100644 --- a/usecases/ipr/hibench/starbench-template.job +++ b/usecases/ipr/hibench/starbench-template.job @@ -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}"