#!/usr/bin/env bash set -e cd "$(dirname "$0")"/.. if [[ -z $BUILDKITE ]]; then echo BUILDKITE not defined exit 1 fi if [[ -z $SOLANA_METRICS_PARTIAL_CONFIG ]]; then echo SOLANA_METRICS_PARTIAL_CONFIG not defined exit 1 fi if [[ -z $TESTNET ]]; then TESTNET=$(buildkite-agent meta-data get "testnet" --default "") fi if [[ -z $TESTNET_OP ]]; then TESTNET_OP=$(buildkite-agent meta-data get "testnet-operation" --default "") fi if [[ -z $TESTNET || -z $TESTNET_OP ]]; then ( cat <