github.com/stevenmatthewt/agent@v3.5.4+incompatible/packaging/linux/root/usr/share/buildkite-agent/bootstrap.sh (about)

     1  #!/bin/sh
     2  
     3  # This is a shim to make the upgrade process from v2 -> v3 smoother as
     4  # v2 configurations will still have bootstrap-path=/usr/share/buildkite-agent/bootstrap.sh
     5  # which will cause all sorts of wierd behaviour
     6  
     7  echo "+++ :warning: Your buildkite-agent.cfg file contains a deprecated bootstrap.sh"
     8  echo "As part of the upgrade from Agent v2 to v3, a bootstrap-script compatibility shim was added to your buildkite-agent.cfg."
     9  echo ""
    10  echo "To silence this warning, you can comment out the bootstrap-script line in ${BUILDKITE_CONFIG_PATH:-buildkite-agent.cfg}."
    11  echo ""
    12  echo "For more information, see our Buildkite Agent 3.0 upgrade guide:"
    13  echo "https://buildkite.com/docs/agent/upgrading-to-v3"
    14  
    15  exec buildkite-agent bootstrap "$@"