Welcome TCQAA DEVOPS THE FUTURE OF TESTING Devops

  • Slides: 24
Download presentation

Welcome TCQAA DEVOPS & THE FUTURE OF TESTING

Welcome TCQAA DEVOPS & THE FUTURE OF TESTING

Devops & QA Why Dev. Ops The Goal QA and Dev. Ops: The QA

Devops & QA Why Dev. Ops The Goal QA and Dev. Ops: The QA Roles Change for the better Integrating the Dev. Ops practice in QA Clouds, VM’s, Containers– The Building Blocks Dev. Ops in Action – Demo Infrastructure and Toolchain Q&A www. swatsolutions. com 952 -500 -6000

Dev. Ops and QA www. swatsolutions. com 952 -500 -6000

Dev. Ops and QA www. swatsolutions. com 952 -500 -6000

www. swatsolutions. com 952 -500 -6000

www. swatsolutions. com 952 -500 -6000

www. swatsolutions. com 952 -500 -6000

www. swatsolutions. com 952 -500 -6000

www. swatsolutions. com 952 -500 -6000

www. swatsolutions. com 952 -500 -6000

THE GOAL Workflows that make application delivery frictionless—a developer can push his or her

THE GOAL Workflows that make application delivery frictionless—a developer can push his or her code to a source repository, and infrastructure is automatically deployed to support test processes that can push an application all the way to production without human intervention. www. swatsolutions. com 952 -500 -6000

The QA Roles Change for the better • • • Testing is more than

The QA Roles Change for the better • • • Testing is more than just the App Understand the entire deployment process Build what is needed for Test and Monitoring Dev, Stage and Production Environments Manage Reporting and Instrumentation www. swatsolutions. com 952 -500 -6000

Devops Keys • Infrastructure as code • Provisioning Environments • Automated application deployment •

Devops Keys • Infrastructure as code • Provisioning Environments • Automated application deployment • Knowledge sharing • Continuous integration and delivery • Automated test harness deployment • Continuous Testing • Instrumentation, Logging and Monitoring • Analysis www. swatsolutions. com 952 -500 -6000

Dev. Ops • • Continuous Deployment Continuous Innovation Continuous Monitoring/ Modeling Continuous Quality www.

Dev. Ops • • Continuous Deployment Continuous Innovation Continuous Monitoring/ Modeling Continuous Quality www. swatsolutions. com 952 -500 -6000

C# /. NET Java Dev Script and Manage Test Automation GUI /CLI Interfaces Cloud

C# /. NET Java Dev Script and Manage Test Automation GUI /CLI Interfaces Cloud Deploy and Mange Test Environments Test Automation Deployment Monitoring Reporting Pipeline All Testing Automated Unit Tests Functional Tests Performance Tests Application Traditional QA QA in Dev. Ops Cloud Knowledge and Pipeline Knowledge required to Perform Continuous QA on Application www. swatsolutions. com 952 -500 -6000

Leverage the Pipeline Deploy Complex Environments Deploy Test Environments Run Tests Capture Data Tear

Leverage the Pipeline Deploy Complex Environments Deploy Test Environments Run Tests Capture Data Tear Down Repeat, Dev, Stage, Prod www. swatsolutions. com 952 -500 -6000

Devops & QA – Know your Tool Options Dev. Ops – The Tool Chain

Devops & QA – Know your Tool Options Dev. Ops – The Tool Chain • Source Control • Orchestration Tools • CI/CD Tools • Hypervisors/Clouds • Containers App/Service Deployment • Monitoring www. swatsolutions. com 952 -500 -6000

The Building Blocks Develop Test Deploy Monitor Log Manage Security Collaboration www. swatsolutions. com

The Building Blocks Develop Test Deploy Monitor Log Manage Security Collaboration www. swatsolutions. com 952 -500 -6000

Docker - Build and Run in Containers Abstract the underlying infrastructure and middleware: •

Docker - Build and Run in Containers Abstract the underlying infrastructure and middleware: • • Runtime Environments Services Desired State Configurations Everything need to run the AUT • Using: • Described as Code (IAC) • Orchestration and Deploy Docker Kubernetes Open Shift , Docker. Cloud www. swatsolutions. com 952 -500 -6000

Docker Build QA Pipeline then Use image until change is Needed services: nexus: build:

Docker Build QA Pipeline then Use image until change is Needed services: nexus: build: . /nexus ports: - "18081: 8081" networks: - prodnetwork Docker Build version: '2' Docker Compose up jenkins: build: . /jenkins ports: - "18080: 8080" networks: - prodnetwork volumes: - /var/run/docker. sock: /var/run/docker. sock - /usr/bin/docker: /usr/bin/docker - /opt/jenkins/: /var/lib/jenkins/ depends_on: - nexus - gitlab FROM jenkins: 2. 19. 4 # Adding default Jenkins Jobs COPY jobs/3 -conference-app-seed-job. xml /usr/share/jenkins/ref/jobs/3 -conference-app-seed-job/config. xml COPY jobs/3 -conference-app-seed-job-dev. xml /usr/share/jenkins/ref/jobs/3 -conference-app-seed-job-dev/config. xml COPY jobs/3 -conference-app-seed-job-qa. xml /usr/share/jenkins/ref/jobs/3 -conference-app-seed-job-qa/config. xml COPY jobs/3 -conference-app-seed-job-preprod. xml /usr/share/jenkins/ref/jobs/3 -conference-app-seed-job-preprod/config. xml COPY jobs/4 -selenium 2 -seed-job. xml /usr/share/jenkins/ref/jobs/4 -selenium 2 -seed-job/config. xml COPY jobs/5 -docker-admin-seed-job. xml /usr/share/jenkins/ref/jobs/5 -docker-admin-seed-job/config. xml networks: prodnetwork: driver: bridge services: nexus: image: rburton 04/nexus: tcqaa ports: - "18081: 8081" networks: - prodnetwork jenkins: image: rburton 04/jenkins: tcqaa ports: - "18080: 8080" networks: - prodnetwork volumes: - /var/run/docker. sock: /var/run/docker. sock - /usr/bin/docker: /usr/bin/docker - /opt/jenkins/: /var/lib/jenkins/ depends_on: - nexus - gitlab environment: - NEXUS_PORT=8081 - SONAR_PORT=9000 - SONAR_DB_PORT=5432 www. swatsolutions. com 952 -500 -6000

Demo

Demo

The Tools For Our Pipeline Develop CI/CD Orchestration Test Monitor Docker Compose www. swatsolutions.

The Tools For Our Pipeline Develop CI/CD Orchestration Test Monitor Docker Compose www. swatsolutions. com 952 -500 -6000

QA Devops Docker Cloud Orchestration AWS Infrastructure GIT Development Sonar/Portainer New. Relic/ELK Test Framework

QA Devops Docker Cloud Orchestration AWS Infrastructure GIT Development Sonar/Portainer New. Relic/ELK Test Framework Docker AUT Dev Unit Git. Lab AUT Branches Test Folders Drop Folder Integration Docker/AUT QA Integration Jenkins Docker/AUT Pre. Prod E 2 E UI Drop Folder E 2 E Drop Folder UI Android IOS Docker Cloud Production Deploy Monitor Firefox Selenium Server Chrome www. swatsolutions. com 952 -500 -6000

Pipeline Example www. swatsolutions. com 952 -500 -6000

Pipeline Example www. swatsolutions. com 952 -500 -6000

Monitoring Instrumentation www. swatsolutions. com 952 -500 -6000

Monitoring Instrumentation www. swatsolutions. com 952 -500 -6000

Summary Learn to Navigate the Tools Understand How everything works together • Containers •

Summary Learn to Navigate the Tools Understand How everything works together • Containers • Tests • Instrumentation • Automate the spin up of the whole thing • Keep it agile for easy changes www. swatsolutions. com 952 -500 -6000

THANK YOU www. swatsolutions. com 952 -500 -6000

THANK YOU www. swatsolutions. com 952 -500 -6000