Skip to content
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

Merged
merged 6 commits into from
Nov 26, 2024
Merged

Conversation

ssulka
Copy link
Contributor

@ssulka ssulka commented Nov 23, 2024

No description provided.

Copy link
Contributor

@osmman osmman left a 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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add api.RekorUIURL

Copy link
Contributor

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

Suggested change
err = testsupport.CheckMandatoryAPIConfigValues(api.OidcRealm)
err = testsupport.CheckMandatoryAPIConfigValues(api.OidcRealm, api.RekorUIURL)

@@ -19,6 +20,7 @@ const (
CosignImage = "COSIGN_IMAGE"
RegistryImage = "REGISTRY_IMAGE"
TsaURL = "TSA_URL"
HeadlessUI = "HEADLESSUI"
Copy link
Contributor

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

Suggested change
HeadlessUI = "HEADLESSUI"
HeadlessUI = "HEADLESS_UI"

@osmman osmman merged commit c59640a into securesign:main Nov 26, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants