Skip to content

Commit 4e63499

Browse files
Update pipeline Build ff-golang-server-sdk
1 parent 4b6d94c commit 4e63499

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

.harness/pipelines/ff-golang-server-sdk-1718706413193.yaml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -24,32 +24,7 @@ pipeline:
2424
name: go_build
2525
spec:
2626
shell: Sh
27-
command: |-
28-
apt-get update
29-
apt purge golang
30-
apt install -y golang
31-
go version
32-
go get -u ./...
33-
go build examples/getting_started.go
34-
timeout: ""
35-
type: Run
36-
- step:
37-
identifier: gotestcoverage
38-
name: go_test_coverage
39-
spec:
40-
command: go test -coverprofile=coverage.out ./...
41-
timeout: ""
42-
type: Run
43-
- step:
44-
identifier: gotestreport
45-
name: go_test_report
46-
spec:
47-
command: "export GOBIN=/home/harness/go/bin\n\t\texport PATH=/home/harness/go/bin:$PATH\n\t\techo $PATH\n\t\tgo install github.com/jstemmer/go-junit-report/v2@latest\n\t\tgo test -v 2>&1 ./... | go-junit-report -set-exit-code > report.xml"
48-
reports:
49-
spec:
50-
paths:
51-
- /harness/report.xml
52-
type: JUnit
27+
command: echo "Building Go"
5328
timeout: ""
5429
type: Run
5530
platform:

0 commit comments

Comments
 (0)