Redhat CI CD
Redhat CI CD
for CI/CD
Jonathan Lozada De La Matta
Senior Consultant, Red Hat Consulting Automation Practice
Andrew Huffman
Senior Consultant, Red Hat Consulting Northeast Region
WHAT IS CI/CD?
● While building your code used for testing, you can also
deploy virtual machines to install and configure the
application.
● Your CI/CD application can make API calls to Ansible
Tower to deploy the infrastructure and application.
● You can use the same model to automatically build
different versions and stages of the code.
HOW DO YOU CONNECT ALL THE PIECES TOGETHER?
# source of .travis.yml
---
sudo: required
language: python
services:
- docker
before_install:
- sudo apt-get -qq update
install:
- pip install molecule
# - pip install required driver (e.g. docker,
python-vagrant, shade, boto, apache-libcloud)
script:
- molecule test
GITLAB-CI MOLECULE EXAMPLE
before_script:
- pip3.6 install virtualenv
- virtualenv virtenv
- source virtenv/bin/activate
# source of .travis.yml
---
sudo: required
language: python
services:
- docker
before_install:
- sudo apt-get -qq update
install:
- pip install molecule
# - pip install required driver (e.g. docker,
python-vagrant, shade, boto, apache-libcloud)
script:
- molecule test
RED HAT CONSULTING METHODOLOGY
ITERATE
DESIGN
DISCOVER
DEPLOY
ENABLE
ACCELERATE IT WITH ANSIBLE AUTOMATION OFFERING PORTFOLIO
BEGIN
Unify and Evolve Automate I.T. Standardize & Standardize & Compliance
Systems Workflows Automate App Automate Automation
Management Delivery Network
Simplify virtual Streamline Configuration
Standardize
and/or cloud current process Coming soon...
application
service and Enable network
definition,
provisioning and procedure automation within
dependencies and
lifecycle workflows traditional and
deployment by
management by using Ansible to virtual networking
leveraging tools Implement full environments
create reusable
such as Ansible CI/CD pipeline by leveraging Ansible
components and
Core, Ansible leveraging best in
coupling them to a
Tower and breed third party
defined workflow
CloudForms open source tools
within Ansible
with Ansible
Tower