-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6a04384
commit b87efc9
Showing
17 changed files
with
197 additions
and
419 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
SHELL := /bin/bash | ||
|
||
.DEFAULT_GOAL = build | ||
|
||
GOCMD = go | ||
GOOS = $(shell go env GOOS) | ||
GOARCH = $(shell go env GOARCH) | ||
|
||
utest: | ||
$(GOCMD) list ./... | grep "evidence" | grep -v "/${MODULE_NAME}/service/test" | xargs $(GOCMD) test $(TEST_TAGS) -timeout=1m -count=1 $(TEST_ARGS) | ||
|
||
test: utest |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package create | ||
|
||
import "github.com/jfrog/jfrog-cli-core/v2/plugins/components" | ||
|
||
func GetDescription() string { | ||
return "Create a custom evidence and save it to a repository. Add a predicate, predicate-type, subject, key, and key-name." | ||
} | ||
|
||
func GetArguments() []components.Argument { | ||
return []components.Argument{ | ||
{Name: "predicate", Optional: false, Description: "Path to the predicate, arbitrary JSON."}, | ||
{Name: "predicate-type", Optional: false, Description: "Type of the predicate."}, | ||
{Name: "subject", Optional: false, Description: "Full path to some subjects' location, an artifact."}, | ||
{Name: "key", Optional: false, Description: "Path to a private key that will sign the DSSE. Supported keys: 'ecdsa','rsa' and 'ed25519'."}, | ||
{Name: "key-name", Optional: true, Description: "Keyid."}, | ||
} | ||
} |
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
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
Oops, something went wrong.