Unverified Commit 5cb239af authored by danfengliu's avatar danfengliu Committed by GitHub
Browse files

Fix echo parameter issue (#12775)

Signed-off-by: default avatardanfengliu <danfengl@vmware.com>
parent e1eac2b4
Showing with 1 addition and 9 deletions
+1 -9
......@@ -58,17 +58,10 @@ else
harbor_target_bucket=$harbor_releases_bucket/$DRONE_BRANCH
fi
export GS_PRIVATE_KEY=$GS_PRIVATE_KEY
export TEST_EXPORT_ENV=$TEST_EXPORT_ENV
echo "1. ===========($TEST_GS_KEY)=========="
echo "2. ===========($test_gs_key)=========="
echo "3. ===========($TEST_EXPORT_ENV)=========="
echo "4. ===========($test_export_env)=========="
# GC credentials
keyfile="/root/harbor-ci-logs.key"
botofile="/root/.boto"
echo -en $GS_PRIVATE_KEY > $keyfile
echo -n $GS_PRIVATE_KEY > $keyfile
chmod 400 $keyfile
echo "[Credentials]" >> $botofile
echo "gs_service_key_file = $keyfile" >> $botofile
......@@ -229,4 +222,3 @@ if [ -f "$keyfile" ]; then
rm -f $keyfile
fi
Supports Markdown
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