Commit Graph

10404 Commits

Author SHA1 Message Date
Jeff Grafton
57750ccb51 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.

Additionally, several tests which made poor assumptions about cwd or
used testContext before it was set have been fixed.

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
  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.)
2015-04-28 18:42:37 -07:00
nikhiljindal
7c99865c94 Fixing hooks/description to catch API fields without description tags 2015-04-28 18:32:15 -07:00
Brian Grant
a4316aa638 Merge pull request #7454 from nikhiljindal/v1
Cloning v1beta3 as v1 and exposing it in the apiserver
2015-04-28 18:06:57 -07:00
Victor Marmol
fc34277d8e Merge pull request #7445 from dchen1107/rkt-support
Bring up a kuberenetes cluster using coreos image as worker nodes
2015-04-28 18:04:42 -07:00
Yifan Gu
ba1389de3c kubelet/container: Update the runtime interface.
Make some of them (RunInContainer, ExecInContainer, etc) to have
same function signatures as current docker and rkt implementation.
2015-04-28 17:55:41 -07:00
Yifan Gu
c848fa447d kubelet: Refactor isPodRunning() in runonce.go
Replace InspectContainer() with generic GetPodStatus().
2015-04-28 17:44:13 -07:00
Zach Loafman
89195b0a14 Merge pull request #7461 from cjcullen/dns
Revert kube2sky from 1.2 back to 1.1 until we figure out why it's flaky.
2015-04-28 17:23:55 -07:00
Victor Marmol
787d42d50b Move network plugin teardown to DockerManager.
This teardown is Docker-specific and will let us also do the setup in
the manager in future cleanups.
2015-04-28 16:58:54 -07:00
Victor Marmol
de0957ccb1 Create Kubelet types package for common shared types. 2015-04-28 16:57:45 -07:00
Alex Robinson
3c0b799213 Merge pull request #7446 from liggitt/namespace_conversion
Fix typo in namespace conversion
2015-04-28 16:38:10 -07:00
Alex Robinson
5773d993f0 Merge pull request #7455 from satnam6502/es-image
Upgrade Elasticsearch to 1.5.2 for cluster logging
2015-04-28 16:37:22 -07:00
Satnam Singh
dc31c58443 Upgrade Elasticsearch to 1.5.2 for cluster logging 2015-04-28 16:20:03 -07:00
Jeff Grafton
ae019935b3 Call the cluster/kubectl.sh wrapper in e2e tests.
The ginkgo wrapper script used to set up the path so that tests would
find the appropriate kubectl binary, but this seems like a cleaner way
to achieve the same result.
2015-04-28 16:14:36 -07:00
Vishnu Kannan
820d0f3e83 Adding a 'PastEventf' method to EventRecorder interface. This will be
useful for recording the timestamp of events that happened in the past.
2015-04-28 16:13:29 -07:00
Vishnu Kannan
2f68cddbd2 Adding events API to cadvisor interface. 2015-04-28 16:13:29 -07:00
Dawn Chen
876f8beec9 Remove unused node-name attribute 2015-04-28 16:13:26 -07:00
Dawn Chen
13a0b033e2 Bring up a cluster using coreos image for worker nodes. 2015-04-28 16:13:26 -07:00
Vishnu Kannan
84e2c36cf7 Set namespace of events to "default" if the involved object does not have
any namespace set.
2015-04-28 16:08:16 -07:00
Dawn Chen
5fa11322f8 Factory out debian e.g. ContainerVM image specific support to its own
helper utility library.
2015-04-28 16:07:57 -07:00
nikhiljindal
c4d7e19c8c Cloning v1beta3 as v1 and exposing it in the apiserver 2015-04-28 16:06:03 -07:00
Brian Grant
f8569dc5d3 Merge pull request #7366 from erictune/apiprincip
API Conventions for Late-initializers
2015-04-28 16:00:09 -07:00
Fabio Yeon
0a8d8c1579 Merge pull request #7460 from roberthbailey/validate-cluster
Make validate cluster more reliable
2015-04-28 15:57:43 -07:00
Fabio Yeon
45f85dbf06 Merge pull request #7404 from nikhiljindal/handleIndex
Updating handleIndex to return 404 for invalid server URL
2015-04-28 15:51:04 -07:00
Eric Tune
7ca60d5775 API Conventions for Late-initializers 2015-04-28 15:41:44 -07:00
Dawn Chen
8963347b9e Introduce MASTER_IMAGE, MINION_IMAGE and OS_DISTRIBUTION to config-default
for enable coreos and rocket support
2015-04-28 15:31:09 -07:00
Jeff Lowdermilk
44e7109341 Merge pull request #7210 from brendandburns/kubectl
Make delete actually stop resources by default.
2015-04-28 15:23:05 -07:00
CJ Cullen
2b50ee53e0 Revert the change that bumped kube2sky from 1.1->1.2 until we figure out why it's flaky. 2015-04-28 14:57:44 -07:00
Robert Bailey
a7e62d17ff Make validate cluster more reliable (it should retry checking the
server if a subshell returns a non-zero exit status).
2015-04-28 14:57:14 -07:00
Zach Loafman
fe38101be9 Merge pull request #7426 from roberthbailey/basic-auth-salt
Salt configuration to add basic auth to GCE.
2015-04-28 14:56:04 -07:00
Brendan Burns
e1256c0802 Make delete actually stop resources by default.
Refactor for shared code.
2015-04-28 14:36:43 -07:00
Robert Bailey
8206aa9eac Salt configuration to add basic auth to GCE. 2015-04-28 14:07:54 -07:00
Brendan Burns
01f201945d Merge pull request #7458 from a-robinson/fix
Fix GCE logging scope name
2015-04-28 13:45:36 -07:00
Prashanth Balasubramanian
7592dabeba RcManager uses informers 2015-04-28 13:45:15 -07:00
Alex Robinson
566f0d4724 Fix GCE logging scope name. 2015-04-28 13:44:30 -07:00
Avesh Agarwal
24a90cc57b cadvisor is obsoleted so kubelet service does not require it. 2015-04-28 16:33:18 -04:00
Alex Robinson
93d06e1061 Merge pull request #7450 from brendandburns/docs
Added some details about hook execution guarantees.
2015-04-28 12:09:58 -07:00
Jordan Liggitt
ac67fff1cf Convert Secret registry to use update/create strategy, allow filtering by Type 2015-04-28 15:00:20 -04:00
Brendan Burns
d944fa44bf Added some details about hook execution guarantees. 2015-04-28 11:26:03 -07:00
Brendan Burns
c9f4d8e57e Merge pull request #7425 from roberthbailey/basic-auth-headers
Set the 'WWW-Authenticate' header on 401 responses when basic auth is enabled
2015-04-28 11:10:05 -07:00
Daniel Smith
19ae113fe0 Merge pull request #7353 from wojtek-t/too_many_dials
Increase maxIdleConnection limit when creating etcd client in apiserver.
2015-04-28 11:03:12 -07:00
Alex Robinson
3e841510de Merge pull request #7393 from satnam6502/fluentd-gcp-image
New Fluentd to Cloud Logging Dockerfile with args
2015-04-28 11:01:14 -07:00
Alex Robinson
5b5525dca5 Merge pull request #7324 from vishh/log_scope
Enable logging.write scope for minions.
2015-04-28 11:00:10 -07:00
Robert Bailey
4304b1d24a Set the 'WWW-Authenticate' header on 401 responses when basic
auth is enabled. This is required for basic auth to work with
web browsers.
2015-04-28 11:00:05 -07:00
Brendan Burns
d327ba7776 Merge pull request #7383 from roberthbailey/basic-auth
Add support for HTTP basic auth to the kube-apiserver.
2015-04-28 10:59:26 -07:00
Vishnu Kannan
9c66305f8c Enable logging.write scope by default for nodes. This is required for storing events in
Google Cloud Logging via heapster.
2015-04-28 10:55:06 -07:00
Alex Robinson
db5767c1e0 Merge pull request #7364 from hvolkmer/offline-doc-0150
Updated CoreOS bare metal docs for 0.15.0
2015-04-28 10:52:24 -07:00
Robert Bailey
6d85dcb4a0 Add support for HTTP basic auth to the kube-apiserver. 2015-04-28 10:33:51 -07:00
Alex Robinson
89488e0cfe Merge pull request #7442 from ashcrow/patch-1
Added optional step to fedora getting started.
2015-04-28 10:30:40 -07:00
Satnam Singh
20a0905d61 New Fluentd to Cloud Logging Dockerfile with args 2015-04-28 10:30:32 -07:00
Steve Milner
4af8cd78a3 Added optional step to fedora getting started. 2015-04-28 13:15:58 -04:00