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

feat: add option to disable blob verification #131

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

fty4
Copy link
Contributor

@fty4 fty4 commented Oct 27, 2023

I have the issue that the address sigstore.dev is not shared on my runner (we do not like to open it).
So i would like to disable the verification by option.

Therefore I created a input to disable the verification in the action.
With the default Action configuration the sensible verification is enabled for sure.

Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>
Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>
@fty4
Copy link
Contributor Author

fty4 commented Oct 27, 2023

If desired i can add a github wf test - just let me know

Copy link
Member

@cpanato cpanato left a comment

Choose a reason for hiding this comment

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

thanks for that

add a test case for that, please

action.yml Show resolved Hide resolved
As from cpanato suggested the installation of cosign should be skipped.

Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>
Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>
@fty4
Copy link
Contributor Author

fty4 commented Oct 31, 2023

@cpanato Added the requested changes

action.yml Show resolved Hide resolved
Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>
Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>
The name of the test_ct_action_noverify test did not receive any customizing for the name. No there is a unique name to describe what is tested.

Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>
Adding messages to determinate if blob was verified.

Also moving Install message out of verify if statement

Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>
Updating version required after merging main to PR.

Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>
@fty4
Copy link
Contributor Author

fty4 commented Nov 2, 2023

@cpanato All requests are now implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants