drone: move to drone-gogs

This commit is contained in:
Dan Ballard 2018-07-07 20:14:42 -05:00
parent 7974bf4a4d
commit 6103287542
1 changed files with 3 additions and 7 deletions

View File

@ -8,7 +8,6 @@ pipeline:
commands: commands:
- wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/bin/tor - wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/bin/tor
- wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/torrc - wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/torrc
- wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/gogs-notify.sh
- chmod a+x tor - chmod a+x tor
- go list ./... | xargs go get - go list ./... | xargs go get
- go get -u github.com/golang/lint/golint - go get -u github.com/golang/lint/golint
@ -37,11 +36,8 @@ pipeline:
when: when:
status: [ success, changed, failure ] status: [ success, changed, failure ]
notify-gogs: notify-gogs:
image: golang image: mindstab/drone-gogs
when: when:
event: pull_request event: pull_request
secrets: [buildbot] secrets: [gogs_account_token]
commands: gogs_url: https://git.openprivacy.ca
- echo "Notifying"
- env
- sh gogs-notify.sh