• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hjacobs / pykube / 92
76%
master: 80%

Build:
Build:
LAST BUILD BRANCH: 19.12.0
DEFAULT BRANCH: master
Ran 07 Jun 2019 12:25PM UTC
Jobs 1
Files 10
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
92

push

travis-ci

hjacobs
Fix GCP support (#22)

* Fix GCP support

Updating the pykube[gcp] notice to pykube_ng[gcp].

Updating the scopes passed to the auth query to avoid the following:

```
Scope has changed from "https://www.googleapis.com/auth/cloud-platform" to "https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/userinfo.email openid".
Traceback (most recent call last):
  File "/Users/duffy/projects/kube-janitor/kube_janitor/main.py", line 59, in run_loop
    tiller=tiller
  File "/Users/duffy/projects/kube-janitor/kube_janitor/janitor.py", line 209, in clean_up
    for namespace in Namespace.objects(api):
  File "/Users/duffy/.virtualenvs/default/lib/python3.6/site-packages/pykube/query.py", line 133, in __iter__
    return iter(self.query_cache["objects"])
  File "/Users/duffy/.virtualenvs/default/lib/python3.6/site-packages/pykube/query.py", line 123, in query_cache
    cache["response"] = self.execute().json()
  File "/Users/duffy/.virtualenvs/default/lib/python3.6/site-packages/pykube/query.py", line 107, in execute
    r = self.api.get(**kwargs)
  File "/Users/duffy/.virtualenvs/default/lib/python3.6/site-packages/pykube/http.py", line 127, in get
    return self.session.get(*args, **self.get_kwargs(**kwargs))
  File "/Users/duffy/.virtualenvs/default/lib/python3.6/site-packages/pykube/http.py", line 39, in session
    self._session = build_session(self.config, self.gcloud_file)
  File "/Users/duffy/.virtualenvs/default/lib/python3.6/site-packages/pykube/session.py", line 23, in build_session
    s = _session_object("gcp", config, gcloud_file)
  File "/Users/duffy/.virtualenvs/default/lib/python3.6/site-packages/pykube/session.py", line 47, in _session_object
    return GCPSession(config, gcloud_file).create()
  File "/Users/duffy/.virtualenvs/default/lib/python3.6/site-packages/pykube/session.py", line 118, in create
    self._update_token()
  File "/Users/duffy/.virtualenvs/default/lib/python3.6/site-packa... (continued)

627 of 825 relevant lines covered (76.0%)

0.76 hits per line

Jobs
ID Job ID Ran Files Coverage
1 92.1 07 Jun 2019 12:25PM UTC 0
76.0
Travis Job 92.1
Source Files on build 92
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #92
  • aaa9e07c on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc