trigger_grafana_packer.sh 280 B

12345678910
  1. #!/bin/bash
  2. _circle_token=$1
  3. trigger_build_url="https://circleci.com/api/v1/project/grafana/grafana-packer/tree/master?circle-token=${_circle_token}"
  4. curl \
  5. --header "Accept: application/json" \
  6. --header "Content-Type: application/json" \
  7. --request POST "${trigger_build_url}"