Skip to content

Commit 04c4ad6

Browse files
Added pipeline .harness/pipelines/ff-golang-server-sdk-1713968150993.yaml
1 parent 4a1c2ff commit 04c4ad6

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
pipeline:
2+
identifier: Build_ff_golang_server_sdk_1713968153901
3+
name: Build ff-golang-server-sdk
4+
orgIdentifier: default
5+
projectIdentifier: DavesProject1
6+
properties:
7+
ci:
8+
codebase:
9+
build: <+input>
10+
connectorRef: account.ffgitsync
11+
repoName: ff-golang-server-sdk
12+
stages:
13+
- stage:
14+
identifier: build
15+
name: build
16+
spec:
17+
caching:
18+
enabled: true
19+
cloneCodebase: true
20+
execution:
21+
steps:
22+
- step:
23+
identifier: gobuild
24+
name: go_build
25+
spec:
26+
command: go build
27+
timeout: ""
28+
type: Run
29+
- step:
30+
identifier: gotestcoverage
31+
name: go_test_coverage
32+
spec:
33+
command: go test -coverprofile=coverage.out ./...
34+
timeout: ""
35+
type: Run
36+
- step:
37+
identifier: gotestreport
38+
name: go_test_report
39+
spec:
40+
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"
41+
reports:
42+
spec:
43+
paths:
44+
- /harness/report.xml
45+
type: JUnit
46+
timeout: ""
47+
type: Run
48+
platform:
49+
arch: Amd64
50+
os: Linux
51+
runtime:
52+
spec: {}
53+
type: Cloud
54+
type: CI

0 commit comments

Comments
 (0)