Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • View All Red Hat Products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Secure Development & Architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • Product Documentation
    • API Catalog
    • Legacy Documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

How Team Inception CI/CDs

September 18, 2014
Jen Krieger Ryan Cook Steve Milner Chris Murphy Tim Bielawa
Related topics:
DevOps
Related products:
Developer Tools

Share:

    Our infrastructure and how we continuously integrate and deliver (CI/CD) our code changes with each piece of work we finish. We fully expect that it will change even more as we bring up A|B functionality & enhance our testing process. However, we thought it would be fun to give a closer look into the team's pipeline from checking out code to integration testing.

    CI/CD Team Inception

    Check out code

    We use a combination of github.com and an internal installation of gitolite, depending on what we are storing. Obviously, external code is stored on github but we also store the code in gitolite with internal configurations.

    The developer checks out code from the appropriate location, writes unit tests, writes code to pass unit tests, and checks everything back in. Upon check-in to github, our external build processes are kicked off.

    Build (external) + unit test

    Travis CI is our current tool of choice for external continuous integration. The build includes coverage.py, which evaluates the % of code coverage for each release engine component. If it falls below an overall 80%, the build will be considered a failure.

    Screenshot 2014-09-12 13.25.31Travis build status is displayed on a team radiator in real time. The radiator cycles through multiple information screens using a Red Hat IT developed tool called RNOC. Our information radiator includes not only build information for all of the tools we support, but also outstanding defect lists, current iteration status, our overall sprint goals, and team improvement goals.

    Build (internal)

    After Travis has had a successful build and we are ready to deploy our code the developer logs into Jenkins and clicks the 'build now' button. This process kicks off the internal building, packaging, and pushing of artifacts.

    Package & Push RPMs

    The Jenkins job first uses Mock to package RPMs and then Juicer to upload/promote the RPMs where they are needed to be stored in Pulp.

    • Mock is a tool for chroot based package building.
    • Juicer is a pulp administration tool that helps us create juicer carts (collections of related RPMs; for example, all of the RPMs for a deployment), upload, and promote as needed.
    • Pulp is used to store the RPMs in yum repositories.

    Build Image

    Once the RPM is created, the same Jenkins job will build a docker image, using RHEL 6.5 containers on RHEL7, that will contain the newest RPM along with the unique configurations for the different environments.

    Push Image

    The docker image, which now contains the newest RPM and environmental configuration, will then be uploaded into an internal docker repository. The repo allows the team to either perform local testing on their laptops or deploy to the docker host. Once the RPMs & images work is complete, Jenkins will notify the team via email.

    Images are deployed throughout the different environments manually which ensures proper testing will take place in lower environments (also a jenkins job) before anything goes to stage and production.

    With the exception of the two manual steps to kick off our internal build process and pushing the docker images out to the different environments, the process takes around 10 minutes.

    Integration Testing

    At this time, our integration testing process is simple. We continuously run a sample playbook in our development environment every 30 minutes and will get notifications in IRC upon start, and completion or failure of the playbook run.

    Future State

    • We were wanting to have our internal code built and images deployed automatically to our development environment, but were waiting to build our stage and production environments before we enhance that process. Happily, we just finished stage & production with the end of the last sprint.
    • Eventually we will integrate our release engine tooling into this process -- we first want an A|B environment + feature flagging running -- with the intention of letting the release engine orchestrate its own release process. So meta! So Inception!

    We know from experience in Red Hat IT that everyone does CI/CD a little bit differently. We'd love to hear what you are doing and how you are doing it. Additionally, over the next few blogs, the team will be talking about other things we are working on, including an enhancement we made to our unit tests which makes them compatible with Software Collections.

    Read other articles from Team Inception.

    Last updated: February 7, 2024

    Recent Posts

    • Kubernetes MCP server: AI-powered cluster management

    • Unlocking the power of OpenShift Service Mesh 3

    • Run DialoGPT-small on OpenShift AI for internal model testing

    • Skopeo: The unsung hero of Linux container-tools

    • Automate certificate management in OpenShift

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2025 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue