Skip to content

Commit

Permalink
Merge pull request #71 from signalwire/drone
Browse files Browse the repository at this point in the history
[Testing] Move Drone artifacts to signalwire.cloud
  • Loading branch information
andywolk authored Oct 19, 2020
2 parents b8895ff + 6c9810c commit 004126b
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,22 @@ steps:
- sed -i '/cotire/d' ./swclt_test/CMakeLists.txt
- mkdir -p scan-build
- scan-build-4.0 -o ./scan-build/ cmake .
- echo "#!/bin/bash\nscan-build-4.0 -o ./scan-build/ make -j`nproc --all` |& tee ./scan-build-result.txt\nexitstatus=\${PIPESTATUS[0]}\necho \$exitstatus > ./scan-build-status.txt\n" > scan.sh
- echo '#!/bin/bash\nscan-build-4.0 -o ./scan-build/ make -j`nproc --all` |& tee ./scan-build-result.txt\nexitstatus=$${PIPESTATUS[0]}\necho $$exitstatus > ./scan-build-status.txt\n' > scan.sh
- chmod +x scan.sh
- ./scan.sh
- exitstatus=`cat ./scan-build-status.txt`
- echo "*** Exit status is $exitstatus"

- name: notify
image: signalwire/scan-build-notify
image: signalwire/drone-notify
pull: true
environment:
GITHUB_CI_APP_PEM:
from_secret: github_ci_app_pem
SSH_KEY:
from_secret: ssh_key
SLACK_WEBHOOK_URL:
from_secret: slack_webhook_url
ENV_FILE:
from_secret: notify_env
commands:
- /root/notify.sh
- /root/scan-build-notify.sh

trigger:
branch:
Expand All @@ -44,6 +42,6 @@ trigger:
- push
---
kind: signature
hmac: 745d50e22397b686f5ea525d4e0118588b0070209257738fde371d0962a0756a
hmac: 088f9c09ab42cfd913a9575b9f5e835d909e7ac59cc612f93957ef7fa330c6f4

...

0 comments on commit 004126b

Please sign in to comment.