1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

LP-394 add tea-ci upload to bintray and slack notification

This commit is contained in:
MarcProe 2016-09-02 21:30:48 +02:00
parent 52a9aa37c8
commit 68ff92d039
2 changed files with 28 additions and 0 deletions

1
.drone.sec Normal file
View File

@ -0,0 +1 @@
eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkExMjhHQ00ifQ.1Yf553aagyGc7rbpc61ySvYj_AgTc9Sk9ahwRnZZ55-a2ab8J-_AD3OS00H4XLeigKPpkrUrOMP0HBerCykD2VYjfkBj1cqFScsDD6dS0XnShBlXDw4qLfCwIHWvmWXSp72OlBQnJKlgm5F6JSTw-6_KqioxIB4kxCaCgWcG9KTxxrjxM-yN7dTq5wXRgkTdVSNrXIzRlhJhfwsifvH6RSQoUrTKXhFfKcW_rWpyDG6oiWfRtVAWD20xs0dAFl9x9QDcls0KCcWhwR7ZMVQw98YUmbh-pWLVwPQNCNwdJWf5KTlcm_dOXFV5djd5JX1Z2ca38fItPwMH60qIbj1DWw.wppFxJvhRH31q3sS.NhFc799dMRIcNlPVP4hK5QWV_k4qOggIOCMUg4jktUQC_v-TpQiDx8atnhvxO2IQJrTvJ_wA4Zp1D0WLl5D0mpL0EO93sQSyUTF11tims6ES6lkRM3Qng2OJ6K4yHZ5jFTad8gVYvD3EM1-kV6tecKufy9ZGqO7AWmvjbuZ-WuogDThyTUFHJTctrQkQPZrFS4YUnA9KSPpOukvHqd3wQIKrNg8Z-w-i2tL6wbRuWB6nvvvqUZ9shEZWAvp9n6wvPvbJ8F40_D8fnbD_b4yd.oXs9C9lcrzLmxMVnt39NQw

View File

@ -13,6 +13,9 @@ build:
- mingw32-make opfw_resource
- mingw32-make gcs
- mingw32-make package
- mv `ls build/LibrePilot-*.exe` build/$$BRANCH-$$COMMIT-$$arch-package.exe
- >
curl -X POST --data-urlencode 'payload={"text": "Tea-CI just finished a build: $$BRANCH $${COMMIT:0:8} ($$arch bit)"}' https://hooks.slack.com/services/$$SLACK_HOOK
clone:
depth: 1000
@ -22,3 +25,27 @@ matrix:
arch:
- 32
- 64
publish:
bintray:
username: marcproe
api_key: $$BINTRAY_API_KEY
debug: true
artifacts:
- file: build/$$BRANCH-$$COMMIT-$$arch-package.exe
owner: librepilot
type: executable
repository: LibrePilot
package: next
version: Windows
publish: true
override: true
target: $$BRANCH-$${COMMIT:0:6}-$$arch-tea-ci-package.exe
notify:
webhook:
urls:
- https://hooks.slack.com/services/$$SLACK_HOOK
content_type: application/json
template: >
{"text": "Tea-CI Build #{{ build.number }} finished with a {{ build.status }} status. If successful, the packages for {{ build.branch }} $${COMMIT:0:8} can be downloaded <https://bintray.com/librepilot/LibrePilot/next/Windows/view/#files|here>"}