aboutsummaryrefslogtreecommitdiffstats
path: root/etc/taskcluster/curl-artifact.sh
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-10-11 17:28:00 +0200
committerSimon Sapin <simon.sapin@exyr.org>2018-10-30 13:25:18 +0100
commita5cce280f1e295805281c50029dd726f871ce0f4 (patch)
treeb2c248c528ed0b7279f7cb5a06a68c4ce0770134 /etc/taskcluster/curl-artifact.sh
parentf357c6fe933aa6791f0e22fea0c52758662be941 (diff)
downloadservo-a5cce280f1e295805281c50029dd726f871ce0f4.tar.gz
servo-a5cce280f1e295805281c50029dd726f871ce0f4.zip
Taskcluster: move curl’ing artifacts into decisionlib
Diffstat (limited to 'etc/taskcluster/curl-artifact.sh')
-rwxr-xr-xetc/taskcluster/curl-artifact.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/etc/taskcluster/curl-artifact.sh b/etc/taskcluster/curl-artifact.sh
deleted file mode 100755
index 3093eca4a87..00000000000
--- a/etc/taskcluster/curl-artifact.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/env bash
-
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-set -o errexit
-set -o nounset
-set -o pipefail
-
-task_id="${1}"
-artifact="${2}"
-shift 2
-queue="https://queue.taskcluster.net/v1"
-url="${queue}/task/${task_id}/artifacts/public/${artifact}"
-echo "Fetching ${url}" >&2
-curl \
- --retry 5 \
- --connect-timeout 10 \
- --location \
- --fail \
- "${url}" \
- "${@}"