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(artifact): Introduces the expansion of artifact store references in parameters #1063

Merged
merged 4 commits into from
Feb 5, 2024

Conversation

xibz
Copy link
Contributor

@xibz xibz commented Feb 3, 2024

This commit updates the Helm util helpers that we have to include the
artifact store. This will allow us to inspect the raw strings and check
to see if we need to expand them.

Further, I opted to not utilize the deserializer this time, since this
problem seemed very specific to Helm. If that changes, we can always
just use the deserializer

Signed-off-by: benjamin-j-powell [email protected]

benjamin-j-powell added 2 commits February 3, 2024 15:21
This commit updates the Helm util helpers that we have to include the
artifact store. This will allow us to inspect the raw strings and check
to see if we need to expand them.

Further, I opted to not utilize the deserializer this time, since this
problem seemed very specific to Helm. If that changes, we can always
just use the deserializer

Signed-off-by: benjamin-j-powell <[email protected]>
@dbyron-sf
Copy link
Contributor

depends on spinnaker/kork#1145

String ref = (String) value;
if (ArtifactReferenceURI.is(ref)) {
Artifact artifact = artifactStore.get(ArtifactReferenceURI.parse(ref));
return artifact.getReference();
Copy link
Contributor

Choose a reason for hiding this comment

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

Tempting to add a log message here, even at debug, so there's some evidence that this is happening. I suppose this one is sufficient though.

@dbyron-sf
Copy link
Contributor

@Mergifyio update

Copy link
Contributor

mergify bot commented Feb 5, 2024

update

✅ Branch has been successfully updated

@dbyron-sf dbyron-sf added the ready to merge Approved and ready for merge label Feb 5, 2024
@mergify mergify bot added the auto merged label Feb 5, 2024
@mergify mergify bot merged commit e9c58fb into spinnaker:master Feb 5, 2024
4 checks passed
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.

3 participants