-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rekor UI e2e tests v2 #37
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looking good, only need some small changes
} | ||
|
||
BeforeAll(func() { | ||
err = testsupport.CheckMandatoryAPIConfigValues(api.OidcRealm) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add api.RekorUIURL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ssulka CheckMandatoryAPIConfigValues has variadic arguments so you can simply add as another argument api.RekorUIURL
err = testsupport.CheckMandatoryAPIConfigValues(api.OidcRealm) | |
err = testsupport.CheckMandatoryAPIConfigValues(api.OidcRealm, api.RekorUIURL) |
pkg/api/values.go
Outdated
@@ -19,6 +20,7 @@ const ( | |||
CosignImage = "COSIGN_IMAGE" | |||
RegistryImage = "REGISTRY_IMAGE" | |||
TsaURL = "TSA_URL" | |||
HeadlessUI = "HEADLESSUI" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets use the same naming convention as other ENV variables
HeadlessUI = "HEADLESSUI" | |
HeadlessUI = "HEADLESS_UI" |
No description provided.