forked from ko-build/ko
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve build config issue error scenario ko-build#483 (ko-build#487)
* Add build config usage log statement There is currently no indication whether `ko` picks one of the configured build configurations from the `.ko.yaml` configuration file for a build. Add log statement to print the build config being picked for the build. Introduce default entry for build config `ID` in case it is not specified. * Add path check for build configuration settings Add `os.Stat` to verify that the path that is configured in the build configuration entry is valid. As a side effect, this will print out an error message in case someone sets an import path like `github.com/google/ko` in the `main` field of the build config. * Fix trimpath command line flag in README Fixed wrong command line flag `--trimpath` to `-trimpath`.
- Loading branch information
1 parent
00d0a34
commit b9f9268
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters