Skip to content

Change OCI Layout publisher to lazy create layout after build.#1385

Merged
imjasonh merged 1 commit intoko-build:mainfrom
jeffmendoza:layout-lazy-create
Oct 16, 2024
Merged

Change OCI Layout publisher to lazy create layout after build.#1385
imjasonh merged 1 commit intoko-build:mainfrom
jeffmendoza:layout-lazy-create

Conversation

@jeffmendoza
Copy link
Contributor

When using ko with OCI Layout, Git status will always be dirty because the layout is created before this build. This changes the layout to be created after the build so that git will be clean. The means that any error creating the layout won't be seen until after the build.

@jeffmendoza
Copy link
Contributor Author

As noted in #1378

When using ko with OCI Layout, Git status will always be dirty because the
layout is created before this build. This changes the layout to be created
after the build so that git will be clean. The means that any error creating
the layout won't be seen until after the build.

Signed-off-by: Jeff Mendoza <jlm@jlm.name>
@imjasonh imjasonh merged commit 93c0eda into ko-build:main Oct 16, 2024
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