Commit Graph

1684 Commits

Author SHA1 Message Date
Yoan Blanc fec7c126f9 run: set userStr
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-04 14:14:10 -08:00
Yoan Blanc 52acd798f8 run: unset any HOME variable after USER ran
Running USER didn't reset HOME which had to be explicitly set.

Closes #1082

Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-04 14:12:42 -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 33a54ca298
Merge pull request #1105 from tejal29/fix_user_metadata
fix user metadata set to USER:GROUP if group string is not set
2020-03-04 14:09:58 -08:00
Tejal Desai d00c84a304
Merge pull request #1090 from cvgw/u/cgwippern/1089-split-integration-tests
Split travis integration tests
2020-03-04 14:09:31 -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
Tejal Desai 04db3834c6
Merge pull request #1103 from developer-guy/master
fixing docker run command in README.md
2020-03-04 09:31:57 -08:00
Tejal Desai 9ceab7ff04
Merge pull request #1086 from tejal29/705
check for filepath.Walk error everywhere
2020-03-04 09:31:10 -08:00
Batuhan Apaydın 30920d537e fixing docker run command in README.md
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
2020-03-04 16:37:01 +03:00
cvgw 101ba2245a Split travis integration tests
Split integration tests into three travis jobs
and move image building to it's own stage.

TestRun and TestLayers each have their own job while the
rest of the integration tests run in a single job
2020-03-03 11:52:26 -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
Tejal Desai b538066dcb
Merge pull request #1088 from cvgw/u/cgwippern/integration-tests-with-context
add integration tests with their own context
2020-03-02 09:41:59 -08:00
Tejal Desai a52a228300
Merge pull request #1093 from cvgw/u/cgwippern/1092-fix-TestRelativePaths
fix #1092 TestRelativePaths
2020-03-02 09:40:20 -08:00
cvgw 75f6bfe265 fix #1092 TestRelativePaths
Fix integraton test TestRelativePaths
2020-02-29 21:16:07 -08:00
cvgw 57c97dea3e add integration tests with their own context 2020-02-29 15:41:10 -08:00
cvgw 5651ff8c92 remove failing tests, add later 2020-02-29 15:39:51 -08:00
cvgw ce4ff8da3f set integration test timeout to 50 minutes
This is the max job execution time that travis free tier supports
2020-02-29 14:43:23 -08:00
Tejal Desai 248b201b9b Merge branch 'master' of https://github.com/GoogleContainerTools/kaniko into rm_buildargs_from_cache_key 2020-02-28 11:55:02 -08:00
Tejal Desai 8d2b205ef2
Merge pull request #1060 from DracoBlue/patch-1
Fixed typo in README.md
2020-02-28 11:01:16 -08:00
Tejal Desai dd5d2e6661 ignore errors while deleting 2020-02-28 04:48:22 -08:00
Tejal Desai 17f808da8a check for filepath.Walk error everywhere 2020-02-28 04:23:27 -08:00
Tejal Desai ae5a7bf158 fix tests 2020-02-28 02:53:42 -08:00
Tejal Desai 58c0d47fa6 fix npe 2020-02-28 02:44:43 -08:00
Tejal Desai 2ba7d25090 remove build args from composite key and replace all build args before adding command to the cache 2020-02-28 01:51:31 -08:00
Tejal Desai 7aa737c297
Merge pull request #1077 from greut/container-diff
test: refactor container-diff call
2020-02-27 21:57:42 -08:00
cvgw 9f18d8006c add integration tests from GH issues 2020-02-27 11:04:55 -08:00
Yoan Blanc 8b34c99de8
fixup! integration: refactor container-diff
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-02-26 14:20:03 +01:00
Tejal Desai fb0cfd7464
Merge pull request #1049 from antechrestos/refactor/build_cache_in_integration_image_build
Refactor integration image built
2020-02-26 01:03:05 -08:00
Yoan Blanc f856b831d1
test: refactor container-diff call
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-02-26 07:00:33 +01:00
Tejal Desai a1af057f99
Merge pull request #1069 from cvgw/u/cgwippern/implement-filepath-resolver
Resolve filepaths before scanning for changes
2020-02-25 00:19:38 -08:00
Tejal Desai 16e60cd6d4
Merge pull request #1074 from cvgw/u/cgwippern/fix-1020-chtimes-invalid-arg
Fix #1020 os.Chtimes invalid arg
2020-02-24 22:30:06 -08:00
Tejal Desai 34e9c7b46e
Add Tejal desai as reviwer. 2020-02-24 14:30:42 -08:00
cvgw 60e2187d85 Fix #1020 os.Chtimes invalid arg
The zero value of time.Time is not a valid argument to os.Chtimes
because of the syscall that os.Chtimes calls. Instead we update the zero
value of time.Time to the zero value of Unix Epoch
2020-02-24 08:29:19 -08:00
cvgw 965b606720 remove cruft and unneeded loop 2020-02-23 13:38:08 -08:00
cvgw 01f6aba517 update resolveSymlinkAncestor and add tests 2020-02-22 11:17:39 -08:00
Cole Wippern 27aeb89459
Merge pull request #1066 from GoogleContainerTools/cvgw-patch-1
Update filesystem proposal status to Reviewed
2020-02-20 11:02:33 -08:00
Cole Wippern 7ef4ff40f2 Update filesystem proposal status to Reviewed 2020-02-20 09:46:20 -08:00
cvgw a675ad998a Resolve filepaths before scanning for changes 2020-02-20 09:45:44 -08:00
Tejal Desai f5f1c3ab0e
Merge pull request #1068 from cvgw/u/cgwippern/fix-1067
Fix #1067 - image no longer available
2020-02-20 09:42: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
Tejal Desai 913a6042e0
Update pull_request_template.md 2020-02-19 10:47:59 -08:00
Tejal Desai 3350281d17
Merge pull request #1048 from cvgw/u/cgwippern/design-proposal-01-filesystem-resolution
design proposal 01: filesystem resolution
2020-02-19 09:22:04 -08:00
Tejal Desai ca728a4c9f
Merge pull request #836 from greut/registry-mirror
root: add --registry-mirror flag
2020-02-19 09:13:40 -08:00
cvgw d31d2bc74c update about filesWithParentDirs 2020-02-17 13:32:28 -08:00
cvgw 84047d4bcd add example signature for API 2020-02-17 11:27:19 -08:00
cvgw e84b91125f proposal updates 2020-02-17 11:23:32 -08:00
DracoBlue 2a71eaeda5
Fixed typo in README.md 2020-02-16 20:29:01 +01: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