Priya Wadhwa
ccb6259b06
More linting errors
2018-09-11 14:58:25 -07:00
Priya Wadhwa
1513295103
Make sure paths are absolute before matching files to wildcard sources
...
The bug in #329 occurred because of a bug in matchSources, where the
filepath wasn't absolute, so the source "/kaniko-bug/*" wasn't being
matched to the file "kaniko-bug/test-file"
To fix this, I added logic for making filepaths absolute and added to
the unit test for the function to test that it works.
2018-08-31 11:57:20 -07:00
priyawadhwa
52e9863810
fix add command bug when adding remote URLs ( #277 )
2018-08-07 17:10:27 -07:00
Andrea Giardini
c44c317b00
Environment variables with multiple '=' are not parsed correctly ( #278 )
...
* Provide failing test for an env variable with multiple '='
* Environment variables are split only in two parts
2018-08-07 10:22:48 -07:00
Nick Kubala
e45d1f6aac
Update deps
2018-07-31 16:23:23 -07:00
Priya Wadhwa
54282e3e8c
Fix bug in snapshotting
2018-06-21 14:07:59 -07:00
Jon Johnson
8b0a1a7689
dep update go-containerregistry
2018-06-03 00:59:34 +00:00
Sharif Elgamal
5e6b60f46e
adding metadata tests back to integration tests ( #185 )
...
* adding metadata tests back to integration tests and fixing resulting bugs
* fix onbuild and default env
* removing old test files
* adding the ArgsEscaped boolean on CMD commands
* fix onbuild test
* ignore failing test until container-diff is fixed
* code comments
* adding todo to remove uncomment failing test
2018-05-24 11:28:32 -07:00
Priya Wadhwa
282f8abbee
Merge master, refactor to work with ARG
2018-05-11 15:53:11 -07:00
Priya Wadhwa
4de14c34dd
Wrap BuildArgs in our own type
2018-05-11 10:23:13 -07:00
Priya Wadhwa
26d8501489
Support BuildArgs for arg command
2018-05-09 12:24:38 -07:00
Priya Wadhwa
7dbc7a04a7
Support multi stage builds
2018-04-23 17:25:12 -07:00
Priya Wadhwa
be38696c7d
Updated unit tests after refactor
2018-04-19 20:39:29 -07:00
Priya Wadhwa
6054d7e653
Refactor copy and add
...
Refactor copy and add
Add/copy pass integration tests
2018-04-19 20:27:41 -07:00
Cyrille Hemidy
84bab8fde2
Update command_util.go
...
fix comment
2018-04-17 10:53:34 +02:00
priyawadhwa
cebb4031b3
copy symlinks ( #90 )
2018-04-14 08:00:20 -07:00
Priya Wadhwa
e5542e8893
fixed comment
2018-04-03 10:43:35 -07:00
Priya Wadhwa
89400b7410
Add command with unit tests
2018-03-28 13:34:00 -07:00
Priya Wadhwa
b64f23b078
Use default token for parsing
2018-03-27 09:44:51 -07:00
Priya Wadhwa
f6139f249a
Merge branch 'master' of github.com:GoogleCloudPlatform/k8s-container-builder into env-replacement
2018-03-26 10:50:23 -07:00
Priya Wadhwa
dbb0774778
Environment replacement
2018-03-21 15:01:21 -07:00
Priya Wadhwa
f56b3e9542
Environment replacement
2018-03-21 13:37:00 -07:00
Priya Wadhwa
cf24231121
WIP
2018-03-20 17:15:09 -07:00
Priya Wadhwa
58e70d8b77
Environment replacement
2018-03-20 15:56:31 -07:00
Priya Wadhwa
cc0c672697
Add support for dest = '.' and additional DestinationFilepath test
2018-03-20 14:10:13 -07:00
Priya Wadhwa
de8cc1a285
Fixed check srcs function and create file with correct permissions
2018-03-16 14:11:06 -07:00
Priya Wadhwa
5ebf156d94
Fixed relative filepath and unit test
2018-03-15 13:47:40 -07:00
Priya Wadhwa
21a9207428
Copy command and unit tests
2018-03-14 17:06:46 -07:00