-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #609 from openebs/build-fixes
Various local testing improvements
- Loading branch information
Showing
13 changed files
with
171 additions
and
50 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,6 @@ tags | |
*.swo | ||
*.swn | ||
*.idea | ||
*.test | ||
*.test | ||
/coverage.txt | ||
/tests/bdd_coverage.txt |
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 |
---|---|---|
|
@@ -10,8 +10,8 @@ VETARGS?=-asmdecl -atomic -bool -buildtags -copylocks -methods \ | |
EXTERNAL_TOOLS=\ | ||
golang.org/x/tools/cmd/cover@latest \ | ||
golang.org/x/lint/golint@latest \ | ||
github.com/axw/gocov/gocov@latest \ | ||
gopkg.in/matm/v1/gocov-html@latest \ | ||
github.com/axw/gocov/gocov@v1.1 \ | ||
github.com/matm/gocov-html/cmd/gocov-html@latest \ | ||
github.com/onsi/ginkgo/v2/[email protected] | ||
|
||
# The images can be pushed to any docker/image registeries | ||
|
@@ -86,6 +86,8 @@ clean: | |
@echo "--> Cleaning Directory" ; | ||
go clean -testcache | ||
rm -rf bin | ||
chmod -R u+w ${GOPATH}/bin/${CSI_DRIVER} 2>/dev/null || true | ||
chmod -R u+w ${GOPATH}/pkg/* 2>/dev/null || true | ||
rm -rf ${GOPATH}/bin/${CSI_DRIVER} | ||
rm -rf ${GOPATH}/pkg/* | ||
|
||
|
@@ -210,7 +212,7 @@ zfs-driver-image: zfs-driver | |
@echo "+ Generating ${CSI_DRIVER} image" | ||
@echo "--------------------------------" | ||
@cp bin/${CSI_DRIVER}/${CSI_DRIVER} buildscripts/${CSI_DRIVER}/ | ||
cd buildscripts/${CSI_DRIVER} && sudo docker build -t ${IMAGE_ORG}/${CSI_DRIVER}:${IMAGE_TAG} ${DBUILD_ARGS} . && sudo docker tag ${IMAGE_ORG}/${CSI_DRIVER}:${IMAGE_TAG} quay.io/${IMAGE_ORG}/${CSI_DRIVER}:${IMAGE_TAG} | ||
cd buildscripts/${CSI_DRIVER} && docker build -t ${IMAGE_ORG}/${CSI_DRIVER}:${IMAGE_TAG} ${DBUILD_ARGS} . && docker tag ${IMAGE_ORG}/${CSI_DRIVER}:${IMAGE_TAG} quay.io/${IMAGE_ORG}/${CSI_DRIVER}:${IMAGE_TAG} | ||
@rm buildscripts/${CSI_DRIVER}/${CSI_DRIVER} | ||
|
||
.PHONY: ci | ||
|
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.go/ | ||
.tmp/ | ||
/bins/ |
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,14 +1,14 @@ | ||
{ | ||
"nixpkgs": { | ||
"branch": "release-23.05", | ||
"description": "A read-only mirror of NixOS/nixpkgs tracking the released channels. Send issues and PRs to", | ||
"branch": "release-23.11", | ||
"description": "Nix Packages collection & NixOS", | ||
"homepage": "https://github.com/NixOS/nixpkgs", | ||
"owner": "NixOS", | ||
"repo": "nixpkgs", | ||
"rev": "9a333eaa80901efe01df07eade2c16d183761fa3", | ||
"sha256": "0xhqjli4m9wkzv7xhs6fr1iajdjbv7xnj0bwvwldq9s6arlwkhj3", | ||
"rev": "205fd4226592cc83fd4c0885a3e4c9c400efabb5", | ||
"sha256": "1f5d2g1p6nfwycpmrnnmc2xmcszp804adp16knjvdkj8nz36y1fg", | ||
"type": "tarball", | ||
"url": "https://github.com/NixOS/nixpkgs/archive/9a333eaa80901efe01df07eade2c16d183761fa3.tar.gz", | ||
"url": "https://github.com/NixOS/nixpkgs/archive/205fd4226592cc83fd4c0885a3e4c9c400efabb5.tar.gz", | ||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" | ||
} | ||
} |
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
Oops, something went wrong.