1
0
mirror of https://github.com/ko-build/ko.git synced 2024-12-12 08:54:09 +02:00
Commit Graph

23 Commits

Author SHA1 Message Date
jonjohnsonjr
3566d3f01a
Add go module support (#60)
* Add go module support

* Make localimports work for go modules
2019-07-12 22:54:25 -07:00
Sumanth Chinthagunta
d35600780e Update gobuild.go (#56)
Changing the order of environment variables so that user supplied value for `CGO_ENABLED` take priority 
https://github.com/google/ko/issues/52
2019-07-08 20:21:10 -07:00
Marek Schwarz
0af2e5e8a9 Added command completion (#49)
* Enable command completion (#27)

* Added documentation (#27)
2019-07-08 17:04:58 -07:00
Scott Weiss
0c205ab8e4 add selector flag and logic (#46)
* add selector flag and logic

* comments, cleanup

* add readme note for selector flag

* preserve comments, fix nits

* readme nit
2019-06-27 13:55:47 -07:00
jonjohnsonjr
b7d1820e13 Compress layers when we Build them (#47)
This avoids double-compressing later.
2019-06-25 16:30:25 -07:00
jonjohnsonjr
f46a2b6372 Add author and created_by data (#45)
Fixes #42
2019-06-24 12:58:37 -07:00
jonjohnsonjr
116114f1f9
Bump ggcr depenency (#41)
* Update ggcr dependency

* Update kode

Fixed remote.Write interface change.

Drop name.WeakValidation (now default).
2019-06-21 13:15:10 -07:00
Naomi Seyfer
9bae8ab408 Print images to stdout as we publish them. (#36) 2019-05-31 10:20:09 -07:00
cezkuj
672e478602 Resolving #21 issue. Adding git-dir flag to always execute inside ko's directory in GOPATH 2019-05-17 05:54:03 +00:00
cezkuj
0aca6f6de8 Resolving #21 issue. Fixing conflicts after commands refactoring. Improving version command 2019-05-12 15:16:12 +00:00
jonjohnsonjr
cef9764e3d
Return better error messages (#33)
This hoists the publisher creation out of the loop for `ko publish` to
avoid needlessly resolving credentials multiple times.

This pulls the publisher creation outside of resolveFilesToWriter so we
can fail earlier if e.g. KO_DOCKER_REPO is unset, otherwise we start up
the kubectl goroutine and it would asynchronously fail with:

  error: no objects passed to apply
2019-04-30 13:08:54 -05:00
Scott Nichols
7c4a93a717 Adding create. (#30) 2019-04-26 16:28:22 -07:00
Scott Nichols
6f9fb7f753 Move ko commands to pkg/commands (#29)
* Move commands to pkg/commands and split into files.
2019-04-26 15:56:15 -07:00
Scott Nichols
fba1d3d90a Moving options to pkg/commands/options. (#28) 2019-04-26 15:25:40 -07:00
Adam Harwayne
b0a1702132 Add --disable-optimizations flag to make debugging easier. (#24)
* Ignore GoLand files.

* Add --disable-optimizations flag to make debugging easier.

* Fix unit test (by ignoring the new functionality).
2019-04-18 10:18:29 -07:00
jonjohnsonjr
3584e2d4d3
Merge pull request #16 from dvrkps/patch-1
check NewGo error
2019-03-22 12:37:24 -07:00
Jason Hall
86a2d43f43 Drop name.WeakValidation 2019-03-22 15:02:13 -04:00
Davor Kapsa
2547a9c6b3
check NewGo error 2019-03-22 18:46:51 +01:00
Jason Hall
4f686b1e6c moar fix 2019-03-21 19:07:56 -04:00
Jason Hall
ab8152ad0a Update ko to ggcr head, update ggcr vendor 2019-03-21 18:51:39 -04:00
Jason Hall
d90911552c fix gobuild_test.go 2019-03-21 16:03:47 -04:00
Jason Hall
d580f39279 fix unit tests 2019-03-21 15:59:33 -04:00
Jason Hall
6354665a42 Initial commit 2019-03-14 14:23:47 -04:00