Commit Graph

19 Commits

Author SHA1 Message Date
Christian Clauss
eace0bd3fe
Travis CI: The sudo: tag is now fully deprecated in Travis 2019-07-25 15:19:35 +02:00
Xianglong Wang
2eb2c8dc81 update docs python version 2019-07-22 21:14:40 -04:00
Oz N Tiram
e8fd4b9af9 Drop Python3.4
Python3.4 become EOL on 2019.03.18.

 https://www.python.org/dev/peps/pep-0429/
2019-04-05 21:20:48 +02:00
micw523
de9b187054 Prepare for Python 3.7 tests 2018-11-09 19:58:26 -06: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
mbohlool
5900a4c8c5 Fix Travis CI failure 2017-06-30 14:15:10 -07:00
Sergi Almacellas Abellana
20fa5b4ded Add support for python3.6 2017-06-07 10:30:51 +02: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
16d6da465e Add comment about hitch ppa 2017-02-07 16:00:33 -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
Davanum Srinivas
8d4cd14515 Test if docs can be built 2017-01-13 05:57:35 -05: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
Davanum Srinivas
9266f7c457 Run Tests with python 3.5
Update tox.ini and .travis.yml to support python 3.5
2017-01-10 09:30:03 -05:00
mbohlool
2220b7e0c6 Add code test coverage for non-generated packages 2016-12-01 16:14:51 -08:00
mbohlool
2eec0e4219 update travis cofig 2016-11-17 14:50:26 -08:00
mbohlool
69b1cb1a35 Generated client 2016-11-02 13:38:36 -07:00