Tags: devopstoday11/ko
Tags
Revert "Remove docs for Strict Mode and --strict flag (ko-build#210)" (… …ko-build#241) This reverts commit d7b989a.
Merge pull request ko-build#198 from google/ImJasonH-patch-1 Fix API Versions in README.md
Make Tarball publisher types private and return Interface. (ko-build#182 )
Fix -P with passing ko:// through. (ko-build#163) Turns out I broke this. Thanks to @bobcatfish for reporting the issue. With this change: ``` ko resolve -Pf cmd/ko/test/test.yaml > /dev/null 2020/05/04 08:44:35 Using base gcr.io/distroless/static:nonroot for github.com/google/ko/cmd/ko/test 2020/05/04 08:44:36 Building github.com/google/ko/cmd/ko/test 2020/05/04 08:44:37 Publishing gcr.io/mattmoor-knative/github.com/google/ko/cmd/ko/test:latest 2020/05/04 08:44:39 Published gcr.io/mattmoor-knative/github.com/google/ko/cmd/ko/test@sha256:ee655510172b429dbce619fc69677621d71cb824cbbf2a21746d700127257ec4 ``` I can cut v0.5.1 once this lands.
Fix -P with passing ko:// through. (ko-build#163) Turns out I broke this. Thanks to @bobcatfish for reporting the issue. With this change: ``` ko resolve -Pf cmd/ko/test/test.yaml > /dev/null 2020/05/04 08:44:35 Using base gcr.io/distroless/static:nonroot for github.com/google/ko/cmd/ko/test 2020/05/04 08:44:36 Building github.com/google/ko/cmd/ko/test 2020/05/04 08:44:37 Publishing gcr.io/mattmoor-knative/github.com/google/ko/cmd/ko/test:latest 2020/05/04 08:44:39 Published gcr.io/mattmoor-knative/github.com/google/ko/cmd/ko/test@sha256:ee655510172b429dbce619fc69677621d71cb824cbbf2a21746d700127257ec4 ``` I can cut v0.5.1 once this lands.
Deterministically fail ko {apply, create} (ko-build#133) When resolving files, we would just log.Fatal if we encountered an error. This seems to be racy and causes ko to exit with a 0 error code when it shouldn't. To fix this, we synchronize the builder goroutines with the kubectl go routine and exit with an error if either of them failed. This fix also happened to fix a goroutine leak. If the kubectl goroutine failed, we never properly cancelled the builds, which would happily conitnue compiling packages and consuming resources.
Merge pull request ko-build#14 from ImJasonH/fix Update ko to ggcr head, update ggcr vendor