Commit Graph

23 Commits (66edd4e7ab4c3a4fc0b5cfb4682ebeec84f44c22)

Author SHA1 Message Date
Eng Zer Jun 9d85be1a99
test: use `T.Setenv` to set env vars in tests
This commit replaces `os.Setenv` with `t.Setenv` in tests. The
environment variable is automatically restored to its original value
when the test and all its subtests complete.

Reference: https://pkg.go.dev/testing#T.Setenv
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-11-08 10:30:29 +08:00
Steven Powell cbb189558a skip for all of Windows 2022-05-26 16:19:26 -07:00
Steven Powell e57dff657b skip TestSkaffold on Hyper-V 2022-05-26 16:07:40 -07:00
Steven Powell 1aa1f04e9b remove old build tags 2022-03-30 16:43:29 -07:00
KallyDev 70022d9b2e
Move from deprecated ioutil to os and io packages 2021-10-08 08:57:19 +08:00
Steven Powell 145f9fc9ab run `go fmt` 2021-09-13 11:58:43 -07:00
Steven Powell 92a3f8c365 fix not appending .exe to binary 2021-08-06 16:21:57 -07:00
Steven Powell f089c7f8e1 fix PATH separator for Windows 2021-08-05 00:37:46 +00:00
Sharif Elgamal 0ed5b13995 add docs for all integration tests and generate docs with them 2021-04-16 13:42:41 -07:00
Priya Wadhwa 1c8753d1f8 Set --interactive=false flag on skaffold test
This way we won't be sending metrics from integration tests to skaffold
2021-02-16 14:42:30 -08:00
Priya Wadhwa cc4d2d450e Also skip skaffold test because it also requires docker-env 2021-01-22 15:05:06 -08:00
Ilya Zuyev 5905834c7e tests: enable skaffold test 2021-01-13 13:59:06 -08:00
Ilya Zuyev 05bc271ef8 Fix arch related checks 2020-12-16 18:13:13 -08:00
Thomas Stromberg c082e5eb98 Fix 'minikube is not in path' error 2020-08-28 11:22:19 -07:00
Thomas Stromberg e137ed2e0e Move PATH setting to occur closer to the exec call 2020-08-24 11:10:07 -07:00
Thomas Stromberg f9cc71a3e5 Update TestSkaffold to use unique profile names, more debuggable 2020-08-22 09:20:59 -07:00
Priya Wadhwa ff899f9e5a improve error message 2020-07-23 00:12:46 -04:00
Priya Wadhwa 8cfcea6eb6 fix test skaffold 2020-07-22 17:22:17 -04:00
Priya Wadhwa d5b31d13e6 add current minikube binary to beginning of the path 2020-07-22 16:08:31 -04:00
Priya Wadhwa d4a33b3f98 don't run test on None; make sure docker/minikube are on PATH before running skaffold 2020-07-22 15:17:51 -04:00
Priya Wadhwa 1d48d43605 make sure minikube binary is available on PATH for skaffold binary to call 2020-07-21 14:09:43 -04:00
Priya Wadhwa 0941f0f65c update profile name to be 'minikube' 2020-07-20 17:43:31 -04:00
Priya Wadhwa aa51f179bb Add integration test to test against latest skaffold release
This PR:

1. Adds an integration test to test minikube against the latest skaffold release
1. Adds in a sample skaffold app from the skaffold repo to test
1. Adds this test to the addons_certs_docker_ubuntu Github Actions test
2020-07-20 16:45:49 -04:00