Merge branch 'drone-gogs' of dan/cwtch into master
This commit is contained in:
commit
bcaa85fd5b
10
.drone.yml
10
.drone.yml
|
@ -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
|
|
||||||
|
|
Loading…
Reference in New Issue