Presentation is loading. Please wait.

Presentation is loading. Please wait.

DEVOPS & THE FUTURE OF TESTING

Similar presentations


Presentation on theme: "DEVOPS & THE FUTURE OF TESTING"— Presentation transcript:

1

2 DEVOPS & THE FUTURE OF TESTING
Welcome TCQAA DEVOPS & THE FUTURE OF TESTING

3 Devops & QA Why DevOps The Goal
QA and DevOps: The QA Roles Change for the better Integrating the DevOps practice in QA Clouds, VM’s, Containers– The Building Blocks DevOps in Action – Demo Infrastructure and Toolchain Q&A

4 DevOps and QA

5

6

7

8 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.

9 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

10 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

11 DevOps Continuous Deployment Continuous Innovation Continuous Monitoring/ Modeling Continuous Quality

12 Deploy and Mange Test Environments Test Automation Deployment Monitoring Reporting All Testing Automated Unit Tests Functional Tests Performance Tests Script and Manage Test Automation GUI /CLI Interfaces C# / .NET Java We were Isolated now we are DevOPs Dev Cloud Pipeline Application Traditional QA QA in DevOps Cloud Knowledge and Pipeline Knowledge required to Perform Continuous QA on Application

13 Leverage the Pipeline Deploy Complex Environments
Deploy Test Environments Run Tests Capture Data Tear Down Repeat, Dev, Dev. Dev, Stage,Prod

14 Devops & QA – Know your Tool Options
The Tool Chain Source Control Orchestration Tools CI/CD Tools Hypervisors/Clouds Containers App/Service Deployment Monitoring Know your tool options

15 The Building Blocks Develop Test Deploy Monitor Log Manage Security
Collaboration

16 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 , DockerCloud What do containers provide – the building blocks for quick deploys and management

17 Docker Build QA Pipeline then Use image until change is Needed
version: '2' networks: prodnetwork: driver: bridge services: nexus: image: rburton04/nexus:tcqaa ports: - "18081:8081" - prodnetwork jenkins: image: rburton04/jenkins:tcqaa - "18080:8080" 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 services: nexus: build: ./nexus ports: - "18081:8081" networks: - prodnetwork jenkins: build: ./jenkins - "18080:8080" volumes: - /var/run/docker.sock:/var/run/docker.sock - /usr/bin/docker:/usr/bin/docker - /opt/jenkins/:/var/lib/jenkins/ depends_on: - nexus - gitlab Docker Compose up Docker build gets your container to desired stat with stuff you have configured then becomes and image you deploy. Commit additional changes to new images as needed and your process matures Docker Build 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-selenium2-seed-job.xml /usr/share/jenkins/ref/jobs/4-selenium2-seed-job/config.xml COPY jobs/5-docker-admin-seed-job.xml /usr/share/jenkins/ref/jobs/5-docker-admin-seed-job/config.xml

18 Demo

19 The Tools For Our Pipeline
Develop CI/CD Orchestration Test Monitor The Tools for our Devops Demo Docker Compose

20 Docker Cloud Orchestration
QA Devops Docker Cloud Orchestration AWS Infrastructure Sonar/Portainer NewRelic/ELK GIT Development Plan -> Code -> Build -> Test -> Release -> Deploy -> Operate -> Monitor Sub slides for each OK but stay 30min – Developers working on branches of code The Commit and Push Gitlab Pulls the Changes Jenkins pipe line build is triggered Code is built and placed in a container and executes Health checks are performed to ensure the build and container are operational Another Container is built with a Snapshot Tag to conduct Acceptance tests If Acceptance tests Pass it is deployed to production Test Framework Docker AUT Dev Unit GitLab AUT Branches Test Folders Docker Cloud Production Deploy Docker/AUT QA Integration Jenkins Docker/AUT PreProd E2E UI Drop Folder Integration Drop Folder E2E Monitor Android Firefox Drop Folder UI Selenium Server Chrome IOS

21 Pipeline Example Continuous tests and deploy on every change. In DEV QA and PreProd

22 Monitoring Instrumentation
Better logging – design best logging approach for best issue capture Monitor everything that is driven through the pipeline at all stages

23 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

24 THANK YOU


Download ppt "DEVOPS & THE FUTURE OF TESTING"

Similar presentations


Ads by Google