forked from mirrors/gecko-dev
Taskcluster secrets are not provided to clients in the same format that they are set. Rather, the YAML is rendered to JSON, and it's wrapped in a larger object that also contains the `expires` timestamp. Correctly parse the JSON and remove the dependency on `yq`. Differential Revision: https://phabricator.services.mozilla.com/D109907
19 lines
390 B
Bash
Executable file
19 lines
390 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
set -o pipefail
|
|
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
|