1
0
mirror of https://github.com/ko-build/ko.git synced 2025-02-07 19:30:23 +02:00

371 Commits

Author SHA1 Message Date
Matt Moore
222b0fc788
Allow ko to produce estargz layers. (#271)
* Allow ko to produce estargz layers.

This pulls in the latest google/go-containerregistry, which enables folks to set `GGCR_EXPERIMENT_ESTARGZ=1` to enable `ko` to start producing layers compatible with the estargz format, which enables the containerd estargz-snapshotter to lazy-load parts of images.

* Add README
2020-12-17 15:00:30 -08:00
Jason Hall
68ebcc8454
Merge pull request #270 from knative-automation/auto-updates/common-actions
[Automated] Update actions
2020-12-16 21:13:35 -05:00
Knative Automation
3414d41305 Update common github actions
Signed-off-by: Knative Automation <automation@knative.team>
2020-12-17 01:56:11 +00:00
Matt Moore
960e6a3f1c
Update ggcr and use the new tarball.WithCompressCaching (#263)
This simplifies the logic for creating layers and relies on the new option instead of pre-gzipping (and gunzip being faster).  The net effect of this should be the elimination of an extra gunzip, but it should not materially impact the memory pressure because we were ALREADY caching the gzipped layers in-memory, we were just doing it on the caller side, which provided less benefit!
2020-12-13 18:14:27 -08:00
Jason Hall
06ebf033f0
Merge pull request #260 from knative-automation/auto-updates/common-actions
[Automated] Update actions
2020-12-09 13:33:23 -05:00
Knative Automation
eacbed4969 Update common github actions
Signed-off-by: Knative Automation <automation@knative.team>
2020-12-09 18:28:40 +00:00
Jason Hall
5b08b05174
Merge pull request #255 from knative-automation/auto-updates/common-actions
[Automated] Update actions
2020-12-03 09:31:41 -05:00
Knative Automation
87d718d7d6 Update common github actions
Signed-off-by: Knative Automation <automation@knative.team>
2020-12-03 13:43:10 +00:00
jonjohnsonjr
b84301964a
Make --watch work with ko:// (#250)
The dep-notify package doesn't know anything about ko, so we need to
trim the strict prefix before sending import paths over to it.
2020-11-20 13:12:19 -08:00
jonjohnsonjr
1c704388dc
Print platform variant when building go binary (#248) 2020-11-20 09:15:04 -08:00
Jason Hall
bd1ec540fa
Merge pull request #247 from jonjohnsonjr/filepath
Stop using filepath.Join in publisher
2020-11-17 14:25:32 -05:00
Jon Johnson
c183e84439 Stop using filepath.Join in publisher 2020-11-17 09:33:56 -08:00
Jason Hall
ea5dc203ee
Merge pull request #244 from knative-automation/auto-updates/common-actions
[Automated] Update actions
2020-11-11 20:24:09 -05:00
Knative Automation
c917737d65 Update common github actions
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-12 01:07:50 +00:00
Nghia Tran
715c03ebc2
Add crane's auth command to facilitate logging into a registry (#243)
* Add crane's auth command to facilitate logging into a registry

* Add documentation about `ko auth login`
2020-11-09 07:27:54 -08:00
knative-automation
36a921f44b
Update common github actions (#242)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-04 18:50:25 -08:00
jonjohnsonjr
1f17ce95d4
Set GOARM based on platform.variant (#239)
This relies on some hard-coded knowledge of the go compiler, which is
unfortunate, so we will have to update this if things change.
2020-11-04 12:44:08 -08:00
Matt Moore
79beb3b015
Refactor the publish.Namer, add --bare option for image naming (#234)
* Refactor the publish.Namer to produce the full repo name.

* Add --naked to have image publishing use ${KO_DOCKER_REPO}:tag

* Change flag name, add disclaimer
v0.6.1
2020-11-03 13:47:36 -08:00
Jason Hall
d767708246
IsSupportedReference returns descriptive error (#233)
This can be useful to determine what they need to do to make a ko
publish work.
2020-10-31 09:55:28 -07:00
Jason Hall
ff18e80bc8
Merge pull request #232 from knative-automation/auto-updates/common-actions
[Automated] Update actions
2020-10-30 09:10:42 -04:00
Knative Automation
f68496adae Update common github actions
Signed-off-by: Knative Automation <automation@knative.team>
2020-10-29 01:38:35 +00:00
Jason Hall
33d1b3d5bf
Merge pull request #226 from ImJasonH/badge
Add GitHub Actions badge for build status
2020-10-28 14:17:29 -04:00
Matt Moore
cde258294f
Run the hello test on multiple architectures (#227) 2020-10-23 16:47:34 -07:00
Matt Moore
d9cc0ca9ea
Move the kind and integration tests to actions (#225) 2020-10-23 10:19:48 -07:00
Jason Hall
24ed40437d Add GitHub Actions badge for build status 2020-10-23 13:09:25 -04:00
Jason Hall
9b91035562
Merge pull request #223 from mattmoor/auto-updates/format-markdown
[Automated] Format markdown
2020-10-15 09:28:53 -04:00
Jason Hall
28a36d6a65
Merge pull request #213 from mattmoor/auto-updates/common-actions
[Automated] Update actions
2020-10-15 09:28:39 -04:00
Matt Moore (via Sockpuppet)
b99d96f099 Format markdown
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-10-15 01:42:20 +00:00
Matt Moore (via Sockpuppet)
2d9942c3b0 Update common github actions
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-10-15 01:41:38 +00:00
Jason Hall
3691164421
Document --platform flag in README.md (#211) 2020-10-14 12:57:15 -07:00
Jason Hall
2c4d75521e
Merge pull request #222 from markusthoemmes/fix-lints
Fix things pointed out by golangci-lint
2020-10-13 10:07:59 -04:00
Markus Thömmes
b5daa6cdd9 Reduce config a bit 2020-10-13 15:29:05 +02:00
Markus Thömmes
695b39f9f4 Fix things pointed out by golangci-lint 2020-10-13 15:27:59 +02:00
Markus Thömmes
f527c9b024
Document usage of KIND_CLUSTER_NAME (#220) 2020-10-08 10:12:48 -07:00
Jason Hall
e780390edb
Avoid panic caused by MultiPublisher (#216)
MultiPublisher now returns an error when it's configured with no
publishers, and resolver.go now appends a nop publisher when it's
configured not to publish, that simulates a publish without actually
pushing any images.

.
2020-10-06 06:45:25 -07:00
Matt Moore
dc30efcfd8
Format markdown (#217)
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-10-05 18:38:43 -07:00
steeling
01820ce657
Update README with link to kind (#212)
There were no links to kind in the README prior to this PR
2020-10-05 07:45:53 -07:00
Nghia Tran
598e7a7644
Fix left-over from copy/paste (#214) 2020-10-03 18:03:30 -07:00
Jason Hall
d7b989a9df
Remove docs for Strict Mode and --strict flag (#210) 2020-09-30 11:00:36 -07:00
Jason Hall
27676b12d8
Merge pull request #198 from google/ImJasonH-patch-1
Fix API Versions in README.md
v0.6.0
2020-09-30 01:00:07 -04:00
Jason Hall
efbe5b7281
Merge pull request #205 from mattmoor/auto-updates/format-markdown
[Automated] Format markdown
2020-09-29 21:35:26 -04:00
Matt Moore (via Sockpuppet)
0bdf5ee792 Format markdown
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-09-30 01:29:56 +00:00
Matt Moore
61fbde832a
Have kind.local test use --platform=all (#208)
Fix --platform=all with kind.local
2020-09-29 10:11:15 -07:00
Napoleon Santana
0f5a478d75
(Fix #191) Add required go version to docs (#204)
KO gives an error for the wrong go versions. The error is not very verbose.It is diffcult to decipher the logs of the error given. As a developer, adding a note to the installation process would prevent me from stumbling onto this issue.
2020-09-25 17:24:22 -07:00
jonjohnsonjr
4a4d1b02bd
Revive progress and warning logs (#203)
These got dropped when we pulled in:
https://github.com/google/go-containerregistry/pull/481

Which doesn't log by default, and requires opting in.
2020-09-25 11:50:20 -07:00
Matt Moore
d48767339f
Fix base image resolution (#201) 2020-09-25 10:20:33 -07:00
Matt Moore
5af0bc138f
Print more complete platform information. (#200)
Fixes: https://github.com/google/ko/issues/199
2020-09-25 08:51:18 -07:00
Jason Hall
5b4d3e400c
apps-v1
Fix API Versions in README.md
2020-09-25 06:04:44 -04:00
Matt Moore
b3645fa096
Add a handful of files to trigger more analyses. (#197)
`.codecov.yaml` - Enable codecov.io coverage reports
`.golangci.yaml` - Enable the enumerated checks in golangci-lint
`boilerplate.*.txt` - Enable file header boilerplate checks for these extensions
2020-09-24 20:15:21 -07:00
Matt Moore
bd3f1cb17b
[Automated] Update actions (#194)
* Update common github actions

Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>

* Run gofmt
2020-09-24 19:00:36 -07:00