Ruby Roff Gherkin Other
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin fix build for SLE15 Dec 7, 2017
doc Update Jan 25, 2018
docker Simplify Mar 5, 2018
examples Bash script for OEM now is an example Jan 9, 2018
features Activate recommended extensions on base activation Mar 13, 2018
lib Replaced walk_tree with flatten_tree and changed variable naming in s… Mar 13, 2018
package Update missing changes in changes file Mar 14, 2018
prophet Limit on what systems prophet runs Mar 7, 2018
spec Make flatten_tree spec tests more nice Mar 14, 2018
.dockerignore Add SLE15 Dockerfile and run integration tests on it Feb 27, 2018
.gitignore remove generated file from git Dec 8, 2017
.rspec remove trailing space Apr 2, 2014
.rubocop.yml No need to exlude non-existent file in rubocop Mar 6, 2018
.rubocop_todo.yml Regenerate rubocop_todo using rubocop 0.52.1 Feb 16, 2018
.ruby-version add ruby-version Sep 29, 2017
.travis.yml Run travis on 2.5.0 as well Feb 28, 2018
.yardopts Docuemntation for api class Feb 6, 2014
Dockerfile.12sp0 Remove internal repos after adding and using them Mar 5, 2018
Dockerfile.12sp1 Remove internal repos after adding and using them Mar 5, 2018
Dockerfile.12sp2 Remove internal repos after adding and using them Mar 5, 2018
Dockerfile.12sp3 Remove internal repos after adding and using them Mar 5, 2018
Dockerfile.15sp0 Remove internal repos after adding and using them Mar 5, 2018
Gemfile Update to latest aruba & remove absolute paths workaround Mar 6, 2018
Jenkinsfile Make Jenkinsfile declarative and better utilize parallelization Mar 6, 2018
Jenkinsfile-Prophet Fix typo Dec 22, 2017
LGPL_2.1 Change licence to lgpl 2.1 Feb 6, 2014
LICENSE Updated Licence and README Feb 6, 2014 Update Feb 15, 2018 Update README Mar 8, 2018
Rakefile Remove previous build task Feb 15, 2018
SUSEConnect.5.ronn manpage fixes Jan 31, 2017
SUSEConnect.8.ronn Docs rephrasing May 5, 2017
suse-connect.gemspec auto correct rubocop offences Jul 6, 2015

Build Status Dependency Status Code Climate Coverage Status


SUSEConnect is a command line tool for connecting a client system to the SUSE Customer Center. It will connect the system to your product subscriptions and enable the product repositories/services locally.

SUSEConnect is distributed as RPM for all SUSE distributions and gets built in the openSUSE build service.

Please visit to see and manage your subscriptions.

SUSEConnect communicates with SCC over this REST API.

Rake tasks

rake bump     # increase version of a gem
rake console  # Run console loaded with gem
rake rubocop  # Run Rubocop
rake spec     # Run RSpec

Docker usage

Build an image (and everytime you change code)


  • docker build -t connect.12sp0 -f Dockerfile.12sp0 .


  • docker build -t connect.12sp1 -f Dockerfile.12sp1 .


  • docker build -t connect.12sp2 -f Dockerfile.12sp2 .


  • docker build -t connect.12sp3 -f Dockerfile.12sp3 .


  • docker build -t connect.15sp0 -f Dockerfile.15sp0 .

Run commands

Note: Substitute connect.12sp0 with the respective image you've built above.

Open a console

  • docker run --privileged --rm -ti connect.12sp0 /bin/bash

Run RSpec

  • docker run --privileged --rm -t connect.12sp0 su nobody -c rspec

Run Cucumber

  • docker run --privileged --rm -t connect.12sp0 cucumber

Run Rubocop

  • docker run --privileged --rm -t connect.12sp0 su nobody -c rubocop

Or run whole set of tests together

  • docker run --privileged --rm -t connect.12sp0 sh docker/