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: Set cosign-repository input and env #2962

Merged

Conversation

saisatishkarra
Copy link
Contributor

@saisatishkarra saisatishkarra commented Nov 10, 2023

Solves: #2956

@saisatishkarra saisatishkarra force-pushed the feat/cosign-repository-env branch 2 times, most recently from 56108fb to db8fd1a Compare November 15, 2023 15:29
Copy link
Collaborator

@laurentsimon laurentsimon left a comment

Choose a reason for hiding this comment

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

Thanks. A few questions and nits, but looking good!

.github/workflows/generator_container_slsa3.yml Outdated Show resolved Hide resolved
.github/workflows/generator_container_slsa3.yml Outdated Show resolved Hide resolved
.github/workflows/generator_container_slsa3.yml Outdated Show resolved Hide resolved
@saisatishkarra
Copy link
Contributor Author

saisatishkarra commented Nov 15, 2023

@laurentsimon Is there a way to autogenerate the readme with updated paramters for the workflow? If so, can you guide on How-To?

@laurentsimon
Copy link
Collaborator

@laurentsimon Is there a way to autogenerate the readme with updated paramters for the workflow? If so, can you guide on How-To?

There's no auto-generate :/
You can edit the README directly and it should work. We may have a presubmit https://github.com/slsa-framework/slsa-github-generator/blob/main/.github/workflows/scripts/pre-submit.markdown/markdown-toc.sh which runs the markdown-toc command (it's javascript package). It should not be necessary in your case because you're not updating the table of content.

Does that help?

Signed-off-by: saisatishkarra <saisatish.karra@konghq.com>
Signed-off-by: saisatishkarra <saisatish.karra@konghq.com>
Signed-off-by: saisatishkarra <saisatish.karra@konghq.com>
Copy link
Collaborator

@laurentsimon laurentsimon left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@ianlewis can you take a second look before we merge?

.github/workflows/generator_container_slsa3.yml Outdated Show resolved Hide resolved
.github/workflows/generator_container_slsa3.yml Outdated Show resolved Hide resolved
.github/workflows/generator_container_slsa3.yml Outdated Show resolved Hide resolved
.github/workflows/generator_container_slsa3.yml Outdated Show resolved Hide resolved
.github/workflows/generator_container_slsa3.yml Outdated Show resolved Hide resolved
internal/builders/container/README.md Outdated Show resolved Hide resolved
Signed-off-by: saisatishkarra <saisatish.karra@konghq.com>
@saisatishkarra
Copy link
Contributor Author

cc: @laurentsimon / @ianlewis for some eyes!! Looking to make similar changes on the verifier with some guidance on expected direction!

Copy link
Collaborator

@laurentsimon laurentsimon left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@laurentsimon
Copy link
Collaborator

Take a look at the linter failures. Should be easy to fix

Signed-off-by: saisatishkarra <saisatish.karra@konghq.com>
@saisatishkarra
Copy link
Contributor Author

Take a look at the linter failures. Should be easy to fix

Fixed linting issues and indentation. Waiting for the checks to run!!

@laurentsimon laurentsimon enabled auto-merge (squash) November 20, 2023 17:57
Signed-off-by: saisatishkarra <saisatish.karra@konghq.com>
auto-merge was automatically disabled November 20, 2023 22:46

Head branch was pushed to by a user without write access

Copy link
Member

@ianlewis ianlewis left a comment

Choose a reason for hiding this comment

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

LGTM

internal/builders/container/README.md Outdated Show resolved Hide resolved
Co-authored-by: Ian Lewis <ianlewis@google.com>
Signed-off-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>
@curiositycasualty
Copy link

Thanks for your time spent on this @laurentsimon & @ianlewis

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.

None yet

4 participants