Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Commit 341e490

Browse files
committed
dependabot-1 Update golang version to 1.18, dependencies, fix azure backend
1 parent d61e799 commit 341e490

File tree

9 files changed

+921
-124
lines changed

9 files changed

+921
-124
lines changed

.drone-local.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,23 @@ steps:
3030
- mc admin policy set minio userpolicy user=foo
3131

3232
- name: build
33-
image: golang:1.14.4-alpine3.12
33+
image: golang:1.18.4
3434
commands:
3535
- apk add --update make git
3636
- make drone-cache
3737
environment:
3838
CGO_ENABLED: 0
3939

4040
- name: lint
41-
image: golang:1.14.4-alpine3.12
41+
image: golang:1.18.4
4242
commands:
4343
- apk add --update make git curl
4444
- make lint
4545
environment:
4646
CGO_ENABLED: 0
4747

4848
- name: test
49-
image: golang:1.14.4-alpine3.12
49+
image: golang:1.18.4
5050
commands:
5151
- go test -mod=vendor -short -cover -tags=integration ./...
5252
environment:

.drone.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,23 @@ steps:
2828
- mc admin policy set minio userpolicy user=foo
2929

3030
- name: build
31-
image: golang:1.14.4-alpine3.12
31+
image: golang:1.18.4
3232
commands:
3333
- apk add --update make git
3434
- make drone-cache
3535
environment:
3636
CGO_ENABLED: 0
3737

3838
- name: lint
39-
image: golang:1.14.4-alpine3.12
39+
image: golang:1.18.4
4040
commands:
4141
- apk add --update make git curl
4242
- make lint
4343
environment:
4444
CGO_ENABLED: 0
4545

4646
- name: test
47-
image: golang:1.14.4-alpine3.12
47+
image: golang:1.18.4
4848
commands:
4949
- go test -mod=vendor -short -cover -tags=integration ./...
5050
environment:
@@ -59,7 +59,7 @@ steps:
5959
path: /drone/src/tmp/testdata/cache
6060

6161
- name: generate
62-
image: golang:1.14.1-alpine3.11
62+
image: golang:1.18.4
6363
commands:
6464
- apk add --update make git
6565
# Following environment tricks are because of unintended variable capture by flag library.
@@ -117,7 +117,7 @@ steps:
117117
environment:
118118
AWS_ACCESS_KEY_ID: AKIAIOSFODNN7EXAMPLE
119119
AWS_SECRET_ACCESS_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
120-
120+
121121
- name: rebuild-cache-with-zstd
122122
image: meltwater/drone-cache:v1.2.2
123123
pull: always

DOCS.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ steps:
115115
- 'vendor'
116116

117117
- name: build
118-
image: golang:1.14.4-alpine3.12
118+
image: golang:1.18.4
119119
pull: true
120120
commands:
121121
- apk add --update make git
@@ -160,7 +160,7 @@ steps:
160160
path: /tmp/cache
161161

162162
- name: build
163-
image: golang:1.14.4-alpine3.12
163+
image: golang:1.18.4
164164
pull: true
165165
commands:
166166
- apk add --update make git
@@ -212,7 +212,7 @@ steps:
212212
- 'vendor'
213213

214214
- name: build
215-
image: golang:1.14.4-alpine3.12
215+
image: golang:1.18.4
216216
pull: true
217217
commands:
218218
- apk add --update make git
@@ -261,7 +261,7 @@ steps:
261261
- 'vendor'
262262

263263
- name: build
264-
image: golang:1.14.4-alpine3.12
264+
image: golang:1.18.4
265265
pull: true
266266
commands:
267267
- apk add --update make git
@@ -300,7 +300,7 @@ steps:
300300
debug: true
301301

302302
- name: build
303-
image: golang:1.14.4-alpine3.12
303+
image: golang:1.18.4
304304
pull: true
305305
commands:
306306
- apk add --update make git

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file is designed to only used by goreleaser.
2-
FROM golang:1.14.4-alpine3.12 AS builder
2+
FROM golang:1.18.4 AS builder
33
RUN apk add --update --no-cache ca-certificates tzdata && update-ca-certificates
44

55
FROM scratch as runner

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ steps:
7777
- 'vendor'
7878

7979
- name: build
80-
image: golang:1.14.4-alpine3.12
80+
image: golang:1.18.4
8181
pull: true
8282
commands:
8383
- apk add --update make git

docs/examples/drone.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ steps:
2727
- 'vendor'
2828

2929
- name: build
30-
image: golang:1.14.4-alpine3.12
30+
image: golang:1.18.4
3131
pull: true
3232
commands:
3333
- apk add --update make git
@@ -74,7 +74,7 @@ steps:
7474
path: /tmp/cache
7575

7676
- name: build
77-
image: golang:1.14.4-alpine3.12
77+
image: golang:1.18.4
7878
pull: true
7979
commands:
8080
- apk add --update make git
@@ -127,7 +127,7 @@ steps:
127127
- 'vendor'
128128

129129
- name: build
130-
image: golang:1.14.4-alpine3.12
130+
image: golang:1.18.4
131131
pull: true
132132
commands:
133133
- apk add --update make git
@@ -175,7 +175,7 @@ steps:
175175
- 'vendor'
176176

177177
- name: build
178-
image: golang:1.14.4-alpine3.12
178+
image: golang:1.18.4
179179
pull: true
180180
commands:
181181
- apk add --update make git
@@ -214,7 +214,7 @@ steps:
214214
debug: true
215215

216216
- name: build
217-
image: golang:1.14.4-alpine3.12
217+
image: golang:1.18.4
218218
pull: true
219219
commands:
220220
- apk add --update make git

go.mod

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
11
module github.com/meltwater/drone-cache
22

33
require (
4-
cloud.google.com/go/storage v1.1.0
5-
github.com/Azure/azure-storage-blob-go v0.8.0
6-
github.com/Azure/go-autorest/autorest/adal v0.8.1 // indirect
7-
github.com/aws/aws-sdk-go v1.36.29
8-
github.com/davecgh/go-spew v1.1.1 // indirect
4+
cloud.google.com/go v0.103.0 // indirect
5+
cloud.google.com/go/storage v1.23.0
6+
github.com/Azure/azure-storage-blob-go v0.15.0
7+
github.com/aws/aws-sdk-go v1.44.55
98
github.com/dustin/go-humanize v1.0.0
10-
github.com/go-kit/kit v0.9.0
11-
github.com/go-logfmt/logfmt v0.4.0 // indirect
12-
github.com/go-stack/stack v1.8.0 // indirect
13-
github.com/google/go-cmp v0.4.0
14-
github.com/klauspost/compress v1.13.5
15-
github.com/pkg/sftp v1.10.1
16-
github.com/urfave/cli/v2 v2.1.1
17-
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
18-
golang.org/x/mod v0.2.0 // indirect
19-
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
20-
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e // indirect
21-
golang.org/x/tools v0.0.0-20200204192400-7124308813f3 // indirect
22-
google.golang.org/api v0.9.0
23-
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
24-
honnef.co/go/tools v0.0.1-2020.1.3 // indirect
9+
github.com/go-kit/kit v0.12.0
10+
github.com/go-kit/log v0.2.1 // indirect
11+
github.com/google/go-cmp v0.5.8
12+
github.com/klauspost/compress v1.15.8
13+
github.com/mattn/go-ieproxy v0.0.7 // indirect
14+
github.com/pkg/sftp v1.13.5
15+
github.com/urfave/cli/v2 v2.11.0
16+
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d
17+
golang.org/x/net v0.0.0-20220708220712-1185a9018129 // indirect
18+
golang.org/x/oauth2 v0.0.0-20220630143837-2104d58473e0
19+
golang.org/x/sys v0.0.0-20220712014510-0a85c31ab51e // indirect
20+
google.golang.org/api v0.87.0
21+
google.golang.org/genproto v0.0.0-20220714152414-ccd2914cffd4 // indirect
22+
google.golang.org/grpc v1.48.0 // indirect
2523
)
2624

2725
go 1.14

0 commit comments

Comments
 (0)