edit | blame | history | raw

The Manual Menace

In this lab learners will use Ansible to drive automated provisioning of Projects, Access Control, Git, Jenkins and Nexus


Learning Outcomes

As a learner you will be able to

  1. Run the OpenShift Applier to automate creating cluster content
  2. Create and admin project namespaces in OpenShift
  3. Deploy commonly used applications to support the development process

Tools and Frameworks

  • GitLab - Community driven Git server now with integrated DevOps Toolchain.
  • Nexus - Repository manager for storing lots of application types. Can also host npm and Docker registries.
  • Jenkins - OpenSource Build automation server. Highly customisable with plugins.
  • Ansible - IT Automation tool used to provision and manage state of cloud and physical infrastructure.
  • OpenShift Applier - Community driven Git server

Big Picture

This exercise begins with an empty Cluster

TODO - add big picture here...


10,000 Ft View

This lab is aimed at the creation of the tooling that will be used to support the rest of the Exercises. The highlevel goal is to create a collection of project namespaces and populate them with Git, Jenkins & Nexus.

If you're feeling confident and don't want to follow the step-by-step guide these highlevel instructions should provide a challenge for you:

  1. Clone the repo git@github.com:rht-labs/enablement-ci-cd.git which contains the scaffold of the project.
  2. Create <your-name>-ci-cd, <your-name>-dev and <your-name>-test project namespaces using the inventory and run them with the OpenShift Applier to populate the cluster
  3. Use the templates provided to create build and deployment configs in <your-name>-ci-cd for:
    • Nexus
    • GitLab
    • Jenkins
  4. Commit your enablement-ci-cd repository to the GitLab Instance you've created

Step by Step Instructions

This is a structured guide with references to exact filenames and sections of text to be added.

Part 1 - do some things

  1. Do thing using tool X.
  2. Insert blah into file1.txt
    export SOME_THING=biscuits
  3. Open console and navigate to New Item and click it new-item

Part 2 - do some other things

  1. Do other things

Extension Tasks

Ideas for go-getters. Advanced topic for doers to get on with if they finish early. These will usually not have a solution and are provided for additional scope.

  • Add Auth to your application
  • Do some other stuff

Additional Reading

> List of links or other reading that might be of use / reference for the exercise