22# DO NOT MODIFY - AUTO GENERATED
33
44kind : pipeline
5- name : go-1.12.9
5+ name : go-1.13.4
66
77platform :
88 os : linux
@@ -14,7 +14,7 @@ workspace:
1414
1515steps :
1616- name : mod-download
17- image : golang:1.12.9
17+ image : golang:1.13.4
1818 commands :
1919 - go mod download
2020 environment :
@@ -23,12 +23,12 @@ steps:
2323 - clone
2424
2525- name : coverage
26- image : golang:1.12.9
26+ image : golang:1.13.4
2727 commands :
2828 - apt update
2929 - apt install -y redis-server
30- - " redis-server &>/dev/null &"
31- - " timeout 10 sh -c \ " while ! redis-cli ping; do echo waiting for redis-server to start; sleep 1; done\" "
30+ - redis-server &>/dev/null &
31+ - timeout 10 sh -c "while ! redis-cli ping; do echo waiting for redis-server to start; sleep 1; done"
3232 - make gocoverage
3333 depends_on :
3434 - mod-download
4242 - mod-download
4343
4444- name : build
45- image : golang:1.12.9
45+ image : golang:1.13.4
4646 commands :
4747 - make build
4848 environment :
9292 from_secret : docker_username
9393 when :
9494 ref :
95- - " refs/tags/*"
95+ - refs/tags/*
9696 - refs/heads/master
9797 depends_on :
9898 - coverage
@@ -116,7 +116,7 @@ steps:
116116
117117---
118118kind : pipeline
119- name : go-1.11 .13
119+ name : go-1.12 .13
120120
121121platform :
122122 os : linux
@@ -128,7 +128,7 @@ workspace:
128128
129129steps :
130130- name : mod-download
131- image : golang:1.11 .13
131+ image : golang:1.12 .13
132132 commands :
133133 - go mod download
134134 environment :
@@ -137,12 +137,12 @@ steps:
137137 - clone
138138
139139- name : coverage
140- image : golang:1.11 .13
140+ image : golang:1.12 .13
141141 commands :
142142 - apt update
143143 - apt install -y redis-server
144- - " redis-server &>/dev/null &"
145- - " timeout 10 sh -c \ " while ! redis-cli ping; do echo waiting for redis-server to start; sleep 1; done\" "
144+ - redis-server &>/dev/null &
145+ - timeout 10 sh -c "while ! redis-cli ping; do echo waiting for redis-server to start; sleep 1; done"
146146 - make gocoverage
147147 depends_on :
148148 - mod-download
@@ -156,73 +156,7 @@ steps:
156156 - mod-download
157157
158158- name : build
159- image : golang:1.11.13
160- commands :
161- - make build
162- environment :
163- CGO_ENABLED : 0
164- when :
165- event :
166- - pull_request
167- - push
168- depends_on :
169- - mod-download
170-
171- - name : test-ci-dockerfile
172- image : plugins/docker
173- settings :
174- dockerfile : drone/Dockerfile
175- dry_run : true
176- repo : videodev/video-transcoding-api
177- when :
178- event :
179- - pull_request
180- depends_on :
181- - build
182-
183- ---
184- kind : pipeline
185- name : go-1.13beta1
186-
187- platform :
188- os : linux
189- arch : amd64
190-
191- workspace :
192- base : /go
193- path : video-transcoding-api
194-
195- steps :
196- - name : mod-download
197- image : golang:1.13beta1
198- commands :
199- - go mod download
200- environment :
201- GOPROXY : https://proxy.golang.org
202- depends_on :
203- - clone
204-
205- - name : coverage
206- image : golang:1.13beta1
207- commands :
208- - apt update
209- - apt install -y redis-server
210- - " redis-server &>/dev/null &"
211- - " timeout 10 sh -c \" while ! redis-cli ping; do echo waiting for redis-server to start; sleep 1; done\" "
212- - make gocoverage
213- depends_on :
214- - mod-download
215-
216- - name : lint
217- pull : always
218- image : golangci/golangci-lint
219- commands :
220- - make runlint
221- depends_on :
222- - mod-download
223-
224- - name : build
225- image : golang:1.13beta1
159+ image : golang:1.12.13
226160 commands :
227161 - make build
228162 environment :
0 commit comments