Tejal Desai
926dcd88fb
Merge pull request #1216 from MichelHollands/master
...
Add --log-format parameter to README.md
2020-05-03 20:38:56 -07:00
Michel Hollands
1d23574cc1
Add --log-format parameter to README.md
...
The --log-format parameter was introduced in v0.18.0 but was not added to the README.md
Closes #1215
2020-05-03 15:49:41 +01:00
Tejal Desai
36748facc5
Merge pull request #1203 from dani29/cache
...
Set very large logs to Trace level
2020-05-01 10:35:15 -07:00
Tejal Desai
7ccf05fae3
Merge pull request #1165 from JordanGoasdoue/multistage-now-respects-dependencies
...
feat: multistages now respect dependencies without building unnecessary stages
2020-05-01 10:34:47 -07:00
Tejal Desai
7eb2458ba4
Merge pull request #1166 from gilbsgilbs/snapshot-directories
...
Always add parent directories of files to snapshots.
2020-05-01 10:25:25 -07:00
Tejal Desai
8a780be748
Merge pull request #1139 from JordanGoasdoue/allow-injecting-context-tar-gz
...
feat: allow injecting through stdin tar.gz on kaniko
2020-05-01 10:24:05 -07:00
Tejal Desai
6c627645ad
Merge pull request #1194 from tp-tc/greedy-cache-substitution
...
Don't generate cache key, if not caching builds.
2020-05-01 10:21:44 -07:00
Tejal Desai
8a51bd897a
Merge pull request #1167 from antechrestos/fix/minor_bug
...
fix previous name checking in 'executor.build.fetchExtraStages'
2020-05-01 10:05:58 -07:00
Ben Einaudi
d763b7e961
fix previous name checking in 'executor.build.fetchExtraStages'
2020-05-01 16:45:01 +02:00
Dani Raznikov
04888f2690
Set loud logs to trace level
2020-04-18 20:27:25 +03:00
Jordan Goasdoué
8cbc7a8ca2
feat: multistages is now built without unusued stages
2020-04-17 09:59:56 +02:00
Dani Raznikov
1534f90c93
Merge pull request #1190 from dani29/onbuildcp
...
Multistage ONBUILD COPY Support
2020-04-15 21:29:58 +03:00
Dani Raznikov
8d6a75a745
merge conflict fixes
2020-04-15 16:10:45 +03:00
Dani Raznikov
e8323441ab
resolve conflict with PR #1160
2020-04-15 15:58:43 +03:00
Tejal Desai
2270ac03d2
Merge pull request #1160 from JordanGoasdoue/can-now-resolve-args-from-stage
...
feat: can now resolves args from all stages
2020-04-14 14:18:09 -07:00
Tom Prince
c520218cec
Don't generate cache key, if not caching builds.
...
The cache key generation does environment subsitution in places that running
the commands doesn't. This causes issues if a command uses complex shell
substitutions. The cache key is generated even if caching isn't enabled.
This disables the cache key generation if caching is not enabled. This doesn't
fix the underlying issue, but limits it to when the cache is being used.
2020-04-13 16:50:13 -06:00
Dani Raznikov
f720c817c7
add unit tests
2020-04-12 20:17:40 +03:00
Tejal Desai
c25879ee86
Merge pull request #1175 from caarlos0/sub
...
feat: allow a subdir within a context
2020-04-12 09:07:17 -07:00
Dani Raznikov
961e634366
calculate dependency for onbuild
2020-04-10 18:49:34 +03:00
Dani Raznikov
70eb7ebcfa
suport multistage onbuild
2020-04-10 18:30:25 +03:00
Carlos Alexandro Becker
4bd1444be0
docs: --sub-path
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-08 14:08:57 -03:00
Tejal Desai
2609944787
Merge pull request #1174 from dani29/onbuild-copy
...
optimize: don't parse Dockerfile twice, reusing stages
2020-04-08 09:40:54 -07:00
Dani Raznikov
6b44ed4477
calculateDepdencies on a copy of envvars
2020-04-04 23:27:15 +03:00
Carlos Alexandro Becker
8b50908e48
test: fixed
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-03 17:15:40 -03:00
Carlos Alexandro Becker
0fc7b8a4f4
test: add it
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-03 16:34:22 -03:00
Carlos Alexandro Becker
92b9582ff9
fix: better error if not exists
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-03 16:21:29 -03:00
Carlos Alexandro Becker
3aaec5015b
feat: allow a subdir within a context
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-03 15:34:59 -03:00
Dani Raznikov
3ab6524fe5
optimize: don't parse Dockerfile twice and just reuse stages
2020-04-03 18:53:22 +03:00
Dani Raznikov
a3ce1cebf3
optimize: don't parse Dockerfile twice and just reuse stages
2020-04-03 17:39:59 +03:00
Gilbert Gilb's
14170aa455
Fix sorting of parent directories.
...
This refactoring reversed the order of the "ParentDirectories" function: ffc372a63b (diff-d36eb675aa49a7b471e3a2be77005b18R465)
As a side-effect, parent directories weren't added in lexicographical
order, which broke some tests. We now ensure in unit test that the order
of the ParentDirectories function is stable.
2020-03-31 20:18:24 +02:00
Gilbert Gilb's
fd8a2d6dd8
Merge branch 'master' into snapshot-directories
2020-03-31 14:25:04 +02:00
Tejal Desai
0fe0a64113
Merge pull request #1168 from PhoenixMage/32bit-overflow-fix
...
32bit overflow fix
2020-03-30 10:23:31 -07:00
Tejal Desai
8dc64549a1
Merge pull request #1155 from tejal29/fix_multi_stage_symlinks
...
Refactor Kaniko to test across multistages
2020-03-30 10:21:51 -07:00
PhoenixMage
aa6a3de316
Fix 32bit overflow
...
math.UaxUint32 will actually overflow on a 32 bit platform (tested on armv7)
This will resolve that issue.
2020-03-30 23:37:34 +11:00
PhoenixMage
5dcc1706c0
Merge pull request #1 from GoogleContainerTools/master
...
Fork sync
2020-03-30 23:33:26 +11:00
Gilbert Gilb's
e5585fded8
Always add parent directories of files to snapshots.
...
During a snapshot, when a file changed and not its parent directories,
the parent directories weren't added to the layer. This is inconsistent
with Docker's behavior which always add parent directories to the layer.
In some edge-cases, it could lead to problems with docker considering
that parent directories where owned by root in forthcoming layers
although they shouldn't (see #1163 ).
Also, Docker seems to be POSIX compliant regarding the name of
directories in the archive, which always have a slash appended. This
commit also fixes this.
Fixes #1163
2020-03-29 18:25:37 +02:00
Jordan Goasdoué
ed883b9015
feat: can now resolves args from stage
2020-03-27 18:42:46 +01:00
Tejal Desai
54c2a7abf0
Add conntrack to minikube setup script.
2020-03-27 10:03:37 -07:00
Tejal Desai
340ca79fbb
lint
2020-03-25 11:01:12 -07:00
Tejal Desai
1978f1e08e
Merge pull request #1130 from Vlatombe/set_image_platform
...
Set image platform for any build
2020-03-25 10:10:41 -07:00
Tejal Desai
9567b755dd
fix unit tests
2020-03-25 10:09:33 -07:00
Tejal Desai
2ea28fc7f5
revert back to previous file to save logic
2020-03-25 09:43:59 -07:00
Tejal Desai
caaf6c8adf
fix tests
2020-03-24 10:50:59 -07:00
Sam Stoelinga
1b662e7834
Merge pull request #1140 from samos123/fix-1122-public-gcr
...
Add ability to use public GCR repos without being authenticated
2020-03-24 10:31:58 -07:00
Vincent Latombe
336bcd3a9a
Merge branch 'master' into set_image_platform
2020-03-24 09:51:11 +01:00
Vincent Latombe
af42f14468
Revert "Update go-containerregistry to get https://github.com/google/go-containerregistry/pull/693 "
...
This reverts commit f55c34ab92 .
2020-03-24 09:50:59 +01:00
Vincent Latombe
4f7816f417
Revert "Update go-containerregistry to master"
...
This reverts commit 4de9575cf0 .
2020-03-24 09:50:39 +01:00
Tejal Desai
5da32d3f18
Merge pull request #1147 from tejal29/small_perf
...
small perf optimizing. Only remove whiteout path if it needs to be included in base image
2020-03-23 18:12:39 -07:00
Tejal Desai
d5d20b6087
Merge pull request #1146 from tejal29/up_ggcr
...
upgrade go container registry to latest master
2020-03-23 17:50:49 -07:00
Tejal Desai
ffc372a63b
refactor to add unit tests
2020-03-23 17:48:49 -07:00