Commit Graph
1378 Commits
Author SHA1 Message Date
Yoriyasu Yano 6e615a8ff9 Add ability to set git auth token using environment variables
Currently the only way to set the git auth is by including it in the context
git URL. This can be problematic for certain environments such as ECS where the
command args for are stored in logs. Introduces updates to allow setting the
authentication info using the environment variables `GIT_USERNAME` and
`GIT_PASSWORD`.
2020-05-11 10:59:48 -05:00
Tejal Desai cb11a9982c Merge pull request #1250 from gliptak/patch-2
Correct typo
2020-05-07 18:27:38 -07:00
Tejal Desai f5e23579a4 Merge pull request #1252 from tejal29/fix_double_save
remove duplicates save for the same dir
2020-05-07 18:27:08 -07:00
Tejal Desai 1018babd03 Merge pull request #1249 from gliptak/patch-1
Add GoReportCard badge to README
2020-05-07 17:00:34 -07:00
Tejal Desai c71deae38c remove dedupes 2020-05-07 16:37:17 -07:00
Gábor Lipták bec0e6a8e3 Correct typo 2020-05-07 16:24:07 -04:00
Gábor Lipták 27c5d86670 Add GoReportCard badge to README 2020-05-07 16:22:43 -04:00
Tejal Desai 0522fe2485 Merge pull request #1248 from tejal29/release21
prepping for release v.0.22.0
v0.22.0
2020-05-07 09:54:12 -07:00
Tejal Desai fbe9522de1 prepping for release 2020-05-07 09:34:56 -07:00
Tejal Desai 0bcafd40fc Merge pull request #1241 from tejal29/revert_optimization
Revert optimization added.
2020-05-06 14:15:47 -07:00
Tejal Desai d9a6bbe956 add tests 2020-05-06 12:11:03 -07:00
Tejal Desai 23ac909b2d Revert "small perf optimizing. Only remove whiteout path if it needs to be included in the tar"
This reverts commit 67db51810b.
2020-05-06 12:08:44 -07:00
Tejal Desai a9e78a778f Merge pull request #1238 from ddgenome/docker-config-1235
Provide full path to Docker config file
2020-05-06 10:17:16 -07:00
David Dooling 8bfd370ef9 Provide full path to Docker config file
Add tests.  The tests assume a POSIX file system, but it seems many
other tests assume Linux, so perhaps this is not a problem, or at
least does not add a new problem.

Fixes #1235
2020-05-06 10:02:47 -05:00
Tejal Desai c0618a06c1 Merge pull request #1233 from tejal29/release_v0.21.0
fix kaniko image docker credentials
v0.21.0
2020-05-05 21:26:06 -07:00
Tejal Desai 2c341e43e9 Merge pull request #1229 from ddgenome/gcr-docker-config-1228
Use DOCKER_CONFIG for docker config location
2020-05-05 21:25:40 -07:00
Tejal Desai 28a207c96a fix for adding docker credentials 2020-05-05 19:54:20 -07:00
Tejal Desai 420d5e17ca Merge pull request #1230 from D3N14L/readd_docker_dir
Fixes #1227 - Readded the /kaniko/.docker directory
2020-05-05 19:50:10 -07:00
Daniel Marks f5a811779b Fixed directory creation - missed -p option. 2020-05-05 15:24:29 +02:00
Daniel Marks 9e7f8414d3 Moved directory creation to build container. 2020-05-05 12:11:29 +02:00
Daniel Marks 5b3afb447b Readded the /kaniko/.docker directory
This directory was implicitly removed with commit
8a020010b7 and breaks several peoples
builds as some examples and documentation expect the directory to exist.
2020-05-05 11:45:43 +02:00
David Dooling 0871dfd6ab Use DOCKER_CONFIG for docker config location
If the DOCKER_CONFIG environment variable is set, use it when
determining if the Docker config file exists.  Fall back to kaniko
default if it the DOCKER_CONFIG environment variable is not set.

Fixes #1228
2020-05-04 16:46:50 -05:00
Tejal Desai d8c786c777 Merge pull request #1225 from tejal29/release_v0.20.0
Kaniko release v0.20.0
v0.20.0
2020-05-04 11:47:28 -07:00
Tejal Desai c2a76c25f7 two more Prs 2020-05-04 10:35:51 -07:00
Tejal Desai 7331b9b7a9 release v0.20.0 2020-05-04 10:31:08 -07:00
Tejal Desai b62b3779fe Merge pull request #1223 from sileht/fix-workdir-relative
feat: ensure relative WorkingDir work
2020-05-04 10:29:51 -07:00
Tejal Desai 03b3391fcc Merge pull request #1224 from JordanGoasdoue/fix-cross-instructions-skip-unused
fix: stages are now resolved correctly when --skip-unused-stages is used
2020-05-04 10:12:05 -07:00
Tejal Desai c6a98b754a Make sure integration test has a relative workdir 2020-05-04 09:48:09 -07:00
Tejal Desai 6614fec58c Merge pull request #1219 from jonhenrik13/document-log-timestamp
Documentation for --log-timestamp
2020-05-04 09:45:53 -07:00
Jordan Goasdoue a9c7839491 fix: stages are now resolved correctly if skip-unused 2020-05-04 18:38:18 +02:00
Mehdi Abaakouk cfc9f39176 feat: ensure relative WorkingDir work
Currently the default WorkingDir in test is "/", while in reallife it's
empty.

This change the tests to reflect reel life and fix the case where
First WorkingDir is relative.
2020-05-04 15:48:39 +02:00
Jon Henrik Bjørnstad 1eb4f8447b Documentation for --log-timestamp 2020-05-04 10:25:38 +02:00
Tejal Desai ae9c9b2813 Merge pull request #1211 from jonhenrik13/log-timestamp-v0.19.0
Add timestamp to logs
2020-05-03 22:41:17 -07:00
Tejal Desai e1c7862911 Merge pull request #1214 from tejal29/experiment
Snapshot FS on first cache miss.
2020-05-03 22:39:25 -07:00
Tejal Desai ee097f9b70 fix unit tests 2020-05-03 22:01:50 -07:00
Tejal Desai e32715ef55 Merge pull request #1164 from tstromberg/add-groups
Add secondary group impersonation w/ !cgo support
2020-05-03 22:00:36 -07:00
Tejal Desai cb14b65e08 fix boilerplate 2020-05-03 21:10:55 -07:00
Tejal Desai 5cbf34b67e Update pkg/util/groupids_fallback.go 2020-05-03 21:04:22 -07:00
Tejal Desai d37896b94f Merge branch 'master' into experiment 2020-05-03 21:02:41 -07:00
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 d88e998edc update Makefile 2020-05-03 20:57:30 -07:00
Tejal Desai f401b86746 Merge pull request #1204 from giovanism/patch-1
Update Pushing to Docker Hub to use v2 api
2020-05-03 20:54:33 -07:00
Tejal Desai fe0500f8e6 Merge pull request #1196 from yw-liu/master
Add http support for git repository context
2020-05-03 20:53:43 -07:00
Tejal Desai ae11db43d7 Merge pull request #1193 from tp-tc/dangling-symlink
Ignore the target of dangling symlinks.
2020-05-03 20:47:12 -07:00
Tejal Desai a2af3272cf Merge pull request #1192 from tp-tc/snapshot-maintainers
Handle `MAINTAINERS` when passing `--single-snapshot`.
2020-05-03 20:45:48 -07:00
Tejal Desai c641f6ff3a Merge pull request #1199 from luba239/patch-1
Fix line endings in shell script
2020-05-03 20:42:22 -07:00
Tejal Desai 095ea2991a remove unused command 2020-05-03 20:40:41 -07:00