Skip to content
This repository was archived by the owner on Nov 20, 2021. It is now read-only.

Commit 9c10e9f

Browse files
committed
Update .drone.yml
1 parent 627a9dc commit 9c10e9f

1 file changed

Lines changed: 18 additions & 9 deletions

File tree

.drone.yml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,28 @@ type: docker
33
name: default
44

55
steps:
6-
- name: fetch
7-
image: alpine/git
8-
commands:
9-
- git fetch --tags
10-
116
- name: test
12-
image: golang:1.13
7+
image: golang:1.14
138
commands:
149
- make test
10+
depends_on:
11+
- clone
12+
when:
13+
event:
14+
- push
1515

1616
- name: lint
17-
image: golang:1.13
17+
image: golang:1.14
1818
commands:
1919
- make lint
20+
depends_on:
21+
- clone
22+
when:
23+
event:
24+
- push
2025

2126
- name: manager-testing
22-
image: golang:1.13
27+
image: golang:1.14
2328
commands:
2429
- go test -v ./pkg/manager -test.long
2530
when:
@@ -29,7 +34,7 @@ steps:
2934
- pull_request
3035

3136
- name: release
32-
image: golang:1.13
37+
image: golang:1.14
3338
when:
3439
branch:
3540
- master
@@ -44,3 +49,7 @@ steps:
4449
- curl -sL https://git.io/goreleaser | bash
4550
- curl -F "package[distro_version_id]=190" -F "package[package_file]=@$(ls dist/e2d_*_x86_64.deb)" https://$PACKAGECLOUD_TOKEN:@packagecloud.io/api/v1/repos/criticalstack/public/packages.json
4651
- curl -F "package[distro_version_id]=204" -F "package[package_file]=@$(ls dist/e2d_*_x86_64.rpm)" https://$PACKAGECLOUD_TOKEN:@packagecloud.io/api/v1/repos/criticalstack/public/packages.json
52+
53+
volumes:
54+
- name: gocache
55+
temp: {}

0 commit comments

Comments
 (0)