Skip to content

Commit

Permalink
Added pipeline .harness/pipelines/ff-golang-server-sdk-1718706413193.…
Browse files Browse the repository at this point in the history
…yaml
  • Loading branch information
davejohnston committed Jun 18, 2024
1 parent cb60b60 commit ba11560
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .harness/pipelines/ff-golang-server-sdk-1718706413193.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
pipeline:
identifier: Build_ff_golang_server_sdk_1718706424778
name: Build ff-golang-server-sdk
orgIdentifier: default
projectIdentifier: DavesProject
properties:
ci:
codebase:
build: <+input>
connectorRef: account.ffgitsync
repoName: ff-golang-server-sdk
stages:
- stage:
identifier: build
name: build
spec:
caching:
enabled: true
cloneCodebase: true
execution:
steps:
- step:
identifier: gobuild
name: go_build
spec:
command: go build
timeout: ""
type: Run
- step:
identifier: gotestcoverage
name: go_test_coverage
spec:
command: go test -coverprofile=coverage.out ./...
timeout: ""
type: Run
- step:
identifier: gotestreport
name: go_test_report
spec:
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"
reports:
spec:
paths:
- /harness/report.xml
type: JUnit
timeout: ""
type: Run
platform:
arch: Amd64
os: Linux
runtime:
spec: {}
type: Cloud
type: CI

0 comments on commit ba11560

Please sign in to comment.