Commit Graph

830 Commits (c2514a752444a3308f67f01b5cbf1aaf6349b078)

Author SHA1 Message Date
Dawn Chen b33c4259f8 Merge pull request #8566 from markturansky/generator_godep
Added GOPATH vars and godep to generator script
2015-05-21 09:34:12 -07:00
Wojciech Tyczynski 2df11cea32 Automatically generate conversions 2015-05-20 17:11:18 +02:00
markturansky 10258c46d7 Added GOPATH vars and godep to generator script 2015-05-20 10:56:54 -04:00
Jeff Grafton e968b6be81 Merge pull request #8442 from mbforbes/e2ePodsReady
Ensure pods both running and ready before starting e2e tests
2015-05-19 13:40:08 -07:00
Tim Hockin 97abc19810 Merge pull request #8299 from thockin/import-names
rename imported pkgs for readability
2015-05-19 12:01:57 -07:00
Tim Hockin 76a0a7dff2 Shush minor stdout noise on builds 2015-05-19 11:24:44 -07:00
Tim Hockin 70c94fad6d Don't rename api imports in conversions 2015-05-19 11:21:21 -07:00
Max Forbes 1da46ca3d0 Ensure pods both running and ready before starting e2e tests 2015-05-19 10:53:02 -07:00
Jeff Grafton 90f61f3005 Change into the output directory before running go test -c. 2015-05-19 10:04:27 -07:00
Jeff Grafton bf1de72f4a Revert "Revert "Use native Ginkgo test runner instead of cmd/e2e (attempt N)""
This reverts commit f4bb6aa37d.
2015-05-19 09:13:08 -07:00
Quinton Hoole f4bb6aa37d Revert "Use native Ginkgo test runner instead of cmd/e2e (attempt N)" 2015-05-18 21:04:26 -07:00
Nikhil Jindal 0a6007b299 Merge pull request #8429 from jackgr/master
Fix portability bugs in hack/local-up-cluster.sh
2015-05-18 18:17:47 -07:00
Tim Hockin 2307350d1b Merge pull request #8443 from wojtek-t/conversion_improvements
Script for regenerate auto-generated conversions.
2015-05-18 17:24:08 -07:00
Wojciech Tyczynski 9a93206774 Script for automatically generate conversions. 2015-05-19 02:17:58 +02:00
Daniel Smith 5e056f119d Merge pull request #6694 from bprashanth/bench
Add a simple master benchmark and a wrapper to run it.
2015-05-18 14:42:24 -07:00
jackgr 87a26e2fd2 Fixes portability issues in cleanup() that cause the pid expansion to fail when host_os=darwin by replacing ps --ppid and ps --pid with pgrep -P and ps -p, and by suppressing header line in output with ps -o pid=. 2015-05-18 12:14:21 -07:00
Jeff Grafton 35c4b92e92 Make e2e compatible with Go 1.3 and OS X.
Go 1.4 added the -o flag to the "go test" command as well as support for
the TestMain() function, so we must work around these not existing in
Go 1.3.

The version of readlink on OS X does not have the -f flag - so we'll
just skip canonicalizing the path.
2015-05-18 12:11:33 -07:00
Jeff Grafton b79fae5d71 Revert "Revert "Once again, use native Ginkgo test runner instead of cmd/e2e.""
This reverts commit 67da1ac0c8.
2015-05-18 11:39:21 -07:00
Victor Marmol d431e98604 Merge pull request #8234 from nak3/terminate-child-process-local-up-cluster
Ensuring that we never call kill with empty arguments in local-cluster-up
2015-05-18 08:40:41 -07:00
Jeff Lowdermilk 553f9f822b Add ga-beacon analytics to gendocs scripts
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -07:00
Daniel Smith cf337051e0 Merge pull request #7819 from nikhiljindal/etcdTranslation
Adding a script to update etcd objects as per the latest API Version
2015-05-15 18:28:36 -07:00
Prashanth Balasubramanian 4200033c0a Add a simple master benchmark and a wrapper to run it. 2015-05-15 17:30:17 -07:00
Jeff Grafton 67da1ac0c8 Revert "Once again, use native Ginkgo test runner instead of cmd/e2e."
This change broke compilation on go 1.3 and running e2e tests on OS X.

This reverts commit 86b023fdd6.
2015-05-15 16:41:55 -07:00
nikhiljindal fa9f864782 Adding a script to update etcd objects 2015-05-15 16:20:35 -07:00
Kenjiro Nakayama 4c859c7e35 Ensuring that we never call kill with empty arguments in local-cluster-up 2015-05-16 07:50:31 +09:00
Quinton Hoole c4fa78509d Merge pull request #7653 from ixdy/native-ginkgo-runner
Once again, use native Ginkgo test runner instead of cmd/e2e
2015-05-15 15:29:19 -07:00
David Oppenheimer b8c469e4f0 Merge pull request #8134 from nikhiljindal/test-go
Fixing the number of times our unit tests are run
2015-05-15 15:28:34 -07:00
Jeff Grafton 86b023fdd6 Once again, use native Ginkgo test runner instead of cmd/e2e.
This commit deletes cmd/e2e and updates hack/ginkgo-e2e.sh to use the
'ginkgo' command instead. All logic from cmd/e2e/e2e.go and
test/e2e/driver.go have been combined into the new file
test/e2e/e2e_test.go.

The test tarball now includes a built version of the test/e2e test
binary, which includes all tests under test/e2e. This was accomplished
by updating the build scripts to use 'go test -c' when a target name
ended with '.test', and adding a dependency on test/e2e/e2e.test.

This prebuilt test binary is passed to the Ginkgo runner in
hack/ginkgo-e2e.sh. In a future change, we can add support to run
Ginkgo against the source tree if it is available.

This change is generally intended to have no externally visible changes,
aside from the following caveats:
 - The -t/--tests flag has been removed
 - Calling cmd/e2e/e2e directly obviously won't work, but that was never
   intended to be supported anyway
 - If the GINKGO_PARALLEL environment variable is set to y, then ginkgo
   will run test specs in parallel. (Currently defaults to n, since some
   tests are broken in this mode.)

Additionally, several tests which made poor assumptions about cwd or
used testContext before it had been set have been fixed.
2015-05-15 11:54:53 -07:00
Rohit Jnagal bd0156c65a Merge pull request #8204 from jlowdermilk/gke-todos
Cleanup some todos for gke + rip out dead code
2015-05-14 10:30:24 -07:00
Yifan Gu 621dc01f42 Remove 'auth-path' in the arguments for kubelet.
Otherwise kubelet will fail to create the client because it can't
find the nonexisting auth file.
2015-05-13 16:26:22 -07:00
Paul Morie 8fcf470167 Merge pull request #8174 from liggitt/local_up_cluster
Fix key generation in local-up-cluster.sh
2015-05-13 17:33:25 -04:00
Jeff Lowdermilk 3f3760a14a Cleanup some todos for gke + rip out dead AuthConfig code 2015-05-13 13:54:02 -07:00
Tim Hockin 8e7970f2a1 mkdir -p in doc generation 2015-05-13 12:50:25 -07:00
nikhiljindal 0e9d7d1451 Fixing the number of times our unit tests are run 2015-05-13 09:56:13 -07:00
Jordan Liggitt b552503c07 Fix key generation in local-up-cluster.sh 2015-05-13 10:04:40 -04:00
Robert Bailey c47b9178b4 Replace the auth config file with a kubeconfig file when
starting the kubelet on GCE.
2015-05-13 01:03:28 -07:00
Nikhil Jindal d75bd8bf2a Merge pull request #7101 from liggitt/service_account
ServiceAccounts
2015-05-12 10:23:41 -07:00
Max Forbes 579aed4161 Add zone to jenkins version-getting call. 2015-05-12 09:23:41 -07:00
Max Forbes a161800e13 Allow Jenkins to get the version from the GKE server. 2015-05-11 17:31:29 -07:00
Jordan Liggitt 7e14a80f63 ServiceAccount admission plugin 2015-05-11 17:18:06 -04:00
Jordan Liggitt db1f0dc906 JWT token generation/verification 2015-05-11 17:18:06 -04:00
saadali 94643ce6c9 Modify Jenkins E2E to not fetch/unpack Kuberenetes, when deployment is
disabled,
2015-05-11 12:31:31 -07:00
Nikhil Jindal 3d8f94ed59 Merge pull request #8040 from nak3/terminate-child-process-local-up-cluster
Terminate child process by cleanup() in local-up-cluster.sh
2015-05-11 10:11:28 -07:00
Jeff Lowdermilk 6523d18130 Future proof GKE kubeconfig handling in e2e driver 2015-05-11 09:57:54 -07:00
Kenjiro Nakayama e39f29ca16 Terminate child process by cleanup() in local-up-cluster.sh 2015-05-11 00:07:22 +09:00
Shawn Smith ecce796ee8 Use Fatalf 2015-05-10 13:08:55 +09:00
Justin SB a442918d31 AWS: Don't try to copy gce_keys in jenkins e2e job
Should fix e2e builds.

For the AWS jenkins jobs, I've been using the secret plugin.
2015-05-09 08:55:35 -07:00
Max Forbes 590d3873ea Make jenkins e2e runs reuse one key, take two. 2015-05-08 15:52:56 -07:00
Zach Loafman c6400cab1f Revert "Make jenkins e2e runs reuse one SSH key." 2015-05-08 15:46:42 -07:00
Max Forbes 41cc8027ab Make jenkins e2e runs reuse one key. 2015-05-08 14:51:42 -07:00