fune/taskcluster/docker/sentry/prepare.sh
Sylvestre Ledru 81f9111f55 no bug - Remove the useless set -o pipefail (no pipe in the script) r=mhentges DONTBUILD
Detected by shellcheck
TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/taskcluster/docker/sentry/prepare.sh:5:8 | In POSIX sh, set option pipefail is undefined. (2039)

Depends on D142171

Differential Revision: https://phabricator.services.mozilla.com/D142377
2022-03-30 14:18:54 +00:00

18 lines
374 B
Bash
Executable file

#!/bin/sh
set -o errexit
set -o nounset
set -o xtrace
apt-get -y update
# Install:
# * curl to fetch sentry-cli
# * jq to parse hgmo pushlog
apt-get install -y \
curl \
jq
# Install sentry-cli to publish releases
curl -L https://github.com/getsentry/sentry-cli/releases/download/1.63.1/sentry-cli-Linux-x86_64 -o /usr/bin/sentry-cli
chmod +x /usr/bin/sentry-cli