aboutsummaryrefslogtreecommitdiff
path: root/dev/ci
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-12-02 13:09:45 +0100
committerEmilio Jesus Gallego Arias2019-12-02 13:13:52 +0100
commit6d14d726448ca6c3ef0beb8dda97d135fe16b3d0 (patch)
treee81f3ad3a127e1cf06632f5fb8835752396c25ff /dev/ci
parent99221bbdb1792ee4bc642006a372da76d257b7e5 (diff)
[ci] [sf] Add authentication to artifact download.
It seems we need to pass the token to the actual artifact download.
Diffstat (limited to 'dev/ci')
-rwxr-xr-xdev/ci/ci-sf.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/ci/ci-sf.sh b/dev/ci/ci-sf.sh
index dcb3eb8f67..2b1d2298f2 100755
--- a/dev/ci/ci-sf.sh
+++ b/dev/ci/ci-sf.sh
@@ -12,9 +12,9 @@ sf_lf_CI_TARURL=$(echo "$data" | jq -rc '.[] | select (.path == "lf.tgz") | .ur
sf_plf_CI_TARURL=$(echo "$data" | jq -rc '.[] | select (.path == "plf.tgz") | .url')
sf_vfa_CI_TARURL=$(echo "$data" | jq -rc '.[] | select (.path == "vfa.tgz") | .url')
-wget -O - "${sf_lf_CI_TARURL}" | tar xvz
-wget -O - "${sf_plf_CI_TARURL}" | tar xvz
-wget -O - "${sf_vfa_CI_TARURL}" | tar xvz
+wget -O - "${sf_lf_CI_TARURL}?circle-token=${CIRCLE_SF_TOKEN}" | tar xvz
+wget -O - "${sf_plf_CI_TARURL}?circle-token=${CIRCLE_SF_TOKEN}" | tar xvz
+wget -O - "${sf_vfa_CI_TARURL}?circle-token=${CIRCLE_SF_TOKEN}" | tar xvz
( cd lf && make clean && make )
( cd plf && make clean && make )