Skip to content

A skeleton repo inspired by labs ci/cd to use with the enablement docs material

Notifications You must be signed in to change notification settings

gsampaio-rh/enablement-ci-cd

 
 

Repository files navigation

Open Innovation Labs Enablement CI/CD Exercise

Repository hosts the Labs Enablement material. It is a working skeleton that learners will use in conjunction with the enablement-docs.

Basic usage

  1. Clone this repository.
  2. Log on to an OpenShift server oc login -u <user> https://<server>:<port>/
  3. Install the required openshift-applier dependency:
ansible-galaxy install -r requirements.yml --roles-path=roles
  1. Run the play book using this to create projects and roles
ansible-playbook apply.yml -i inventory/ -e target=bootstrap
  1. Run the play book using this to create projects and roles
ansible-playbook apply.yml -i inventory/ -e target=tools

Running a Subset of the Inventory

  1. See the docs in casl-ansible
  2. The only required tag to deploy objects within the inventory is projects, all other tags are optional
  3. Here is an example that runs the tags that provision projects, ci, and jenkins objects:
ansible-playbook apply.yml -e target=tools \
     -i inventory/ \
     -e "filter_tags=jenkins,ci,projects"

About

A skeleton repo inspired by labs ci/cd to use with the enablement docs material

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%