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

don't fail plan when ko build fails #167

Merged
merged 2 commits into from
Jun 8, 2024
Merged

Conversation

imjasonh
Copy link
Member

@imjasonh imjasonh commented Jun 8, 2024

Expanding on #108

This prevents ko build failures of all kinds from blocking planning. It seems there may be cases where the ko_build in TF state is now invalid, and can't be updated because we never get to a successful create phase. Previously the most common example of this was that the importpath changed and the underlying directory was renamed -- this generalizes to handle all cases where the TF state's build is no longer valid but needs to get updated if we can build the new state.

Signed-off-by: Jason Hall <jason@chainguard.dev>
@imjasonh imjasonh marked this pull request as ready for review June 8, 2024 17:13
Signed-off-by: Jason Hall <jason@chainguard.dev>
@imjasonh imjasonh merged commit b03de15 into ko-build:main Jun 8, 2024
6 checks passed
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.

3 participants