From b59416c7bc7227204ad855a94875cafc6455abce Mon Sep 17 00:00:00 2001 From: Aric Gardner Date: Thu, 23 Aug 2018 12:58:08 -0400 Subject: Https now works for artifacts.opnfv.org Change-Id: Ic3aa4bea2b546c95ce8187927a5762009adbd429 Signed-off-by: Aric Gardner --- utils/artifacts.opnfv.org.sh | 8 ++++---- utils/push-test-logs.sh | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/utils/artifacts.opnfv.org.sh b/utils/artifacts.opnfv.org.sh index 1984b4992..2b35006d4 100755 --- a/utils/artifacts.opnfv.org.sh +++ b/utils/artifacts.opnfv.org.sh @@ -31,7 +31,7 @@ do for index in $(gsutil ls -l gs://artifacts.opnfv.org/logs/"$project"/ |awk 'NF==1'| sed s,gs://artifacts.opnfv.org/,, ) do index="$(echo ${index%/*} | sed s,/,_,g)" - echo "
  • "$index"
  • " >> $OUTPUT + echo "
  • "$index"
  • " >> $OUTPUT done done @@ -55,7 +55,7 @@ rm -f $OUTPUT echo "
  • $path
  • " >> $OUTPUT echo "" >> $OUTPUT else - echo "
  • "$filepath"
  • " >> $OUTPUT + echo "
  • "$filepath"
  • " >> $OUTPUT fi done @@ -85,7 +85,7 @@ rm -f $OUTPUT echo "
  • $path
  • " >> $OUTPUT echo "" >> $OUTPUT else - echo "
  • "$filepath"
  • " >> $OUTPUT + echo "
  • "$filepath"
  • " >> $OUTPUT fi done @@ -119,7 +119,7 @@ do echo "
  • $path
  • " >> $OUTPUT echo "" >> $OUTPUT else - echo "
  • "$filepath"
  • " >> $OUTPUT + echo "
  • "$filepath"
  • " >> $OUTPUT fi diff --git a/utils/push-test-logs.sh b/utils/push-test-logs.sh index 9debb45b7..d5ab8b91c 100644 --- a/utils/push-test-logs.sh +++ b/utils/push-test-logs.sh @@ -64,11 +64,11 @@ if [ -d "$dir_result" ]; then else echo "Uploading logs to artifact $project_artifact" gsutil -m cp -r "$dir_result"/* gs://artifacts.opnfv.org/"$project_artifact"/ >/dev/null 2>&1 - echo "Logs can be found in http://artifacts.opnfv.org/logs_${project}_${testbed}.html" + echo "Logs can be found in https://artifacts.opnfv.org/logs_${project}_${testbed}.html" cd $dir_result files=($(find . -name \* -print|sed 's/^\.//'|sed '/^\s*$/d')) for f in ${files[@]}; do - echo "http://artifacts.opnfv.org/${project_artifact}${f}" + echo "https://artifacts.opnfv.org/${project_artifact}${f}" done fi fi -- cgit 1.2.3-korg