Skip to content

Conversation

migmartri
Copy link
Member

Extract validation logic for the CAS providers to the provider struct.

This means that the controlplane code has no specific logic about a given CAS backend (i.e OCI) and adding (and testing) a new backend is easier, similarly decoupled to our plugins system.

refs #223

@migmartri migmartri requested a review from danlishka July 14, 2023 13:45
Copy link
Member

@danlishka danlishka left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
@migmartri migmartri force-pushed the update-cas-backends branch from 416705b to 6815411 Compare July 14, 2023 15:02
Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
@migmartri migmartri merged commit b5f58e7 into chainloop-dev:main Jul 14, 2023
@migmartri migmartri deleted the update-cas-backends branch July 14, 2023 15:41
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