Skip to content
SUSEConnect Client
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
doc
docker
examples
features
lib
package
prophet
spec
.dockerignore
.gitignore
.rspec
.rubocop.yml
.rubocop_todo.yml
.ruby-version
.travis.yml
.yardopts
Dockerfile.12sp0
Dockerfile.12sp1
Dockerfile.12sp2
Dockerfile.12sp3
Dockerfile.15sp0
Gemfile
Guardfile
Jenkinsfile
Jenkinsfile-Prophet
LGPL_2.1
LICENSE
PACKAGE.md
README.md
Rakefile
SUSEConnect.5.ronn
SUSEConnect.8.ronn
suse-connect.gemspec

README.md

Build Status Dependency Status Code Climate Coverage Status

SUSEConnect

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 https://scc.suse.com 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)

For SLES12SP0

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

For SLES12SP1

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

For SLES12SP2

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

For SLES12SP3

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

For SLES15SP0

  • 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 rspec

Run Cucumber

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

Run Rubocop

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

Run integration tests & cucumber

  • docker run --privileged --rm -t connect.12sp0 sh docker/integration.sh
You can’t perform that action at this time.