Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Check that chart exists when updating its deps #1606

Merged
merged 1 commit into from
Dec 17, 2018

Conversation

squaremo
Copy link
Member

This PR fixes the CI failure that resulted from #1562 and #1561 interacting: the latter makes updateDependencies succeed trivially if the requirements.yaml file is missing, but accidentally also succeeds if the entire chart is missing. The latter tests specifically that updateDependencies will fail if the chart is missing.

We don't want to fail at updating chart dependencies when a chart doesn't have a requirements.yaml file (which is optional, for a chart). However, we do want to fail if the chart doesn't exist in the filesystem at all.

We don't want to fail at updating chart dependencies when a chart
doesn't have a requirements.yaml file (which is optional, for a
chart). However, we _do_ want to fail if the chart doesn't exist in
the filesystem at all.
Copy link
Member

@hiddeco hiddeco left a comment

Choose a reason for hiding this comment

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

Should have thought about rebasing the branch when I ran it locally. Rebased it just now and confirmed the failure the CI was giving and also validated your fix.

@squaremo squaremo merged commit 96afd8d into master Dec 17, 2018
@squaremo squaremo deleted the issue/1560-check-for-chart-exist branch December 17, 2018 17:49
@squaremo
Copy link
Member Author

Diligent! Thanks Hidde

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

Successfully merging this pull request may close these issues.

2 participants