go.uber.org/yarpc@v1.72.1/.buildkite/pipeline.sh (about)

     1  #!/usr/bin/env bash
     2  
     3  # This script allows requesting a different BuildKite pipeline by setting the
     4  # YARPC_PIPELINE environment variable.
     5  #
     6  # There must be a pipeline-$YARPC_PIPELINE.yml in this directory for this to
     7  # work.
     8  
     9  set -euo pipefail
    10  
    11  PIPELINE=${YARPC_PIPELINE:-default}
    12  cat "$(dirname "$0")/pipeline-$PIPELINE.yml"