mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(build): trigger windows build after successfull CI build
This commit is contained in:
parent
7bdedff89c
commit
da2aaf7095
@ -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}
|
||||||
|
9
scripts/trigger_windows_build.sh
Executable file
9
scripts/trigger_windows_build.sh
Executable file
@ -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
|
Loading…
Reference in New Issue
Block a user