feat(build): trigger windows build after successfull CI build
This commit is contained in:
@@ -28,3 +28,4 @@ deployment:
|
|||||||
owner: grafana
|
owner: grafana
|
||||||
commands:
|
commands:
|
||||||
- ./scripts/trigger_grafana_packer.sh ${TRIGGER_GRAFANA_PACKER_CIRCLECI_TOKEN}
|
- ./scripts/trigger_grafana_packer.sh ${TRIGGER_GRAFANA_PACKER_CIRCLECI_TOKEN}
|
||||||
|
- ./scripts/trigger_windows_build.sh ${APPVEYOR_TOKEN}
|
||||||
|
|||||||
Executable
+9
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
_token=$1
|
||||||
|
|
||||||
|
curl \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-H "Authorization: Bearer ${_token}" \
|
||||||
|
-X POST -d '{ "accountName": "Torkeldegaard", "projectSlug": "grafana","branch": "master","environmentVariables": {}}' \
|
||||||
|
https://ci.appveyor.com/api/builds
|
||||||
Reference in New Issue
Block a user