Skip to main content

Packaging tool for Red Hat Ceph Storage product

Project description

https://travis-ci.org/red-hat-storage/rhcephpkg.svg?branch=master https://badge.fury.io/py/rhcephpkg.svg

A tool to package and build Red Hat Ceph Storage for Ubuntu.

rhcephpkg is a command-line tool similar to Red Hat’s “rpkg” family of tools, like fedpkg (open-source) or rhpkg (closed-source). In Red Hat we use this to package and build the RH Ceph Enterprise product for Ubuntu.

Configuration

$HOME/.rhcephpkg.conf should contain the following:

[rhcephpkg]
user=kdreyer
gitbaseurl = ssh://%(user)s@code.engineering.redhat.com/rcm/ceph-ubuntu/%(module)s
anongiturl = git://git.app.eng.bos.redhat.com/rcm/ceph-ubuntu/%(module)s.git

[rhcephpkg.jenkins]
token=5d41402abc4b2a76b9719d911017c592
url=https://rcm-jenkins.app.eng.bos.redhat.com/

[rhcephpkg.chacra]
url=https://ubuntu-ceph-test.brew.prod.eng.bos.redhat.com/

Substitute your settings:

  • user is your Red Hat Kerberos UID

  • token is your API token from Jenkins. To find this value, log into Jenkins’ Web UI (using your Kerberos username + password)

Commands

  • rhcephpkg clone - clone a “dist-git” repository. You must have a valid Kerberos ticket.

    We use Git repositories with layouts that interoperate with Debian’s git-buildpackage suite of tools.

    The clone operation uses your SSH key, which must be configured in Gerrit.

  • rhcephpkg build - Trigger a build in Jenkins.

  • rhcephpkg download - Download a build’s artifacts from chacra.

  • rhcephpkg hello - Test Jenkins authentication. Use this to verify your user and token settings.

  • rhcephpkg localbuild - Perform a local build using pbuilder.

  • rhcephpkg patch - Apply a patch-queue branch to a package.

  • rhcephpkg source - Build a source package on the local system.

Installing

Pre-built Ubuntu Trusty packages are available:

sudo apt-add-repository ppa:kdreyer-redhat/rhceph
sudo apt-get update
sudo apt-get install rhcephpkg

TODO

  • rhcephpkg push - Runs git push origin --tags and then git push origin. This will help with CI during rebases, so that Jenkins (via Gerrit) will pick up the branch change only after the new tags are already present.

  • rhcephpkg dch - Bump the changelog according to our “redhat” version number change pattern. This will help make rebases faster.

  • rhcephpkg merge-patches Do a fast-forward merge from the rdopkg-style “patches” remote. For example to merge the ceph-2 patches branch: git merge --ff-only patches/ceph-2-rhel-patches. (This command would need to automatically determine the name of the rdopkg patches branch.)

  • rhcephpkg amend - Amend the last Git commit to make the commit message align with the last debian/changelog entry. This would be similar to how rdopkg amend works (and some of this functionality is already present in rhcephpkg patch).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rhcephpkg-1.1.5.tar.gz (13.8 kB view details)

Uploaded Source

File details

Details for the file rhcephpkg-1.1.5.tar.gz.

File metadata

  • Download URL: rhcephpkg-1.1.5.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rhcephpkg-1.1.5.tar.gz
Algorithm Hash digest
SHA256 48f4053caa06fb5ab1322b57a92abf1cf3299109dde34f2e5c9e0cc6a4d403d0
MD5 c05da1ccfb459b4eadc8b876e70f3ecd
BLAKE2b-256 aea9982762396ed2fee16d8fa7e2e1687b6fb7d117f32a6dba37206fd2f5a2ff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page