Commit Graph

41 Commits

Author SHA1 Message Date
mbohlool
f41a863d24 Promote OpenAPI spec version to kubernetes 1.6.1 2017-04-05 15:24:06 -07:00
mbohlool
5d19799574 preprocessing script to shorten model names as much as possible 2017-04-05 14:14:58 -07:00
Davanum Srinivas
353e8ccdc8 Switch to minikube/localkube
* Drop the old Kubernetes on docker containers method as it
  did not have a SSL enabled port
* Use localkube component from minikube instead. This enables
  us to drop the hitch TLS proxy as well.
* E2E tests should be easy to run locally and pick up configuration
  from ~/.kube/config
* Consolidate the urls in one spot (base.py), also consolidate the
  SkipTest in one spot.
* For local testing, just run minikube and run the py27 or py34 tox
  target, that should run all the tests including the e2e tests.
* Fix the connect_post_namespaced_pod_exec and add a e2e test for it

Fixes #122
2017-02-09 15:49:04 -05:00
Davanum Srinivas
96cfceb2f0 Run e2e tests against against https url
Use hitch tls proxy to listen on 8443 port and forward the
traffic to 8080. Add a configuration option to ignore any
issues with host names as we don't generate the cert on the
fly.
2017-02-03 12:16:58 -05:00
mbohlool
c05b50c4ff Bugfix: kubernetes/client/__init__.py was not updated resulting in not exported models 2017-01-19 13:58:20 -08:00
mbohlool
98dc69105f Update client with no change. Mostly formatting update in generator code 2017-01-19 13:36:07 -08:00
Davanum Srinivas
5c82309840 tox target to enforce pep8 2017-01-12 16:47:45 -05:00
Davanum Srinivas
010af62b76 Add functional test
Port a bunch of tests from python-k8sclient repository. There
is a script that starts a real instance of kubernetes and
the tests are executed against it.

Note, if you just have k8s accessible in your localhost:8080, the
tests still run. so you don't really need to run "py27-functional"
which runs the kube-init.sh

Also, 2 API calls fail currently, i've added a TODO so we can
dig into them and fix them
2017-01-12 06:26:16 -05:00
mbohlool
b971b6b5d1 Update generated client after bugfix kubernetes/kubernetes#39465 2017-01-10 13:20:19 -08:00
mbohlool
1c563ec073 Update spec version to latest spec in k8s 1.5 release 2017-01-10 13:20:02 -08:00
mbohlool
58aa16506e Extract DevelopmentStatus as a constant to scripts/constants.py 2017-01-10 11:35:18 -08:00
mbohlool
68e6fd2bbc Update release steps to add source distribution 2017-01-03 14:09:12 -08:00
mbohlool
ac03642173 Stop exporting script folder 2016-12-28 03:55:42 -08:00
mbohlool
610a1f5794 document release steps in a bash file. 2016-12-27 17:15:47 -08:00
mbohlool
8c26b4b75b Support connecting to multiple clusters 2016-12-16 01:50:07 -08:00
mbohlool
4d14edb757 Add default kube config location 2016-12-15 14:47:24 -08:00
mbohlool
4d3307bf7d Fix failing setup.py 2016-12-14 18:21:07 -08:00
Tobias Bradtke
38888d3450 Add missing parentheses to print() 2016-12-14 12:50:06 +01:00
mbohlool
69d0d5c5bb Update generated client 2016-12-12 23:37:17 -08:00
mbohlool
2944e5b62c Set versions to snapshot for non-release branches 2016-12-12 23:37:16 -08:00
mbohlool
a7c3b634db Pass client version to client generator 2016-12-12 23:37:15 -08:00
mbohlool
41490c80cb Update client 2016-12-08 13:21:07 -08:00
mbohlool
4c14ab38bb Download OpenAPI spec directly from k8s release branch 2016-12-08 13:21:06 -08:00
mbohlool
000c873f75 Update version to alpha.2 as alpha.1 is used for a failed release 2016-11-23 14:07:43 -08:00
mbohlool
bc301e25cf Set package version in generated code 2016-11-23 13:59:44 -08:00
mbohlool
b2f2f5ad23 Update formatting with scripts/update-pep8.sh 2016-11-23 13:35:35 -08:00
mbohlool
d42d43d539 Update generated client with changed spec version 2016-11-23 12:18:53 -08:00
mbohlool
9009bc0c30 Update OpenAPI spec version 2016-11-23 12:18:51 -08:00
mbohlool
aa671e2946 Update generate script to generate client in a new subdirectory 2016-11-22 17:23:39 -08:00
mbohlool
26b815f083 Generated client 2016-11-21 13:24:04 -08:00
mbohlool
869fd7b6b9 Add preprocessing step to remove watch_* operations in favor of list_*(watch=True) 2016-11-21 13:24:04 -08:00
mbohlool
4c71e299ac Update generated client with latest changes in k8s 2016-11-21 13:21:06 -08:00
mbohlool
3e9c0b03b9 Update generated client 2016-11-21 10:52:12 -08:00
mbohlool
aade05f839 Add license header to preprocess_spec.py 2016-11-18 11:31:25 -08:00
mbohlool
5c87338507 Adding back generated test as they make sure the generated client is buildable 2016-11-17 15:58:29 -08:00
mbohlool
273684c601 Add semi-auto code formatting script 2016-11-16 16:16:26 -08:00
mbohlool
4e8cca08d3 Add github repo information to the generator config 2016-11-16 16:16:26 -08:00
mbohlool
634a1b9d3f Update generated client 2016-11-16 16:16:23 -08:00
mbohlool
117cceb537 Add generation preprocess step to make OperationIDs simpler 2016-11-16 16:16:22 -08:00
mbohlool
a37bc3a2d1 Remove empty generated tests 2016-11-14 16:28:34 -08:00
mbohlool
0558a5844c Add client generation script 2016-11-02 13:32:17 -07:00