INNER CODE UNIT · Go
main
backube/volsync · custom-scorecard-tests/main.go:52
func main() {
entrypoint := os.Args[1:]
if len(entrypoint) == 0 {
log.Fatal("Test name argument is required")
}
// Read the pod's untar'd bundle from a well-known path.
cfg, err := apimanifests.GetBundleFromDir(PodBundleRoot)
if err != nil {
log.Fatal(err.Error())
}
// Get the list of available ansible e2e tests
ansiblePlaybookTests, err := getAvailableAnsiblePlaybookTests()
if err != nil {
log.Fatal(err.Error())
}