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

projectatomic / osbs-client / 763
70%
master: 86%

Build:
Build:
LAST BUILD BRANCH: obsb7503
DEFAULT BRANCH: master
Ran 18 Aug 2015 08:14AM UTC
Jobs 3
Files 15
Run time 3s
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
763

push

travis-ci

mmilata
Implement authentication with client certificates

Closes #160.

To test:

* Create cert/key pair for your OpenShift instance for user user_name
  and place them in the api_config directory:

      oadm create-api-client-config \
        --user=user_name \
        --client-dir=api_config \
        --certificate-authority=/etc/openshift/master/ca.crt \
        --signer-cert=/etc/openshift/master/master/ca.crt \
        --signer-key=/etc/openshift/master/ca.key \
        --signer-serial=/etc/openshift/master/ca.serial.txt

* Copy the api_config directory to your machine.
* Use osbs-client with client certificate authentication:

      osbs \
        -i yourinstance \
        --client-cert api_config/user_name.crt \
        --client-key api_config/user_name.key \
        --without-auth \
        get-user

  You should see Name: "user_name" in the output. Note that OAuth is not
  used here.

19 of 19 new or added lines in 4 files covered. (100.0%)

1198 of 1719 relevant lines covered (69.69%)

2.07 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
osbs/cli/main.py
4
100.0
osbs/core.py
4
100.0
osbs/http.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
osbs/build/build_response.py
1
100.0
osbs/cli/main.py
1
100.0
osbs/conf.py
2
100.0
osbs/exceptions.py
5
100.0
osbs/utils.py
6
100.0
osbs/build/spec.py
15
100.0
osbs/http.py
25
100.0
osbs/build/build_request.py
45
100.0
osbs/api.py
65
100.0
osbs/core.py
Jobs
ID Job ID Ran Files Coverage
1 763.1 18 Aug 2015 08:14AM UTC 0
68.7
Travis Job 763.1
2 763.2 18 Aug 2015 08:14AM UTC 0
68.7
Travis Job 763.2
3 763.3 18 Aug 2015 08:14AM UTC 0
69.46
Travis Job 763.3
Source Files on build 763
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #763
  • 922a8b82 on github
  • Prev Build on 160-client-cert-auth (#659)
  • Next Build on 160-client-cert-auth (#765)
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