Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.56 KB

README.md

File metadata and controls

26 lines (21 loc) · 1.56 KB

foreman-plugin

This plugin extends the Foreman UI ( https://github.com/theforeman/foreman ) with features that allow subscribed users to interact with the Red Hat Customer Portal. This includes ability to search the Red Hat Knowledge Base, Support Case Management and Log Diagnostics.

Satellite .rpm Builds

Installable rpms are built by koji brew via the satellite-packaging repository. Follow the directions pointed to in the repo README to install the necessary packages to use obal, the build front-end utility, or use the Dockerfile in the build directory to create a suitable image.

  1. git clone the satellite-packaging repository
  2. git checkout <satellite-version> (git branch --all for list)
  3. gem build redhat_access.gemspec to build your new gem
  4. Copy your new gem to satellite-packaging/packages/rubygem-redhat_access
  5. Update satellite-packaging/packages/rubygem-redhat_access.spec with the new redhat_access gem version
  6. (optional) docker build -t plugin_builder
  7. (optional) docker run -it -v $(pwd)/../satellite-packaging:/root/satellite-packaging --rm plugin_builder
  8. cd to the satellite-packaging dir
  9. Koji brew uses your kerberos credentials so kinit <your ldap id>@REDHAT.COM
  10. obal setup
  11. obal scratch rubygem-redhat_access

To install your newly built plugin on a satellite: satellite-maintain packages install tfm-rubygem-redhat_access-2.2.19-1.el7sat.noarch.rpm