forked from googlecodelabs/tools
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.drone.yml
More file actions
31 lines (31 loc) · 669 Bytes
/
.drone.yml
File metadata and controls
31 lines (31 loc) · 669 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Note: if you modify this file, don't forget to update
# checksum in .drone.sec with:
# drone secure --repo googlecodelabs/tools --checksum
clone:
depth: 1
build:
image: golang
commands:
- go get github.com/golang/lint/golint
- cd ./claat
- go get ./...
- make test lint
- make release -j2
publish:
gcs:
when:
repo: googlecodelabs/tools
branch: master
auth_key: >
$$SERVICE_ACCOUNT_KEY
source: claat/bin
target: claat
ignore: claat
acl: ["allUsers:READER"]
cache_control: public,max-age=1800
github_release:
when:
event: tag
api_key: $$GH_API_KEY
files:
- bin/claat-*