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

hjacobs / pykube
76%
master: 80%

Build:
Build:
LAST BUILD BRANCH: 19.12.0
DEFAULT BRANCH: master
Repo Added 03 Mar 2019 10:51AM UTC
Files 10
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

LAST BUILD ON BRANCH 0.22
branch: 0.22
CHANGE BRANCH
x
Reset
  • 0.22
  • 0.17
  • 0.17a2
  • 0.18
  • 0.19
  • 0.20
  • 0.21
  • 0.23
  • 0.24
  • 0.25
  • 0.26
  • 0.27
  • 0.28
  • 0.29
  • 0.30
  • 19.10.0
  • 19.12.0
  • 19.9.0
  • 19.9.1
  • 19.9.2
  • as-table
  • do-not-overwrite-authorization-header
  • docs
  • howtos
  • http-timeout
  • interactive-console
  • kopf-changes
  • master
  • more-tests
  • pdb
  • pykube-ng
  • setdefault
  • users

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

Relevant lines Covered
Build:
Build:
825 RELEVANT LINES 627 COVERED LINES
0.76 HITS PER LINE
Source Files on 0.22
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
92 0.22 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" ... push 07 Jun 2019 12:25PM UTC hjacobs travis-ci pending completion  
See All Builds (175)
  • Repo 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