Sharif Elgamal
ede93786a1
fix releasing the cache warmer ( #418 )
2018-10-29 12:02:40 -07:00
priyawadhwa
632bedf75c
Merge pull request #413 from priyawadhwa/auth
...
Use remoteImage function when getting digest for cache
2018-10-29 10:39:58 -07:00
priyawadhwa
458152910a
Merge pull request #409 from dtaniwaki/insecure-pull
...
Separate Insecure Pull Options
2018-10-26 15:00:27 -07:00
priyawadhwa
1996bf810a
Merge pull request #415 from j0shua/master
...
adding exit 1 when there are not enough command line vars passed to `…
2018-10-26 14:23:53 -07:00
priyawadhwa
5d731d3430
Merge pull request #414 from GoogleContainerTools/ImJasonH-patch-1
...
"Container Builder" - > "Cloud Build"
2018-10-26 14:13:17 -07:00
j0shua
f1dfc2c685
adding exit 1 when there are not enough command line vars passed to run in docker script
2018-10-26 16:47:50 -04:00
Jason Hall
b8c1314b39
"Container Builder" - > "Cloud Build"
2018-10-26 16:44:18 -04:00
Priya Wadhwa
9908eeb30a
Use remoteImage function when getting digest for cache
...
Issue #410 experienced an error with base image caching where they were
"Not Authorized" to get information for a remote image, but later were
able to download and extract the base image.
To fix this, we can switch to using the remoteImage function for getting
information about the digest, which is the same function used for
downloading base images. This way we can also take advantage of the
--insecure and --skip-tls-verify flags if users pass those in when
trying to get digests for the cache as well.
2018-10-26 11:38:32 -07:00
Daisuke Taniwaki
e8aab7e17e
Update README
2018-10-26 12:20:54 +09:00
Sharif Elgamal
1639d1d71c
adding the cache warmer to the release process ( #412 )
2018-10-25 16:42:34 -07:00
Daisuke Taniwaki
e04a922dc3
Separate insecure pull options
2018-10-25 06:33:58 +09:00
Daisuke Taniwaki
05e3250043
Support insecure pull ( #401 )
2018-10-22 14:33:41 -07:00
priyawadhwa
5108ee3ee1
Merge pull request #403 from peter-evans/invalid-root-home
...
Invalid HOME for root user fix
2018-10-18 10:25:39 -07:00
priyawadhwa
f4612404c4
Merge pull request #389 from peter-evans/fix-symlink-extraction
...
Fix symlink extraction
2018-10-18 10:21:23 -07:00
peter-evans
39d6dc1ce7
Modify integration test for setting root user explicitly
2018-10-18 18:08:34 +09:00
peter-evans
49b2fa5199
Set root user to default home
2018-10-18 17:59:07 +09:00
peter-evans
d4b54cbbca
Add test for setting root user explicitly
2018-10-18 17:46:43 +09:00
priyawadhwa
37ec600916
Merge pull request #399 from priyawadhwa/release
...
Release v0.5.0
v0.5.0
2018-10-16 11:57:15 -07:00
Priya Wadhwa
579b866abf
Release v0.5.0
2018-10-16 10:04:18 -07:00
container-tools-bot
9b18cd1b77
Merge pull request #396 from chemidy/lint
...
fix mispell
2018-10-15 14:14:21 -07:00
dlorenc
5ac29a9773
Use only the necessary files in the cache keys. ( #387 )
2018-10-15 08:56:34 -05:00
Cyrille Hemidy
38c8c89b6a
fix mispell
2018-10-14 00:38:18 +02:00
peter-evans
d8beff6f28
Update test for link and file extraction to non-empty dir
2018-10-13 08:04:27 +09:00
priyawadhwa
72e088fda5
Merge pull request #393 from dzoeteman/patch-1
...
Change loglevel for copying files to debug (#303 )
2018-10-12 10:54:36 -07:00
Deniz Zoeteman
129eb9b8a8
Change loglevel for copying files to debug ( #303 )
2018-10-12 16:16:48 +02:00
priyawadhwa
aabb97b944
Merge pull request #390 from Zetten/enhance-is-dest-dir
...
Improve IsDestDir functionality with filesystem info
2018-10-11 18:15:59 -07:00
Sharif Elgamal
effac9dfc3
Persistent volume caching for base images ( #383 )
...
* comments
* initial commit for persisent volume caching
* cache warmer works
* general cleanup
* adding some debugging
* adding missing files
* Fixing up cache retrieval and cleanup
* fix tests
* removing auth since we only cache public images
* simplifying the caching logic
* fixing logic
* adding volume cache to integration tests. remove auth from cache warmer image.
* add building warmer to integration-test
* move sample yaml files to examples dir
* small test fix
2018-10-11 13:38:05 -07:00
Peter van Zetten
073abff176
Improve IsDestDir functionality with filesystem info
...
Add a check for FileInfo to determine whether a given string is a
directory path. If any error occurs, fall back to the naive string
check.
Fixes #365
2018-10-11 11:11:12 +01:00
peter-evans
38e8dc2cdd
Remove all at path to make way for new reg files and links
2018-10-11 15:33:25 +09:00
peter-evans
796b2515a7
Add test for symlink extraction to non-empty dir
2018-10-11 11:18:26 +09:00
peter-evans
5695ebc3d5
Remove all at path to make way for new symlink
2018-10-11 09:28:55 +09:00
priyawadhwa
03db09e95f
Merge pull request #388 from ianberinger/master
...
Update go-containerregistry dependency
2018-10-10 12:17:58 -07:00
Ian Beringer
a72970712f
Update go-containerregistry dependency #245
2018-10-10 20:44:19 +02:00
dlorenc
9a0e29c441
Refactor the build loop. ( #385 )
...
This change refactors the build loop a bit to make cache optimization easier in the future. Some notable changes:
The special casing around volume snapshots is removed. Every volume is added to the snapshotFiles list for every command that will snapshot anyway.
Snapshot saving was extracted to a sub-function
The decision on whether or not to snapshot was extracted
2018-10-09 12:15:17 -05:00
priyawadhwa
0a13e042c2
Merge pull request #382 from orisano/patch-1
...
chore: fix broken markdown (CHANGELOG.md)
2018-10-03 15:00:39 -07:00
dlorenc
734ffe65ce
Rework cache key generation a bit. ( #375 )
...
* Rework cache key generation a bit.
Cache keys are now based on the previous commands, rather than the previous state
of the filesystem.
* Refactor command interface a bit, only cache the context for commands that use it.
2018-10-03 16:16:12 -05:00
Nao YONASHIRO
4155330f33
chore: fix broken markdown
2018-10-04 05:51:57 +09:00
priyawadhwa
919df3949b
Merge pull request #381 from blacksails/build-arg-with-equals
...
Don't cut everything after an equals sign
2018-10-03 13:20:13 -07:00
priyawadhwa
e8dc562f45
Merge pull request #377 from priyawadhwa/release
...
Release v0.4.0
v
v0.4.0
2018-10-03 11:54:58 -07:00
Benjamin Nørgaard
038dcc1958
use strings.SplitN to avoid the join
2018-10-03 14:23:53 +02:00
Benjamin Nørgaard
261ed76405
fix variable collision
2018-10-03 12:04:43 +02:00
Benjamin Nørgaard
18ce0202c2
fix finding address of function return
2018-10-03 11:53:12 +02:00
Benjamin Nørgaard
5d01fc5df6
dont cut everything after and equals sign
2018-10-03 11:39:08 +02:00
Priya Wadhwa
63b54b0b22
Merge branch 'master' of github.com:GoogleContainerTools/kaniko into release
2018-10-02 10:09:50 -07:00
priyawadhwa
e4e6fb66e7
Merge pull request #378 from priyawadhwa/broken
...
Fix travis @ HEAD
2018-10-01 15:28:47 -07:00
Priya Wadhwa
589197b416
Fix travis @ HEAD
...
I merged a contributor's PR which modifed the HasFilepathPrefix function
to take an additional argument, but the PR hadn't been rebased. One of the
liting tests in Travis caught this bug.
2018-10-01 14:56:46 -07:00
Priya Wadhwa
ae81657484
Release v0.4.0
...
Copied over the release script from skaffold to get all new PRs that
have been merged for the CHANGELOG.
Ran dep ensure.
2018-10-01 14:52:16 -07:00
priyawadhwa
8f0d257134
Merge pull request #334 from peter-evans/fix-volume-cmd
...
Fix handling of the volume directive
2018-10-01 14:49:33 -07:00
priyawadhwa
442cf27c4b
Merge pull request #376 from ImJasonH/dep
...
Update go-containerregistry dep and remove unnecessary Options
2018-10-01 11:55:09 -07:00
Jason Hall
5a0c9b2a13
Update go-containerregistry dep and remove unnecessary Options
2018-10-01 14:11:26 -04:00