Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
74e1806378 | ||
|
|
761ea577d7 |
@@ -3,23 +3,11 @@ schemaVersion: 2.2.0
|
|||||||
metadata:
|
metadata:
|
||||||
name: product-demos
|
name: product-demos
|
||||||
components:
|
components:
|
||||||
- name: tooling-container
|
- name: product-demos-ee
|
||||||
container:
|
container:
|
||||||
image: quay.io/devspaces/ansible-creator-ee@sha256:04c7aa48f34ab28dc21f36acfe472b249f29c24d1a52d98b2c8da75dd6587d79
|
image: quay.io/mloriedo/ansible-creator-ee:latest # workaround for https://github.com/eclipse/che/issues/21778
|
||||||
memoryRequest: 256M
|
memoryRequest: 256M
|
||||||
memoryLimit: 6Gi
|
memoryLimit: 5Gi
|
||||||
cpuRequest: 250m
|
cpuRequest: 250m
|
||||||
cpuLimit: 2000m
|
cpuLimit: 2000m
|
||||||
args: ['tail', '-f', '/dev/null']
|
args: ['tail', '-f', '/dev/null']
|
||||||
commands:
|
|
||||||
- id: oc-install
|
|
||||||
exec:
|
|
||||||
commandLine: '/usr/local/bin/ansible-playbook ${PROJECT_SOURCE}/.install_oc.yaml'
|
|
||||||
workingDir: ${PROJECT_SOURCE}
|
|
||||||
group:
|
|
||||||
kind: build
|
|
||||||
isDefault: true
|
|
||||||
component: tooling-container
|
|
||||||
events:
|
|
||||||
postStart:
|
|
||||||
- "oc-install"
|
|
||||||
|
|||||||
@@ -1,39 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Create
|
|
||||||
hosts: localhost
|
|
||||||
connection: local
|
|
||||||
gather_facts: false
|
|
||||||
no_log: false
|
|
||||||
vars:
|
|
||||||
molecule_pip_dependencies:
|
|
||||||
- kubernetes
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Store user ENVs
|
|
||||||
ansible.builtin.set_fact:
|
|
||||||
molecule_user_home_dir: "{{ lookup('ansible.builtin.env', 'HOME') }}"
|
|
||||||
molecule_user_path: "{{ lookup('ansible.builtin.env', 'PATH') }}"
|
|
||||||
|
|
||||||
- name: Create local bin directory
|
|
||||||
ansible.builtin.file:
|
|
||||||
path: "{{ molecule_user_home_dir }}/bin"
|
|
||||||
state: directory
|
|
||||||
mode: 0770
|
|
||||||
|
|
||||||
- name: Download oc binary from OCP downloads svc endpoint
|
|
||||||
ansible.builtin.get_url:
|
|
||||||
url: http://downloads.openshift-console.svc.cluster.local/amd64/linux/oc
|
|
||||||
dest: "{{ molecule_user_home_dir }}/bin/oc"
|
|
||||||
mode: '0770'
|
|
||||||
|
|
||||||
- name: Add another bin dir to system-wide $PATH.
|
|
||||||
ansible.builtin.lineinfile:
|
|
||||||
path: "{{ molecule_user_home_dir }}/.bashrc"
|
|
||||||
line: 'PATH=$PATH:{{ molecule_user_home_dir }}/bin'
|
|
||||||
state: present
|
|
||||||
|
|
||||||
- name: Ensure python dependencies are installed
|
|
||||||
ansible.builtin.pip:
|
|
||||||
name: "{{ molecule_pip_dependencies }}"
|
|
||||||
state: present
|
|
||||||
when: molecule_pip_dependencies is defined
|
|
||||||
29
GOALS.md
Normal file
29
GOALS.md
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
# GOALS
|
||||||
|
|
||||||
|
## Why does the Ansible Product Demos (APD) project exist?
|
||||||
|
|
||||||
|
The Ansible Product Demos (APD) project is a field-driven repository of common, reusable AAP config-as-code content meant to be used for demos and proof-of-concept scenarios.
|
||||||
|
|
||||||
|
## Who is the audience for APD?
|
||||||
|
|
||||||
|
The main audience for APD are people in a technical pre-sales role who want to demo AAP capabilities to customers.
|
||||||
|
|
||||||
|
Pre-sales personas include:
|
||||||
|
- Account Solution Architects - Run simple demos for customers
|
||||||
|
- Automation Specialists - Run more complex demos, or use APD as example content for hackathons, PoCs, etc.
|
||||||
|
|
||||||
|
A long-term goal is to ensure all APD content is solid enough to allow a customer to install the demos in their environment and use the workflows and job templates with confidence.
|
||||||
|
|
||||||
|
Customer personas include:
|
||||||
|
- Customers evaluating AAP who want pre-built content to explore
|
||||||
|
|
||||||
|
## What are the project goals?
|
||||||
|
|
||||||
|
### Primary Goals
|
||||||
|
- Build a curated set of demos that are widely impactful and reusable
|
||||||
|
- Keep existent content well-maintained and up-to-date
|
||||||
|
- Support a target environment of demo.redhat.com for Red Hat technical sellers and partners
|
||||||
|
|
||||||
|
### Secondary Goals
|
||||||
|
- target environment of a customer environment where installation and configuration may be slightly different than demo.redhat.com
|
||||||
|
- Create additional impactful demos that can be reused across multiple customer accounts
|
||||||
@@ -1,18 +1,12 @@
|
|||||||
---
|
---
|
||||||
controller_components:
|
controller_components:
|
||||||
- projects
|
- execution_environments
|
||||||
|
- credential_types
|
||||||
- credentials
|
- credentials
|
||||||
- inventory_sources
|
- inventory_sources
|
||||||
- job_templates
|
- job_templates
|
||||||
- workflow_job_templates
|
- workflow_job_templates
|
||||||
|
|
||||||
controller_projects:
|
|
||||||
- name: USR App
|
|
||||||
organization: Default
|
|
||||||
scm_type: git
|
|
||||||
wait: true
|
|
||||||
scm_url: https://github.com/willtome/usr-workshop
|
|
||||||
|
|
||||||
controller_credentials:
|
controller_credentials:
|
||||||
- name: OpenShift Credential
|
- name: OpenShift Credential
|
||||||
organization: Default
|
organization: Default
|
||||||
@@ -192,17 +186,6 @@ controller_templates:
|
|||||||
credentials:
|
credentials:
|
||||||
- "OpenShift Credential"
|
- "OpenShift Credential"
|
||||||
|
|
||||||
- name: OpenShift / USR App
|
|
||||||
job_type: run
|
|
||||||
inventory: "Demo Inventory"
|
|
||||||
project: "USR App"
|
|
||||||
playbook: "ansible_playbooks/deploy.yaml"
|
|
||||||
notification_templates_started: Telemetry
|
|
||||||
notification_templates_success: Telemetry
|
|
||||||
notification_templates_error: Telemetry
|
|
||||||
credentials:
|
|
||||||
- "OpenShift Credential"
|
|
||||||
|
|
||||||
controller_workflows:
|
controller_workflows:
|
||||||
- name: OpenShift / CNV / Infra Stack
|
- name: OpenShift / CNV / Infra Stack
|
||||||
description: A workflow to deploy Virtualized infra in OCP Virtalization
|
description: A workflow to deploy Virtualized infra in OCP Virtalization
|
||||||
@@ -252,4 +235,3 @@ controller_workflows:
|
|||||||
unified_job_template: 'SUBMIT FEEDBACK'
|
unified_job_template: 'SUBMIT FEEDBACK'
|
||||||
extra_data:
|
extra_data:
|
||||||
feedback: Failed to create CNV instance
|
feedback: Failed to create CNV instance
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user