siamaksade.openshift_workshopper

Ansible Role: Workshopper on OpenShift Build Status =========

This is an Ansible Role for setting up Workshopper on OpenShift. It serves as a guide for demos and workshops.

Role Variables

Variable Default Value Description
workshopper_name guides Name of the Workshopper service on OpenShift
workshopper_image_version latest Version of the Workshopper container from Docker Hub
workshopper_content_url_prefix https://raw.githubusercontent.com/osevg/workshopper-content/master Base URL for workshop content
workshopper_workshop_urls {{ workshopper_content_url_prefix }}/_workshops/training.yml List of workshop URLs, separated by commas
workshopper_env_vars {} Environment variables for the Workshopper container’s configuration
min_memory 128Mi Minimum memory requested
max_memory 512Mi Maximum memory allowed
min_cpu 0 Minimum CPU requested
max_cpu 0 Maximum CPU allowed
project_name workshopper Name of the OpenShift project for the Workshopper container
project_display_name Workshopper Display name of the OpenShift project for the Workshopper container
project_desc Workshopper Guides Description of the OpenShift project for the Workshopper container
project_annotations - Annotations for the OpenShift project
openshift_cli oc OpenShift CLI command and arguments (e.g. authentication)

OpenShift Version Compatibility

When adding this role to requirements.yml, specify the role version using a tag:

- src: siamaksade.openshift_workshopper
  version: 1.2.0

The following table shows compatible version combinations that have been tested:

Role Version OpenShift Version
1.0.x 3.7.x
1.1.x 3.9.x
1.2.x 3.10.x, 3.11.x

If a version combination is not listed, it does NOT mean it won't work. The table shows only the combinations we have tested.

Example Playbook

name: Example Playbook
hosts: localhost
tasks:
- import_role:
    name: siamaksade.openshift_workshopper
  vars:
    project_name: "cicd-project"
    workshopper_content_url_prefix: https://raw.githubusercontent.com/siamaksade/coolstore-demo-guides/openshift-3.7
    workshopper_workshop_urls: {{ workshopper_content_url_prefix }}/demo-cicd-eap-full.yml
    workshopper_env_vars:
      PROJECT_SUFFIX: "-XX"
      OPENSHIFT_MASTER: "http://myopenshift.com:8443"
      GOGS_DEV_USER: "gogs"
      GOGS_DEV_PASSWORD: "gogs"
      GOGS_REVIEWER_USER: "developer"
      GOGS_REVIEWER_PASSWORD: "developer"
    openshift_cli: "oc --server http://master:8443"
Informazioni sul progetto

Workshopper for OpenShift

Installa
ansible-galaxy install siamaksade.openshift_workshopper
Licenza
Unknown
Download
14.5k
Proprietario
Product Manager at Red Hat