Tejal Desai
0f67b782fa
fix formatting.
2020-05-03 21:01:04 -07:00
Tejal Desai
0db357935f
fix formatiing
2020-05-03 21:00:33 -07:00
Tejal Desai
da051c0474
fix gofmt
2020-05-03 20:59:29 -07:00
Tejal Desai
94ee809e1c
Merge branch 'master' into log-timestamp-v0.19.0
2020-05-03 20:58:34 -07: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
Jon Henrik Bjørnstad
41a95fe4bd
Add timestamp to logs
2020-04-23 13:40:47 +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
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
Tejal Desai
a173bf020b
Merge pull request #1115 from JordanGoasdoue/allow-build-context-from-local-targz
...
feat: add support of local '.tar.gz' file inside the kaniko container
2020-03-17 15:24:10 -07:00
Jordan GOASDOUE
fda7ed4f74
feat: add support of local '.tar.gz' file inside the kaniko container
2020-03-12 22:51:30 +01:00
Tejal Desai
32decf5798
Merge pull request #1075 from greut/label-flag
...
executor: add --label flag
2020-03-12 13:47:01 -07:00
Ben Einaudi
b73c2c10c8
Allow user to provide registry certificate
...
Fixes #1100
Fixes #1101
2020-03-08 18:17:50 +01:00
Yoan Blanc
53326fa0bf
executor: add --label flag
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-07 18:17:26 +01:00
Yoan Blanc
edc4eb33f4
Merge remote-tracking branch 'origin/master' into registry-mirror
2020-02-16 09:28:54 +01:00
cvgw
7e2009b5e2
More idiomatic logging config
...
Update logging configuration to be more idiomatic for a Cobra
application
2020-02-07 16:13:03 -08:00
Or Sela
9dd050b892
set log format using a flag
2020-02-07 00:05:59 +02:00
xanonid
ac4c80d241
Refactor code, introduce constants for uid/gid = -1
2020-02-03 14:56:23 -08:00
xanonid
e3b5a7b85d
Support COPY --chown flag ( Closes : #9 )
2020-02-03 14:56:23 -08:00
Ben Einaudi
2f1e54e591
Expand build argument from environment when no value specified
...
Fixes #713
2020-01-30 12:01:06 +01:00
Tejal Desai
47ab3fe997
Merge branch 'master' into registry-mirror
2020-01-29 11:42:06 -08:00
Tejal Desai
8b991f6baf
Add falg to --whitelist-var-run set to true to preserver default kaniko behaviour of /var/run ignored. Set it to false to add /var/run in destination directory
2020-01-28 10:52:36 -08:00
Tejal Desai
d49c198c90
Revert "add option additonal-whitelist"
...
This reverts commit 72bfed1850 .
2020-01-28 08:52:36 -08:00
Tejal Desai
c8b19894bb
Revert "additional-whitelist"
...
This reverts commit ac8e123815 .
2020-01-28 08:52:29 -08:00
cvgw
ac8e123815
additional-whitelist
...
* update readme
* improve test
* change default
2020-01-24 10:22:20 -08:00
Cole Wippern
72bfed1850
add option additonal-whitelist
...
Add a new option additonal-whitelist which defaults
to a single entry, "/var/run". This will allow users to
remove "/var/run" from the whitelist or retain the current
behavior with no change.
2020-01-23 16:50:33 -08:00
Yoan Blanc
3678b70239
Merge remote-tracking branch 'origin/master' into registry-mirror
2019-12-22 11:10:15 +01:00
Cole Wippern
bdabd774fc
Update linter and fix errors
...
* disable linters that are now enabled by default in new version
* fix linter errors
2019-12-21 12:27:14 -08:00
Yoan Blanc
980c87ac17
Merge remote-tracking branch 'origin/master' into registry-mirror
2019-12-05 19:12:47 +01:00
Yoan Blanc
3873aa05e3
root: add --registry-mirror flag
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2019-10-25 11:34:49 +02:00
Will Ripley
4c9a800e12
Added image digest file path
2019-10-21 11:55:55 -05:00
Tejal Desai
743a967933
Merge pull request #804 from tejal29/fix_803
...
fix creating abs path for urls
2019-10-04 16:00:19 -07:00
Tejal Desai
bb9ace058f
address Don's comment
2019-10-04 14:43:21 -07:00
Tejal Desai
230c4c9b07
fix linter
2019-10-04 14:39:53 -07:00
Tejal Desai
1c821d050c
Merge pull request #796 from prary/version
...
Kaniko version
2019-10-04 14:32:14 -07:00
Tejal Desai
6b5b88c2bc
fix creating abs path for urls
2019-10-04 14:31:11 -07:00
Tejal Desai
9643e0e9a4
Add missing boilerplate.
...
Add missing boiler plate.
2019-10-04 11:23:41 -07:00
Tejal Desai
eee6f83ff2
Merge pull request #736 from huguesalary/resolve-paths
...
Resolve relative paths to absolute paths in command line arguments
2019-10-04 00:49:12 -07:00
Prashant
f9424d43e7
fixing lint and minor fix
2019-10-03 21:29:40 +05:30
Prashant
24c2dcc867
Merge branch 'master' into version
2019-10-02 21:39:32 +05:30
Prashant
de87136720
Kaniko version
2019-10-02 21:22:26 +05:30
Hugues Alary
4327e9ba24
Resolve relative paths to absolute paths in command line arguments
...
The executor accepts a few arguments dockerfile, context, cache-dir and
digest-file that all represent paths. This commits allows those paths to
be relative to the working directory of the executor.
Fixes #732 #731 #675
2019-08-27 21:06:26 +00:00
chhsia0
11f3b791cd
Renamed to `--oci-layout-path` and added a unit test.
2019-08-24 01:28:58 -07:00
chhsia0
730b8b77c8
Added `--layout-path` flag to save image in OCI layout.
...
Fixed #296 .
The output manifests may have `application/vnd.docker.distribution.manifest.v2+json`
as their media types instead of `application/vnd.oci.image.manifest.v1+json`.
2019-08-24 01:04:18 -07:00
Taylor Barrella
3422d5572a
Misc. small changes/refactoring ( #712 )
2019-07-23 15:10:22 -07:00
Gijs
3686b65426
Process feedback of priyawadhwa regarding naming/nilcheck.
...
Changes the argument flag from `--digestfile` to `--digest-file`.
Skips an unneeded nil check.
2019-05-11 15:14:25 +02:00
Gijs
a6e3ddfc79
Add `--digestfile` flag to output built digest to file.
...
This flag, when set, takes a file in the container and writes the image digest to it. This can be used to extract the exact digest of the built image by surrounding tooling without having to parse the logs from Kaniko, for example by pointing the file to a mounted volume or to a file used durint exit status, such as with Kubernetes' [Termination message policy](https://kubernetes.io/docs/tasks/debug-application-cluster/determine-reason-pod-failure/ )]
When the flag is not set, the digest is not written to file and the executor behaves as before. The digest is also written to file in case of a tarball or a `--no-push`.
Closes #654
2019-05-02 14:57:44 +02:00
Jason Hall
3fa411ceb9
Check push permissions before building images ( #622 )
...
* Check push permissions before building images
* Fix doc comment
* improve error messages
2019-03-19 12:39:59 -05:00
Daisuke Taniwaki
f8f59ea4c6
Add insecure-registry and tls-skip-verify-registry flags ( #537 )
2019-01-29 13:29:47 -06:00