Commit Graph

1402 Commits

Author SHA1 Message Date
Tejal Desai cbf3073fda rename whitelist to ignorelist 2020-06-02 15:56:27 -07:00
Tejal Desai e0f93578b6
Merge pull request #1284 from tejal29/add_timings
add timings for resolving paths
2020-05-23 15:37:58 -07:00
Tejal Desai dcea89c317 rm file 2020-05-23 15:27:37 -07:00
Tejal Desai 41bc04dc12 add timings for resolving pahts 2020-05-23 14:29:46 -07:00
Tejal Desai d1faa71666
Merge pull request #1276 from artbegolli/master
docs: add registry-certificate flag to readme
2020-05-23 13:57:48 -07:00
Art Begolli 38c0b194a2 docs: add registry-certificate flag to readme 2020-05-21 13:06:13 +01:00
Tejal Desai d86e09bac1
Merge pull request #1221 from antechrestos/refactoring/default_transport
Remove direct use of DefaultTransport
2020-05-20 11:54:58 -07:00
Thomas Strömberg 885c4daba7
Merge pull request #1251 from yw-liu/master
Add /etc/nsswitch.conf for /etc/hosts name resolution
2020-05-20 09:03:33 -07:00
yw-liu c91d46e75f add nsswitch.conf 2020-05-20 21:32:43 +08:00
Ben Einaudi 2f6090dcd7 Remove use of DefaultTransport
Using DefaultTransport and manipulating its tls configuration may lead to unexpected behaviour
2020-05-20 11:43:13 +02:00
Tejal Desai 31feaa4c12
Merge pull request #1263 from yorinasub17/git-auth-token-env
Add ability to set git auth token using environment variables
2020-05-20 00:59:14 -07:00
Tejal Desai 3f3c19a545
Merge pull request #1234 from tejal29/fix_copy_from
Apply dockefile exclude only for first stage
2020-05-19 15:40:51 -07:00
Tejal Desai 1d11b40052
Merge pull request #1253 from tejal29/fix_non
fix switching to non existent workdir
2020-05-19 15:39:08 -07:00
Tejal Desai 0317c7af33
Merge pull request #1273 from GoogleContainerTools/tejal29-patch-1
Make support clause more bold.
2020-05-19 15:35:50 -07:00
Tejal Desai 6dfbdae0a8
Merge pull request #1258 from mitchfriedman/push-retries
Add retries to image push.
2020-05-19 15:31:32 -07:00
Tejal Desai 699d2f42c8
Merge pull request #1255 from chrissng/bump-docker-credentials-gcr-2.0
Update docker-credential-gcr to support auth with GCP Artifact Registry
2020-05-19 15:30:33 -07:00
Tejal Desai da5c420ee9 use a mock 2020-05-19 15:05:46 -07:00
Tejal Desai 37e454dab4
Update README.md 2020-05-19 14:27:13 -07:00
Tejal Desai 864e6c2ae7
Make support clause more bold.
Add that kaniko is not officially support more evident.
2020-05-19 14:26:15 -07:00
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
Mitchell Friedman 6978fab45c Add retries to image push.
This uses the default provided retry transport by
go-containerregistry as this originally had no retries
built in.

This is useful to avoid intermittent failures of image
registries when returning a retryable status code.
2020-05-08 14:18:43 +01:00
Chris Sng ec770e207d
Update docker-credentials-gcr to support auth with GCP Artifact Registry 2020-05-08 12:44:44 +09:00
Tejal Desai c271f989f5 fix switching to non existent workdir 2020-05-07 18:59:01 -07: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
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 113c2397ea
Update comment. 2020-05-05 22:27:28 -07:00
Tejal Desai 5e275d9824 Apply dockefile exclude only for first stage 2020-05-05 21:45:36 -07:00
Tejal Desai c0618a06c1
Merge pull request #1233 from tejal29/release_v0.21.0
fix kaniko image docker credentials
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
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