Commit Graph

146 Commits

Author SHA1 Message Date
Haowei Cai
84b1198d78 Update version constants for k8s 1.13 release snapshot 2018-12-07 16:37:26 -08:00
Xianglong Wang
725687038f Add codestyle tracking, fix codestyle 2018-11-02 16:00:47 -05:00
k8s-ci-robot
bfb89c613d
Merge pull request #665 from micw523/k8s-version-upgrade
Update Travis CI to use most current k8s server version
2018-10-30 19:02:26 -07:00
micw523
e63905302f Upgrade Travis CI k8s version 2018-10-30 20:40:26 -05:00
micw523
6ea777e647 change pep8 into pycodestyle since pep8 is depreciated 2018-10-27 02:29:59 -05:00
Haowei Cai
9484a106f2 generated snapshot client for 8.0.0b1 release
against kubernetes 1.12.1 release (temp 1.12.2 openapi spec)
2018-10-15 14:58:13 -07:00
Haowei Cai
316509b32a generated client change for 8.0.0 snapshot on master branch
against kubernetes release-1.12 branch
2018-09-28 14:16:18 -07:00
Haowei Cai
d9533dcb23 Update version constants for 8.0.0-snapshot on master
against kubernetes 1.12.0 release
2018-09-28 14:10:04 -07:00
z_jay_v
0ff38b847d
fix typo 2018-08-30 13:00:41 -04:00
Haowei Cai
17db994abc generated client update
pick up change in kubernetes-client/gen: add custom object status
and scale api.
2018-08-13 18:16:44 -07:00
Haowei Cai
5f81a65909 Generated client change for Kubernetes 1.11 2018-07-11 13:31:26 -07:00
Haowei Cai
fb548ed7f9 Update version constants for master branch Kubernetes 1.11 snapshot 2018-07-11 13:31:24 -07:00
Haowei Cai
71b5abce5a Generated API change for kubernetes 1.10 2018-03-12 11:11:47 -07:00
Haowei Cai
828a4a01ec Bump constants to reflect kubernetes 1.10 2018-03-09 15:01:50 -08:00
Haowei Cai
f603fd6fad Generated API change for v6.0.0b1
add PATCH to custom_objects_api
documentation update: never let cluster-scoped resources skip webhooks
2018-03-09 11:09:40 -08:00
Haowei Cai
ed052519da Update org and repo name 2018-01-26 15:41:55 -08:00
Haowei Cai
3abfdf9ebd Update master to kubernetes 1.9 2018-01-26 13:44:27 -08:00
Haowei Cai
b49837bb13 Bump constants to reflect kubernetes 1.9 2018-01-26 13:43:06 -08:00
Haowei Cai
284e9d05bf Api change v1beta2 adding required controller spec selector fields 2018-01-25 15:29:54 -08:00
Yu Liao
e5ea1cf223 api change V1PersistentVolumeSpec to V1ScaleIOPersistentVolumeSource 2017-11-17 17:19:45 -08:00
mbohlool
7c1819373f Change IntOrString field types from string to object 2017-10-17 07:52:35 -07:00
mbohlool
6b1a80c67f Updte master to kubernetes 1.8 2017-10-09 17:56:32 -07:00
mbohlool
19359213b5 Update CHANGELOGS and final touch ups 2017-10-09 17:32:19 -07:00
mbohlool
789e37464b Fix (hack) rest client for patch 2017-10-09 17:15:34 -07:00
mbohlool
63d667a45e Update generated client first 2017-10-09 17:15:04 -07:00
Jochen Breuer
1054f10c6d Introducing __version__ and __project__ variables
Version information comes from scripts/constants.py and is hard-coded to
kubernetes/__init__py by scripts/update-client.sh.

__project__ is just hard-coded.

Fixes #317
2017-08-16 08:11:47 +02:00
mbohlool
b4f852a9d9 update generated client to get https://github.com/kubernetes/kubernetes/pull/49357 2017-08-10 17:33:39 -07:00
Mehdy Bohlool
f6d80b06cf Merge pull request #287 from dims/use-latest-localkube
Test with latest localkube version
2017-07-07 11:35:01 -07:00
Davanum Srinivas
ebb23b7ca1 Test with latest localkube version
Oops! we are using a really old version, let's switch over to v1.7.0
2017-07-07 13:41:12 -04:00
Mehdy Bohlool
917ec63d51 Support both TPR and CRD with custom objects spec (#283)
* Add ability to use local gen repo for testing

* Update generated client
2017-07-07 10:26:25 -07:00
mbohlool
d2d49146e5 Use kubernetes-client/gen generators to generate python client 2017-07-06 06:03:29 -07:00
mbohlool
ef558a5ce4 Update generated client 2017-06-29 01:34:59 -07:00
mbohlool
21e071a5da Master to follow kubernetes 1.7 branch 2017-06-29 01:32:19 -07:00
Ebbe Elsborg
b0bc0beac4 Generate client with 'name' and 'namespace' swapped for TPRs 2017-06-23 09:17:58 +02:00
Ebbe Elsborg
02283ea5d1 Swap parameters 'name' and 'namespace' for TPRs
This is to align with the standard API.
Note: This is a breaking change.
2017-06-23 09:16:03 +02:00
Ebbe Elsborg
1849b1fe56 Generate client with 'version' parameter 2017-06-21 13:42:34 +02:00
Ebbe Elsborg
69bce1aeb2 Parametrize resource path with 'version' parameter
Add parameter 'name' to update operation
2017-06-21 13:42:34 +02:00
Ebbe Elsborg
2e67319b97 Run update-client.sh 2017-06-21 13:42:34 +02:00
mbohlool
8a3b2bae14 Update generated client for TPR fix 2017-05-21 22:58:45 -07:00
mbohlool
19ce362d9f Fix update client script to ignore kubernetes/base folder 2017-05-21 22:58:45 -07:00
mbohlool
bf337a5390 Fix TPRs security 2017-05-21 22:37:27 -07:00
mbohlool
e7a257a9ee Update client (only version changes) 2017-05-21 22:36:27 -07:00
mbohlool
23b0f8c008 Update generated client 2017-05-19 15:27:35 -07:00
mbohlool
1672ded330 Add OperationIDs to third party resources spec 2017-05-19 15:26:08 -07:00
Jonathan Kosgei
dab09e0e92 Add support for thirdparty resource watch/create/put and delete operations (#216)
Add third-party-resources paths to OpenAPI spec to be able to create/update/watch third party resources.
2017-05-18 00:37:30 -07:00
mbohlool
735286472c Use swagger-codegen 2.2.2 stable 2017-05-04 10:54:41 -07:00
Mehdy Bohlool
c5347acfbc Update update-client.sh
Generator script post-processing if failing if development status has `/` in it. this is true for stable releases.
2017-05-03 11:37:59 -07:00
mbohlool
f5ec773830 Update generated client 2017-04-25 14:11:04 -07:00
mbohlool
07013a0722 Remove Spec Version constant as the main spec is versioned now 2017-04-25 14:11:04 -07:00
Mehdy Bohlool
cba33ac0d4 Merge branch 'master' into cherry 2017-04-24 11:49:53 -07:00
mbohlool
f567e82801 Update (and generalize) cherry pick script for client-python 2017-04-20 13:48:08 -07:00
mbohlool
7408d902fc Copy original cherry pick script from kubernetes main repo 2017-04-20 13:41:52 -07:00
mbohlool
cfc0ff1a0d Update client 2017-04-17 16:37:09 -07:00
mbohlool
fbdff46af0 Inline primitive models in preprocessing 2017-04-17 16:35:57 -07:00
mbohlool
35ca453a47 Update client code 2017-04-05 15:24:07 -07:00
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