Tejal Desai
2181c5e6f5
create correct link across Multistage builds
2020-03-07 11:28:16 -08:00
Yoan Blanc
c7028c6d2f
run: user LookupId
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-05 16:44:55 +01:00
Tejal Desai
9e83210b07
Rebase over 1105
2020-03-04 14:16:24 -08:00
Yoan Blanc
55361b2998
fixup! fixup! integration: test user fancy home
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-04 14:14:21 -08:00
Yoan Blanc
c8d2cb7071
fixup! integration: test user fancy home
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-04 14:14:21 -08:00
Yoan Blanc
bfeb40d600
integration: test user fancy home
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-04 14:14:21 -08:00
Yoan Blanc
0c6571a1fc
integration: test case for HOME
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-04 14:11:49 -08:00
Tejal Desai
bc399d9257
remove accessing user dir
2020-03-04 13:43:23 -08:00
Tejal Desai
c1e3f42625
fix user metadata string
2020-03-04 13:08:38 -08:00
Cole Wippern
17ceb312c6
Merge pull request #1054 from cvgw/u/cgwippern/integration-tests-from-issues
...
Add integration tests from Issues
2020-03-03 11:47:23 -08:00
cvgw
75f6bfe265
fix #1092 TestRelativePaths
...
Fix integraton test TestRelativePaths
2020-02-29 21:16:07 -08:00
cvgw
5651ff8c92
remove failing tests, add later
2020-02-29 15:39:51 -08:00
cvgw
9f18d8006c
add integration tests from GH issues
2020-02-27 11:04:55 -08:00
cvgw
a675ad998a
Resolve filepaths before scanning for changes
2020-02-20 09:45:44 -08:00
cvgw
61bcba23f2
Fix #1067 - image no longer available
...
replace the tenstartups/alpine image with the canonical alpine image in
our integration tests as the former is no longer available
2020-02-20 08:40:38 -08:00
Yoan Blanc
474fdcf68d
image: fix registry mirror setup
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-02-16 11:41:51 +01:00
Yoan Blanc
edc4eb33f4
Merge remote-tracking branch 'origin/master' into registry-mirror
2020-02-16 09:28:54 +01:00
Tejal Desai
2cd68d2e2f
fix flake in copy symlink
2020-02-05 14:40:52 -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
0529579db7
Merge pull request #971 from tejal29/915
...
Fix Symlinks not being copied across stages
2020-01-27 10:58:49 -08:00
Cole Wippern
a2aae6274d
Merge pull request #973 from cvgw/u/cgwippern/fix-issue-704
...
Fix issue #704
2020-01-23 13:00:34 -08:00
Tejal Desai
3e5d0a6334
add unit tests
2020-01-23 11:12:54 -08:00
Tejal Desai
da7e9928e4
Fix Symlinks not being copies across stages
2020-01-22 11:47:10 -08:00
Tejal Desai
6e80e627ac
Merge pull request #979 from samos123/travis-ci-integration-testv2
...
Run integration tests in Travis CI
2020-01-22 09:55:02 -08:00
cvgw
e652f815ef
Fix #519 capital letter in stage names
...
update stage code so that when comparing the BaseName of
a stage against the recorded, lowercase version of a Stage name
the BaseName is also lowercased.
2020-01-20 15:57:05 -08:00
Sam Stoelinga
61af994a33
Run integration tests in Travis CI
...
- Change integration tests to use docker hub instead of GCR due to bug
in library that requires authentication with gcr.io even for public
images. See #966 for bug tracking this.
- Make uploading to GCS bucket configurable through a flag --uploadToGCS
- Utilize a locally deployed docker registry in travis CI to remove
dependency of needing to authenticate with GCP. This requires host
networking such that we can access the registry on localhost:5000
- Use the commit that's being tested for `TestGitBuildcontext`
- Remove duplicate GitBuildContext case that's now covered by default in
travis CI.
2020-01-19 22:33:04 -08:00
Cole Wippern
71aed35094
GetFSFromLayers
...
* add util.GetFSFromLayers
* GetFSFromImage delegates to GetFSFromLayers
* add FSOpts and FSConfig for GetFSFromLayers
* add tests for GetFSFromLayers
* add gomock for test support
* add mock_v1 for layers
2020-01-17 13:36:23 -08:00
Tejal Desai
a6add78a97
do not use the git repo as context
2020-01-16 23:08:22 -08:00
Tejal Desai
2a4cb90ea1
remove registry name from dockerfile
...
Rename dockerfile
Revert registry name change
2020-01-16 22:09:50 -08:00
Tejal Desai
f721212ded
fix base image link.
2020-01-16 22:01:47 -08:00
Yoan Blanc
c7d173cd99
integration-test: using registry-mirror
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2019-12-22 11:29:03 +01:00
Cole Wippern
b057776849
Merge pull request #857 from cvgw/u/cgwippern/symlink-bug
...
Resolve symlink targets to abs path before copying
2019-11-22 10:02:58 -08:00
Cole Wippern
1ec2387940
Add integration test for add url with arg
2019-11-15 14:44:39 -08:00
Cole Wippern
8f66e8613f
Add new test for copy to symlink which should fail
2019-11-15 11:23:04 -08:00
Cole Wippern
006b4996cb
Fix quote strip behavior for ARG values
...
* fixes issue 847
* previous implementation did not properly parse blank
values which were enclosed in quotes
2019-11-08 14:28:31 -08:00
Tejal Desai
5bbb40e4f0
Merge pull request #834 from cvgw/u/cgwippern/ISSUE_439_strip_arg_quotes
...
Issue #439 Strip out double quotes in ARG value
2019-11-07 10:54:17 -08:00
Don McCasland
ab7b210ac1
Adding missing integration test file
2019-11-04 09:30:58 -08:00
Cole Wippern
ec2e7705c8
Issue #439 add additional tests for quotes
...
Add additional tests to ensure that ARG values with quotes
are handled properly
2019-10-25 16:08:57 -07:00
Cole Wippern
79649a1614
Issue #439 double quotes in ARG value
...
* Strip out double quotes enclosing ARG value after parsing
dockerfile
2019-10-24 16:30:25 -07:00
Tejal Desai
9eb4a1c1ff
Merge pull request #801 from victornoel/776-dockerignore-relative
...
Support Dockerfile.dockerignore
2019-10-04 01:56:40 -07:00
Victor Noel
ff7abba47b
Fix integration tests for #776
2019-10-04 10:31:40 +02:00
Victor Noel
db12a77e6c
Fix #776
2019-10-03 17:53:14 +02:00
Monard Vong
dfbe9cf7f8
Add integration test
2019-09-22 00:12:54 +02:00
Priya Wadhwa
317d1b7017
Improve git buildcontext integration test
...
Build a dockerfile that will copy the LICENSE from the kaniko github repository into the image to make sure the git buildcontext works as expected.
2019-05-23 16:12:20 +02:00
Johannes 'fish' Ziemke
8c732f6f52
Fix kaniko caching ( #639 )
...
* Revert "Change cache key calculation to be more reproducible. (#525 )"
This reverts commit 1ffae47fdd .
* Add logging of composition key back
* Do not include build args in cache key
This should be save, given that the commands will have the args included
when the cache key gets built.
2019-05-10 09:57:03 -05:00
dlorenc
c8fabdf6e4
Fix arg handling for multi-stage images in COPY instructions. ( #621 )
2019-03-22 12:24:43 -05:00
Daisuke Taniwaki
1bf4421047
Fix parent directory permissions ( #619 )
...
* Add parent directories of adding files
* Add integration Dockerfile to test parent directory permissions
* Remove unnecessary helper method
* Use a file on the internet for integration Dockerfile
2019-03-19 12:40:15 -05:00
Daisuke Taniwaki
28bfb75a31
Fix file mode bug ( #618 )
...
* Fix file mode
* Add Dockerfile for special file permission test
2019-03-18 13:28:24 -05:00
dlorenc
9912ccbf8d
Fix USER handling. There were two issues: ( #600 )
...
- We were validating usernames/groupnames existed in etc/passwd. Docker does not do this
- We were incorrectly caching USER commands. This was fixed automatically by fixing the first part.
2019-03-07 07:05:24 -08:00