/aws-codepipeline-devicefarm

Primary LanguageTypeScriptApache License 2.0Apache-2.0

aws-codepipeline-devicefarm

Welcome to the aws-codepipeline-devicefarm project.

This project shows you how to AWS Device Farm, AWS CodePipeline, AWS Code Build and Jenkins. The integration enables developers to build automated UX testing into their mobile development workflow.

Architecture

References

Project structure

  • cdk/ - contains a CDK app representing the CI/CD pipeline and Jenkins Fargate setup
  • docker/ - contains the Docker file and resources used to build the Jenkins server
  • docs/ - contains markdown for documentation
  • images/ - contains images for documentation

Required Software

Please install the following software in your local workstation before proceeding:

  • Git client

  • AWS Command Line Interface (version 1.11.170 or greater)

  • Configure your AWS credentials (access keys, AWS region, etc). At a minimum your credentials should allow you to create and manipulate resources associated withe the following AWS services: Amazon S3, AWS CodeCommit, AWS CodePipeline, AWS CodeBuild, AWS Lambda, AWS Device Farm, and AWS IAM.

aws configure

Instructions

  1. Setup your local environment and download artifacts
  2. Create a Device Farm project
  3. Create and launch a test run in the AWS console
  4. Deploy a CI/CD pipeline with Jenkins

Clean Up

  1. Delete your AWS CloudFormation Stack
  2. Delete your AWS Device Farm project
  3. Delete your IAM user