Skip to content

Commit da2aaf7

Browse files
committed
feat(build): trigger windows build after successfull CI build
1 parent 7bdedff commit da2aaf7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

circle.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ deployment:
2828
owner: grafana
2929
commands:
3030
- ./scripts/trigger_grafana_packer.sh ${TRIGGER_GRAFANA_PACKER_CIRCLECI_TOKEN}
31+
- ./scripts/trigger_windows_build.sh ${APPVEYOR_TOKEN}

scripts/trigger_windows_build.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
_token=$1
4+
5+
curl \
6+
-H "Content-Type: application/json" \
7+
-H "Authorization: Bearer ${_token}" \
8+
-X POST -d '{ "accountName": "Torkeldegaard", "projectSlug": "grafana","branch": "master","environmentVariables": {}}' \
9+
https://ci.appveyor.com/api/builds

0 commit comments

Comments
 (0)