forked from F5Networks/k8s-bigip-ctlr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Report integration (F5Networks#3506)
* Adding support for ignore coverage * Adding support for coverage and unit test case reports
- Loading branch information
Showing
438 changed files
with
41,110 additions
and
16,591 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,30 +2,18 @@ | |
|
||
set -ex | ||
|
||
if [[ $BUILD_VERSION == "" ]]; then | ||
echo "Must set BUILD_VERSION" | ||
false | ||
fi | ||
if [[ $BUILD_INFO == "" ]]; then | ||
echo "Must set BUILD_INFO" | ||
false | ||
fi | ||
|
||
go mod download | ||
|
||
CGO_ENABLED=0 | ||
GOOS=linux | ||
GOARCH=amd64 | ||
go build -v -ldflags "-extldflags \"-static\" -X main.version=${BUILD_VERSION} -X main.buildInfo=${BUILD_INFO}" -o /bin/k8s-bigip-ctlr $REPOPATH/cmd/k8s-bigip-ctlr | ||
|
||
RUN_TESTS=${RUN_TESTS:-1} | ||
|
||
. $REPOPATH/build-tools/_build-lib.sh | ||
|
||
if [ $RUN_TESTS -eq 1 ]; then | ||
go get github.com/onsi/ginkgo/[email protected] | ||
go get github.com/onsi/[email protected] | ||
go install github.com/onsi/ginkgo/[email protected] | ||
go install github.com/quantumcycle/go-ignore-cov@latest | ||
GO111MODULE=off | ||
go get github.com/wadey/gocovmerge | ||
go get github.com/mattn/goveralls | ||
echo "Gathering unit test code coverage for 'release' build..." | ||
ginkgo_test_with_coverage | ||
# push coverage data to coveralls if F5 repo or if configured for fork. | ||
if [ "$COVERALLS_TOKEN" ]; then | ||
echo "Pushing coverage data to coveralls" | ||
goveralls -coverprofile=./coverage.out -service=azure | ||
fi | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
.. include:: RELEASE-NOTES.rst | ||
.. include:: ./cis-3.x/RELEASE-NOTES.rst | ||
|
||
.. include:: ../README.md |
Oops, something went wrong.