vaguerent/.ci/spec/notify-success.sh

16 lines
362 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
csource="${BASH_SOURCE[0]}"
while [ -h "$csource" ] ; do csource="$(readlink "$csource")"; done
root="$( cd -P "$( dirname "$csource" )/../../" && pwd )"
. "${root}/.ci/load-ci.sh"
. "${root}/.ci/spec/env.sh"
pushd "${root}" > "${output}"
slack -m 'Tests have passed!'