Skip to content

Commit 080428b

Browse files
Upgrade images in .drone.yml to more recent versions (#4819)
1 parent 179123d commit 080428b

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

.drone.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pipeline:
2222
branch: [ master ]
2323

2424
update-translations:
25-
image: alpine:3.6
25+
image: alpine:3.7
2626
commands:
2727
- mv ./options/locale/locale_en-US.ini ./options/
2828
- sed -i -e 's/="/=/g' -e 's/"$$//g' ./options/locale/*.ini
@@ -64,7 +64,7 @@ pipeline:
6464
event: [ push, tag, pull_request ]
6565

6666
build:
67-
image: golang:1.10
67+
image: golang:1.11
6868
pull: true
6969
environment:
7070
TAGS: bindata sqlite
@@ -83,7 +83,7 @@ pipeline:
8383
event: [ push, tag, pull_request ]
8484

8585
test:
86-
image: golang:1.10
86+
image: golang:1.11
8787
pull: true
8888
group: test
8989
environment:
@@ -95,7 +95,7 @@ pipeline:
9595
branch: [ master ]
9696

9797
test:
98-
image: golang:1.10
98+
image: golang:1.11
9999
pull: true
100100
group: test
101101
environment:
@@ -107,7 +107,7 @@ pipeline:
107107
branch: [ release/* ]
108108

109109
test:
110-
image: golang:1.10
110+
image: golang:1.11
111111
pull: true
112112
group: test
113113
environment:
@@ -130,7 +130,7 @@ pipeline:
130130
# event: [ push, tag, pull_request ]
131131

132132
test-mysql:
133-
image: golang:1.10
133+
image: golang:1.11
134134
pull: true
135135
group: test
136136
environment:
@@ -145,7 +145,7 @@ pipeline:
145145
branch: [ master ]
146146

147147
test-mysql:
148-
image: golang:1.10
148+
image: golang:1.11
149149
pull: true
150150
group: test
151151
environment:
@@ -159,7 +159,7 @@ pipeline:
159159
event: [ tag ]
160160

161161
test-pgsql:
162-
image: golang:1.10
162+
image: golang:1.11
163163
pull: true
164164
group: test
165165
environment:
@@ -173,7 +173,7 @@ pipeline:
173173
event: [ push, tag, pull_request ]
174174

175175
generate-coverage:
176-
image: golang:1.10
176+
image: golang:1.11
177177
pull: true
178178
environment:
179179
TAGS: bindata

modules/markup/html.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,10 @@ func PostProcess(
191191
) ([]byte, error) {
192192
// create the context from the parameters
193193
ctx := &postProcessCtx{
194-
metas: metas,
195-
urlPrefix: urlPrefix,
196-
isUncycloMarkdown: isUncycloMarkdown,
197-
procs: defaultProcessors,
194+
metas: metas,
195+
urlPrefix: urlPrefix,
196+
isUncycloMarkdown: isUncycloMarkdown,
197+
procs: defaultProcessors,
198198
visitLinksForShortLinks: true,
199199
}
200200
return ctx.postProcess(rawHTML)

modules/templates/helper.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ func NewFuncMap() []template.FuncMap {
103103
}
104104
return str[start:end]
105105
},
106-
"EllipsisString": base.EllipsisString,
107-
"DiffTypeToStr": DiffTypeToStr,
108-
"DiffLineTypeToStr": DiffLineTypeToStr,
109-
"Sha1": Sha1,
110-
"ShortSha": base.ShortSha,
111-
"MD5": base.EncodeMD5,
106+
"EllipsisString": base.EllipsisString,
107+
"DiffTypeToStr": DiffTypeToStr,
108+
"DiffLineTypeToStr": DiffLineTypeToStr,
109+
"Sha1": Sha1,
110+
"ShortSha": base.ShortSha,
111+
"MD5": base.EncodeMD5,
112112
"ActionContent2Commits": ActionContent2Commits,
113113
"PathEscape": url.PathEscape,
114114
"EscapePound": func(str string) string {

0 commit comments

Comments
 (0)