-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Report versioning errors in StorageCluster's Status
Update StorageCluster status on versioning error. Append an error status condition to StorageCluster status field when an error arises during `versionCheck`. And, modified the hack scripts to update the VERSION env during the binary build. Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
- Loading branch information
1 parent
9d9fad9
commit 4db72cb
Showing
5 changed files
with
22 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
source hack/common.sh | ||
|
||
LDFLAGS="-X github.com/red-hat-storage/ocs-operator/version.Version=${VERSION}" | ||
|
||
go test -ldflags="${LDFLAGS}" -v -cover `go list ./... | grep -v "functest"` |