Skip to content

Commit 69a7fc3

Browse files
Update pipeline drone-s3-harness (#187)
* Update pipeline drone-s3-harness * Update pipeline drone-s3-harness * Update go version --------- Co-authored-by: Archit Mallik <[email protected]>
1 parent 278a072 commit 69a7fc3

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

.harness/harness.yaml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pipeline:
3636
identifier: lint
3737
spec:
3838
connectorRef: Plugins_Docker_Hub_Connector
39-
image: golang:1.22.4
39+
image: golang:1.22.7
4040
shell: Sh
4141
command: |-
4242
go install github.com/golangci/golangci-lint/cmd/[email protected]
@@ -48,7 +48,7 @@ pipeline:
4848
identifier: Run_1
4949
spec:
5050
connectorRef: Plugins_Docker_Hub_Connector
51-
image: golang:1.22.4
51+
image: golang:1.22.7
5252
shell: Sh
5353
command: go test -cover ./...
5454
- parallel:
@@ -76,7 +76,7 @@ pipeline:
7676
identifier: Run_1
7777
spec:
7878
connectorRef: Plugins_Docker_Hub_Connector
79-
image: golang:1.22.4
79+
image: golang:1.22.7
8080
shell: Sh
8181
command: |-
8282
# force go modules
@@ -150,7 +150,7 @@ pipeline:
150150
name: Build Binary
151151
spec:
152152
connectorRef: account.harnessImage
153-
image: golang:1.22.4
153+
image: golang:1.22.7
154154
shell: Sh
155155
command: |-
156156
# force go modules
@@ -220,8 +220,8 @@ pipeline:
220220
type: Run
221221
name: Build Binary
222222
spec:
223-
connectorRef: account.harnessImage
224-
image: golang:1.22.4
223+
connectorRef: Plugins_Docker_Hub_Connector
224+
image: golang:1.22.7
225225
shell: Sh
226226
command: |-
227227
# force go modules
@@ -278,21 +278,15 @@ pipeline:
278278
caching:
279279
enabled: false
280280
paths: []
281-
platform:
282-
os: Windows
283-
arch: Amd64
284-
runtime:
285-
type: Cloud
286-
spec: {}
287281
execution:
288282
steps:
289283
- step:
290284
identifier: build_amd64ltsc2022
291285
type: Run
292286
name: Build Binary
293287
spec:
294-
connectorRef: account.harnessImage
295-
image: golang:1.22.4
288+
connectorRef: Plugins_Docker_Hub_Connector
289+
image: golang:1.22.7
296290
shell: Sh
297291
command: |-
298292
# force go modules
@@ -339,6 +333,15 @@ pipeline:
339333
when:
340334
stageStatus: Success
341335
condition: <+codebase.build.type> == "branch"
336+
infrastructure:
337+
type: VM
338+
spec:
339+
type: Pool
340+
spec:
341+
poolName: windows-2019
342+
os: Windows
343+
delegateSelectors:
344+
- windows-vm
342345
- stage:
343346
name: Manifest and Release
344347
identifier: Manifest_and_Release
@@ -380,7 +383,7 @@ pipeline:
380383
identifier: Run_1
381384
spec:
382385
connectorRef: Plugins_Docker_Hub_Connector
383-
image: golang:1.22.4
386+
image: golang:1.22.7
384387
shell: Sh
385388
command: |-
386389
GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-s3-linux-amd64

0 commit comments

Comments
 (0)