Commit Graph

1196 Commits

Author SHA1 Message Date
Sam Stoelinga cdc8c60c52 Move testing scripts to scripts directory
Since we recently started adding more scripts it makes sense to move to
a separate directory. This aligns with a common practice across golang
projects: https://github.com/golang-standards/project-layout
2020-03-07 13:59:57 -08:00
Tejal Desai 861c039c8f
Merge pull request #1113 from tejal29/add_better_error
fix resolve link for dirs with trailing /
2020-03-06 10:20:08 -08:00
Tejal Desai 3cc8aa2a9c fix resolve link for dirs with trailing / 2020-03-06 09:38:00 -08:00
Tejal Desai 7a17e42af9
Merge pull request #1108 from tejal29/r-v0.18.0
release notes for v0.18.0
2020-03-05 20:42:34 -08:00
Tejal Desai 462c908d28 release notes for v0.18.0 2020-03-05 16:49:34 -08:00
Tejal Desai 7bf3f87430
Merge pull request #1072 from greut/integration-test-homedir
integration: test case for HOME
2020-03-05 09:52:45 -08:00
Yoan Blanc fc668cd2b5
fixup! fixup! fixup! run: user LookupId
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-05 17:26:04 +01:00
Yoan Blanc bd77f131fd
fixup! fixup! run: user LookupId
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-05 17:00:14 +01:00
Yoan Blanc 67fbdef360
fixup! run: user LookupId
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-05 16:49:13 +01:00
Yoan Blanc c7028c6d2f
run: user LookupId
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-05 16:44:55 +01:00
Yoan Blanc c553184416
user_test: docker doesn't care about group really
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-05 16:34:06 +01:00
Tejal Desai 9e83210b07 Rebase over 1105 2020-03-04 14:16:24 -08:00
Yoan Blanc 3d9bb21f75 user: keep existing HOME env
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-04 14:14:25 -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 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 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 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