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

Commit

Permalink
Update .drone.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRx committed Jul 9, 2020
1 parent 627a9dc commit 9c10e9f
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,28 @@ type: docker
name: default

steps:
- name: fetch
image: alpine/git
commands:
- git fetch --tags

- name: test
image: golang:1.13
image: golang:1.14
commands:
- make test
depends_on:
- clone
when:
event:
- push

- name: lint
image: golang:1.13
image: golang:1.14
commands:
- make lint
depends_on:
- clone
when:
event:
- push

- name: manager-testing
image: golang:1.13
image: golang:1.14
commands:
- go test -v ./pkg/manager -test.long
when:
Expand All @@ -29,7 +34,7 @@ steps:
- pull_request

- name: release
image: golang:1.13
image: golang:1.14
when:
branch:
- master
Expand All @@ -44,3 +49,7 @@ steps:
- curl -sL https://git.io/goreleaser | bash
- 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
- 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

volumes:
- name: gocache
temp: {}

0 comments on commit 9c10e9f

Please sign in to comment.