Commit Graph

1610 Commits

Author SHA1 Message Date
ejose19 0ef3a6b525
Fix permissions on cache when --no-push is set (#1445) 2020-10-02 10:11:12 -07:00
Tejal Desai 6c70f167df
release notes (#1442) 2020-09-30 17:23:56 -07:00
Ian Kerins 1240333657
Stop caching COPY layers (#1408)
Cached COPY layers are expensive in that they both need to be retrieved
over the network and occupy space in the layer cache.

They are unnecessary in that we already have all resources needed to
execute the COPY locally, and doing so is a trivial file-system
operation.  This is in contrast to RUN layers, which can do
arbitrary and unbounded work.

The end result is that cached COPY commands were more expensive when
cached, not less.  Remove them.

Resolves #1357
2020-09-30 17:18:50 -07:00
Tejal Desai 60d2e981d9
prepare release for v1.1.0 (#1441) 2020-09-30 17:11:17 -07:00
Tejal Desai 357286fa4b
add tests (#1426) 2020-09-30 16:46:22 -07:00
好风 63153a3b33
Update README.md (#1437)
fix writing
2020-09-30 16:46:03 -07:00
Akram Ben Aissi ab768b5d26
Allow DOCKER_CONFIG to be a filename (#1409)
* Allow DOCKER_CONFIG to be a filename

* UnitTest: DockerConfLocation must return a file if it is existent and passed using env, or default if the file is incorrect
2020-09-30 16:45:34 -07:00
Josh Soref b4824582fb
spelling: storage (#1425) 2020-09-30 16:45:03 -07:00
Martin Treusch von Buttlar e18d8236b8
Add support for Vagrant (#1428)
* Add support for Vagrant

Use the Vagrantfile to create a workable test machine in a few minutes
to run the unit and most of the integration tests on non-Linux systems.

* Vagrant: install jq and crane to help debugging
2020-09-30 16:44:43 -07:00
Didier Durand fdbd250af8
Readme.md : Kaniko -> kaniko (#1435)
Hi there,
The preferred spelling seems to be all lowercase: I fixed those with uppercase K.
(Sorry for this modest intial contribution ;-) but I hope to come back with more..
Didier
2020-09-30 16:44:06 -07:00
Tejal Desai 0c386e3f4a
fix docker-credential-gcr helper being called for multiple registries (#1439)
* fix multiple registryies docker-credential-gcr

* Update pkg/executor/push.go
2020-09-30 16:43:16 -07:00
Tejal Desai f21435caee
initial release instructions (#1419) 2020-09-09 14:56:34 -07:00
Tejal Desai cb77f2aa31
Merge pull request #1417 from tejal29/fix_repo_string
change repo string to just string
2020-09-09 11:37:12 -07:00
Tejal Desai 1990cb76e9 change repo string to just string 2020-09-09 09:09:19 -07:00
Tejal Desai 47e42e481a
Merge pull request #1405 from tstromberg/update-readme-flags
Improve --use-new-run help text, update README with missing flags
2020-09-08 15:40:06 -07:00
Thomas Stromberg 3012551204 Run doctoc 2020-08-29 11:03:43 -07:00
Thomas Stromberg c0b88a03de Add missing flags/options to README, sort them 2020-08-29 11:01:44 -07:00
Thomas Stromberg f79492b0cd Make --use-new-run flag help easier to understand 2020-08-29 11:01:14 -07:00
Tejal Desai f20f495051
Merge pull request #1397 from jkutner/add-to-ignore-list
Add func to append to ignorelist
2020-08-27 17:46:14 -07:00
Tejal Desai 2a4ab62a08
Merge pull request #1394 from isker/patch-1
Update README.md re: layer cache behavior
2020-08-27 17:44:42 -07:00
Tejal Desai fdd2d4871b
Merge pull request #1398 from kskumgk63/patch-1
Fix links on README
2020-08-27 17:44:06 -07:00
Tejal Desai 71b6a244ba
Update README.md
use v1 endpoint.
2020-08-27 15:34:57 -07:00
Joe Kutner 0a0b4f1583
Add func to append to ignorelist.
This allows those using Kaniko as a library to add ignored dirs and
files without needs to modify /proc/self/mountinfo or doing other
strange things with mount -t tmpfs
2020-08-26 08:30:42 -05:00
Keisuke Umegaki a77fc85861
Fix link, --context-sub-path ,--skip-unused-stages 2020-08-26 10:59:06 +09:00
Ian Kerins 6bab9ed4d1
Update README.md re: layer cache behavior
#1357
2020-08-21 22:23:57 -04:00
Tejal Desai 146ec6a9cd
Merge pull request #1388 from tejal29/releaseV1.0.0
prepare for v1.0.0 release
2020-08-17 19:32:41 -07:00
Tejal Desai 61f0e76ec2 prepare for v1.0.0 release 2020-08-17 18:51:17 -07:00
Tejal Desai 3387ceddfb
Merge pull request #1385 from renatosuero/add-gcr-instructions
Added instructions to use gcr without kubernetes
2020-08-17 15:28:08 -07:00
Renato Suero 268fdb4f2a
Added instructions to use gcr without kubernetes 2020-08-17 16:14:21 +02:00
Tejal Desai 0c7e1644cb
Merge pull request #1322 from caarlos0/opts
feat: new git flags
2020-08-13 15:08:36 -07:00
Tejal Desai df7f4cc9dc add boilerplate 2020-08-13 14:44:07 -07:00
Tejal Desai bfd92b5c6b
Merge pull request #1342 from aca/fix
Set correct PATH for exec form
2020-08-13 14:20:04 -07:00
Tejal Desai a2ac3b520f
Merge pull request #1383 from tejal29/another_impl
new implementation for run
2020-08-13 14:19:08 -07:00
Tejal Desai 94b2b6b391 gofmt 2020-08-13 14:03:38 -07:00
Tejal Desai abcc16b4cc fix gofmt 2020-08-13 13:59:58 -07:00
Tejal Desai 11024f258d new implementation for run 2020-08-13 13:43:07 -07:00
Tejal Desai 472376307e
Update run.go 2020-08-13 13:17:42 -07:00
Tejal Desai 8f1528764f
add defer. 2020-08-13 10:47:35 -07:00
Tejal Desai 1f456866eb
Merge branch 'master' into opts 2020-08-13 10:43:14 -07:00
Tejal Desai 1bf66ef435
Merge pull request #1153 from why-xn/master
Checkout a specific git commit
2020-08-13 10:41:26 -07:00
Tejal Desai d83338e372
Merge pull request #1318 from caarlos0/git
feat: accept GIT_TOKEN
2020-08-13 10:40:07 -07:00
Tejal Desai 8fbd6c805f
Merge pull request #1358 from sachaos/master
Format json & yaml in README
2020-08-13 10:39:25 -07:00
Tejal Desai 91092830ef
Merge pull request #1364 from pierrelouisb/executor_image_fix_username
executor image: fix USER environment variable
2020-08-13 10:37:31 -07:00
Tejal Desai 28a38ea4c2
Merge pull request #1374 from tsufeki/current-platform-in-warmer
Use current platform when fetching image in warmer
2020-08-13 10:36:58 -07:00
Tejal Desai 02896bf6be
Merge pull request #1371 from jchorl/master
bump go-containerregistry dep
2020-08-13 10:35:44 -07:00
Tejal Desai 4ec9f206c8
Merge pull request #1379 from tejal29/fix_use_new_run
fix use new run marker
2020-08-13 09:46:20 -07:00
Tejal Desai 9a12c6f88e gofmt 2020-08-12 18:54:53 -07:00
Tejal Desai a8bef58fa5
Merge branch 'master' into opts 2020-08-12 16:55:51 -07:00
Tejal Desai 553933514a fix use new run marker 2020-08-12 16:06:19 -07:00
tsufeki 4af795bf4a Use current platform when fetching image in warmer
Cache warming fetched images without specifying platform, which resulted
in always pulling default linux/amd64. Even when kaniko was built and
run on arm64.

This change brings warmer's behaviour in line with executor's by
specifying runtime.GOOS/GOARCH.

Fixes #1372
2020-08-07 15:52:15 +02:00