File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ [ ![ wercker status] ( https://app.wercker.com/status/65a1ed067b4b857b631988e0356cde86/s/master " wercker status ")] ( https://app.wercker.com/project/byKey/65a1ed067b4b857b631988e0356cde86 )
12[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/oracle/navarkos? )] ( https://goreportcard.com/report/github.com/oracle/navarkos )
23
34# Navarkos
Original file line number Diff line number Diff line change 1+ box : golang
2+
3+ build :
4+ # The steps that will be executed on build
5+ # Steps make up the actions in your pipeline
6+ # Read more about steps on our dev center:
7+ # http://devcenter.wercker.com/docs/steps/index.html
8+ steps :
9+ # Sets the go workspace and places you package
10+ # at the right place in the workspace tree
11+ - wercker/setup-go-workspace :
12+ package-dir : github.com/kubernetes-incubator/navarkos
13+ gopath : $GOPATH
14+
15+ # Build the project
16+ - script :
17+ name : go build
18+ code : |
19+ make check build-local
20+ # what's in WERCKER_OUTPUT_DIR now?
21+ mv bin $WERCKER_OUTPUT_DIR
22+ cd $WERCKER_OUTPUT_DIR/bin/linux
23+ ls -la
24+
25+ # code coverage
26+ - script :
27+ name : code coverage
28+ code : |
29+ chmod +x tools/coverage.sh
30+ make coverhtml
31+
32+ after-steps :
33+ - internal/docker-push :
34+ tag : $WERCKER_GIT_BRANCH-$WERCKER_GIT_COMMIT
35+ working-dir : /pipeline/source
36+ entrypoint : /navarkos
You can’t perform that action at this time.
0 commit comments