Skip to content

Commit

Permalink
Update pipeline drone-s3-harness (#187)
Browse files Browse the repository at this point in the history
* Update pipeline drone-s3-harness

* Update pipeline drone-s3-harness

* Update go version

---------

Co-authored-by: Archit Mallik <[email protected]>
  • Loading branch information
ci-reporunner and architmallik7 authored Feb 4, 2025
1 parent 278a072 commit 69a7fc3
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions .harness/harness.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pipeline:
identifier: lint
spec:
connectorRef: Plugins_Docker_Hub_Connector
image: golang:1.22.4
image: golang:1.22.7
shell: Sh
command: |-
go install github.com/golangci/golangci-lint/cmd/[email protected]
Expand All @@ -48,7 +48,7 @@ pipeline:
identifier: Run_1
spec:
connectorRef: Plugins_Docker_Hub_Connector
image: golang:1.22.4
image: golang:1.22.7
shell: Sh
command: go test -cover ./...
- parallel:
Expand Down Expand Up @@ -76,7 +76,7 @@ pipeline:
identifier: Run_1
spec:
connectorRef: Plugins_Docker_Hub_Connector
image: golang:1.22.4
image: golang:1.22.7
shell: Sh
command: |-
# force go modules
Expand Down Expand Up @@ -150,7 +150,7 @@ pipeline:
name: Build Binary
spec:
connectorRef: account.harnessImage
image: golang:1.22.4
image: golang:1.22.7
shell: Sh
command: |-
# force go modules
Expand Down Expand Up @@ -220,8 +220,8 @@ pipeline:
type: Run
name: Build Binary
spec:
connectorRef: account.harnessImage
image: golang:1.22.4
connectorRef: Plugins_Docker_Hub_Connector
image: golang:1.22.7
shell: Sh
command: |-
# force go modules
Expand Down Expand Up @@ -278,21 +278,15 @@ pipeline:
caching:
enabled: false
paths: []
platform:
os: Windows
arch: Amd64
runtime:
type: Cloud
spec: {}
execution:
steps:
- step:
identifier: build_amd64ltsc2022
type: Run
name: Build Binary
spec:
connectorRef: account.harnessImage
image: golang:1.22.4
connectorRef: Plugins_Docker_Hub_Connector
image: golang:1.22.7
shell: Sh
command: |-
# force go modules
Expand Down Expand Up @@ -339,6 +333,15 @@ pipeline:
when:
stageStatus: Success
condition: <+codebase.build.type> == "branch"
infrastructure:
type: VM
spec:
type: Pool
spec:
poolName: windows-2019
os: Windows
delegateSelectors:
- windows-vm
- stage:
name: Manifest and Release
identifier: Manifest_and_Release
Expand Down Expand Up @@ -380,7 +383,7 @@ pipeline:
identifier: Run_1
spec:
connectorRef: Plugins_Docker_Hub_Connector
image: golang:1.22.4
image: golang:1.22.7
shell: Sh
command: |-
GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-s3-linux-amd64
Expand Down

0 comments on commit 69a7fc3

Please sign in to comment.