Commit Graph

1164 Commits

Author SHA1 Message Date
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
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
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 7aa737c297
Merge pull request #1077 from greut/container-diff
test: refactor container-diff call
2020-02-27 21:57:42 -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
Tejal Desai 360e44b2b9
Merge pull request #1055 from cvgw/u/cgwippern/travis-multi-stage
separate travis into multiple jobs for parallelization
2020-02-15 08:51:55 -08:00
Ben Einaudi 0c1d05520f Refactor integration imaqge built
The aim of this change is to hide the complexity of image not being rebuilt. Image builder won't also have to know the list of dockerfiles
2020-02-15 09:52:09 +01:00
cvgw 6a85c8e89e separate travis into multiple jobs
Parallelize travis by splitting the integration and unit tests into
their own jobs. Make images remains as part of the integration tests.
2020-02-14 10:20:47 -08:00
cvgw c7148eba3a proposal 01 add more questions 2020-02-14 08:40:26 -08:00
cvgw 002642ef11 proposal 01 updates 2020-02-13 17:57:59 -08:00
Tejal Desai 2716557379
Merge pull request #1032 from tinkerborg/consistent-sha
Ensure image SHA stays consistent when layer contents haven't changed
2020-02-13 11:22:27 -08:00
Tejal Desai 2ab146db6a
Merge pull request #1044 from GoogleContainerTools/tstromberg-patch-1
Document that this tool is not officially supported by Google
2020-02-13 11:20:24 -08:00
cvgw 9557ef6b15 design proposal 01: filesystem resolution 2020-02-12 16:19:36 -08:00
Cole Wippern ae4e7d91aa
Merge pull request #1046 from tejal29/add_desing_propsal_template
add design proposal template
2020-02-12 14:06:01 -08:00
Tejal Desai 08e968a57f add design proposal template 2020-02-12 13:38:25 -08:00
Tejal Desai 1e9f525509
Merge pull request #1043 from jsravn/patch-1
Fix example pod.yml to not mount to root
2020-02-12 09:48:02 -08:00
Thomas Strömberg dfd3030c69
Document that Kaniko is not officially supported
This is in-line with what I will be doing with our other GoogleContainerTools projects. Thoughts?
2020-02-10 16:50:34 -08:00
Cole Wippern 7c7d899633
Merge pull request #1040 from cvgw/u/cvgw/more-idiomatic-logging-config
More idiomatic logging config
2020-02-10 12:35:38 -08:00
James Ravn 8e2b9ba105
Fix example pod.yml to not mount to root
As mounting to root makes `/root` a read only filesystem, which breaks a lot of builds that try to add files to `/root` (like `/root/.npm`).
2020-02-10 11:19:04 +00:00
cvgw 7e2009b5e2 More idiomatic logging config
Update logging configuration to be more idiomatic for a Cobra
application
2020-02-07 16:13:03 -08:00
Tejal Desai 8d9e6b8ea5
Merge pull request #1027 from tejal29/small_refacto
refactor copy.chown code and add more tests
2020-02-07 13:48:05 -08:00
Tejal Desai c9dc474031 fix linter 2020-02-07 13:47:17 -08:00
Tejal Desai a17ad8e8e8
Merge pull request #882 from cvgw/u/cvgw/reuse-cached-layer
Do not recompute layers retrieved from cache
2020-02-07 13:37:39 -08:00
Tejal Desai 8b69a13641 fix commut 2020-02-06 15:37:47 -08:00
Tejal Desai e0b913997f
Merge pull request #1034 from cvgw/u/cvgw/update-integration-test-docs
update instructions for running integration tests
2020-02-06 15:20:15 -08:00