Commit Graph

25 Commits (c292d2e8d6fcd1bb5b3cb211d53abc8a277c1c48)

Author SHA1 Message Date
Jeff Lowdermilk cfc04f41b8 Updates for gcloud changes (alpha, kubeconfig) 2015-04-01 09:27:06 -07:00
Jeff Grafton d845d49dc6 Merge pull request #5437 from lhuard1A/libvirt-coreos_kubeconfig
Make libvirt-coreos generate a .kubeconfig file and have e2e tests use it
2015-03-19 10:18:03 -07:00
Lénaïc Huard fc6e6ed310 Explain when e2e --host parameter is used and when it is ignored 2015-03-19 15:13:35 +01:00
Lénaïc Huard efe345f8b6 Make libvirt-coreos generate a .kubeconfig file and have e2e tests use it 2015-03-17 11:10:18 +01:00
Masahiro Sano addeed6ad0 fix e2e test on vagrant provider 2015-03-14 03:42:09 +09:00
gmarek c3ff36931b fix ginko-e2e.sh 2015-03-13 10:00:28 +01:00
Eric Tune 72945955ae First cut at a "conformance test".
A conformance test is a test you run against a cluster that is already
set up.  We would use it to test a hosted kubernetes service to make
sure that it meets a bar for quality.  Also, a getting-started-guide
author, who has not implemented a complete set of cluster/...
scripts (that is, the getting-started-guide has some non-automated steps)
can use this to see which e2e tests pass on a cluster.

To be done in future PRs:
- disable tests which can't possibly run in a conformance test
  because they require things like cluster ssh.
- document that when we accept a getting-started-guide, that
  people should run the conformance test against their cluster
  (unless they already have cluster/... scripts.

I ran this against a GCE cluster and 22 tests passed.
2015-03-12 14:04:02 -07:00
Jeff Lowdermilk 7db006ab1a Generate standalone kubeconfig on kube-up, clear on kube-down.
Also tweaked the ginkgo tests to pull auth directly from a kubeconfig file
instead of the legacy kubernetes_auth file.
2015-03-10 14:23:34 -07:00
Jeff Lowdermilk a280e0da2d Revert "Standalone kubeconfig for gce kube-up" 2015-03-09 17:45:06 -07:00
Jeff Lowdermilk 4173d369aa Generate standalone kubeconfig on kube-up, clear on kube-down.
Also tweaked the ginkgo tests to pull auth directly from a kubeconfig file
instead of the legacy kubernetes_auth file.
2015-03-09 16:02:00 -07:00
Justin Santa Barbara 4066826b10 auth_config path for aws for ginkgo 2015-03-05 15:19:25 -08:00
Lénaïc Huard d64f0f1183 Make libvirt-CoreOS cluster able to run e2e tests 2015-03-02 23:11:48 +01:00
Robert Bailey 3ae85812bd Use the kubectl binary rather than the wrapper shell script in the
kubectl e2e test.
2015-03-01 21:45:04 -08:00
Alex Robinson fe42cd1235 Un-revert #4551 which moved the certs.sh e2e test to ginkgo and fix the
e2e auth breakage it caused. The fix is to not set project/zone/kube_master
to the empty string partway through the script, which I should have
realized was a bad idea in the first place.
2015-02-20 15:31:59 -08:00
Zach Loafman 7febce6321 Revert "Migrate the certs.sh e2e test to ginkgo" 2015-02-19 18:41:30 -08:00
Zach Loafman 597dedf762 Merge pull request #4551 from a-robinson/e2e
Migrate the certs.sh e2e test to ginkgo
2015-02-19 17:34:04 -08:00
Brendan Burns c9657cad04 Merge pull request #4319 from justinsb/aws_fixes
Fixes to get AWS tests to run
2015-02-18 22:43:46 -08:00
Alex Robinson 94161a44ee Pass the GCE project, zone, and master name into e2e.go as flags. 2015-02-18 15:41:36 -08:00
Alex Robinson f946aa887b Migrate the certs.sh e2e test to ginkgo. Issue #4185. 2015-02-18 13:45:44 -08:00
Jeff Lowdermilk aa32f1b2ce Retry #4337: Make gce kubeconfig context include project 2015-02-13 13:31:50 -08:00
Justin Santa Barbara cf470f7da4 Fixes to get AWS tests to run
They don't pass (yet), but they at least run!
2015-02-11 15:58:33 -05:00
Justin Santa Barbara 8cbd97d8bd Default value for ${@}, otherwise nounset causes failure 2015-02-11 12:39:06 -05:00
Zach Loafman 134d332793 Move verbosity flag into driver.go, randomize specs
Before we get too many suites baked, I want to get spec randomization
in, just so no one accidentally thinks things flow from top to bottom.

The random seed is printed with every run:

Random Seed: 1423194521 - Will randomize all specs

and can be reproduced using --ginkgo.seed
2015-02-05 19:49:04 -08:00
Zach Loafman bace7593d0 Enable ginkgo.v (console output is missing spec without it) 2015-02-05 07:24:05 -08:00
Zach Loafman 688f96cd33 Run shell tests under Ginkgo, changing all reporting to JUnit
* Add a test/e2e/shell.go that slurps up everything in hack/e2e-suite
and runs it as a bash test, borrowing all the code from hack/e2e.go.

* Rip out all the crap in hack/e2e.go that deal with multiple tests

* Move hack/e2e-suite/goe2e.sh to hack/ginkgo-e2e.sh so that it
doesn't get slurped up.
2015-02-05 07:24:05 -08:00