Skip to content

feat(materials): Helm Chart material support - #689

Merged
javirln merged 2 commits into
chainloop-dev:mainfrom
javirln:684-add-type
Apr 24, 2024
Merged

feat(materials): Helm Chart material support#689
javirln merged 2 commits into
chainloop-dev:mainfrom
javirln:684-add-type

Conversation

@javirln

@javirln javirln commented Apr 23, 2024

Copy link
Copy Markdown
Member

Add support for Helm Charts files as material types. These get validated before they are uploaded to the CAS and attached to the attestation process.

The validations checks for the following:

  • Incoming file is a compressed tarball.
  • Charts.yaml and values.yaml files are present on the uncompressed directory and it's a valid YAML file.

Closes #684

@javirln
javirln requested review from jiparis and migmartri April 23, 2024 16:35
@javirln javirln changed the title WIP: feat(materials): Helm Chart material support feat(materials): Helm Chart material support Apr 24, 2024
@javirln javirln self-assigned this Apr 24, 2024
@javirln
javirln marked this pull request as ready for review April 24, 2024 08:19
@migmartri

Copy link
Copy Markdown
Member

Awesome @javirln

As you can see, the CI is complaining that the DCO is not completed. This means that you are not committing with the signed-off line git commit -s ...

I'd suggest that you squash all your commits and amend it to have the signed off. Happy to help if you have any questions

Thanks

Signed-off-by: Javier Rodriguez <javier@chainloop.dev>
Comment thread README.md Outdated
Comment thread internal/attestation/crafter/materials/helmchart.go Outdated
Comment thread internal/attestation/crafter/materials/helmchart.go
Comment thread README.md Outdated
Comment thread internal/attestation/crafter/materials/helmchart.go Outdated
Comment thread internal/attestation/crafter/materials/helmchart.go Outdated

@jiparis jiparis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Great PR @javirln , I just added a couple of nit requests

Signed-off-by: Javier Rodriguez <javier@chainloop.dev>
@migmartri

Copy link
Copy Markdown
Member

Something that I do when I need to tackle some feedback, is to put the PR in draft, to signal that's not ready yet. You might want to do the same

@javirln
javirln marked this pull request as draft April 24, 2024 09:56
@javirln
javirln marked this pull request as ready for review April 24, 2024 10:03
@migmartri

Copy link
Copy Markdown
Member

Looks good to me! Feel free to merge it!

@javirln
javirln merged commit d502713 into chainloop-dev:main Apr 24, 2024
@javirln
javirln deleted the 684-add-type branch April 24, 2024 10:16
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.

feat: add Helm chart material type

3 participants