Code Monkey home page Code Monkey logo

ceph-ansible-cbs's Introduction

Build ceph-ansible in CBS

The run.py script in this repository runs within Jenkins any time Jenkins sees a new ceph-ansible Git tag. It creates a new SRPM and builds that in the CentOS Build System (aka Koji, "CBS").

Detailed steps:

  • Jenkins listens for new ceph-ansible tags in GitHub. (This is an internal Jenkins system, and the JJB configuration currently lives outside this repository, so just imagine this part).

  • Ensure the prerequisites tools are installed on the slave system, eg the "centos-packager" package must be installed.

  • make srpm

  • Map ceph-ansible versions to CBS build targets. For example, ceph-ansible "v3" should be built in the "mimic" CBS build target (We will need to tweak these mappings over time as upstream ceph-ansible and ceph evolve.)

  • Authenticate Jenkins user for CBS.

  • cbs build this ceph-ansible .src.rpm file for the appropriate CBS target.

  • Tag the build into any additional -candidate tags. For example, new ceph-ansible v3 builds should be immediately tagged into "-luminous-candidate" after they are built in the -mimic build target.

When this is complete, a new ceph-ansible RPM is available in the CBS -candidate tag for the Storage SIG.

Authentication

Jenkins uses the Credentials Binding plugin to copy a CentOS FAS certificate to the Jenkins slave. The path to the certificate is stored in a CENTOS_CERT environment variable, and this script will symlink ~/.centos.cert to that location.

TODO:

  • Upload source to dist-git

  • Figure out what to do for building directly from ceph-ansible master, so TripleO can consume the latest ceph-ansible bits even sooner.

  • Expand this for more packages (eg. ceph and nfs-ganesha)

ceph-ansible-cbs's People

Contributors

gfidente avatar ktdreyer avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.