iOS CI/CD Build and Test Pipeline
Publication date: November 17, 2021 (Diagram history)
This architecture shows how to automate building and testing iOS apps by using Amazon API Gateway, Amazon Elastic Compute Cloud Mac instances, and AWS Device Farm.
iOS CI/CD Build and Test Pipeline
-
A developer initiates a build or test activity in Amazon API Gateway by pushing a code change to AWS CodeCommit.
-
Amazon API Gateway detects the change in AWS CodeCommit and invokes AWS Step Functions to start the build process.
-
An AWS Lambda function loads required build scripts from an Amazon Simple Storage Service bucket and triggers an AWS Systems Manager Run command.
-
Build scripts initiate an iOS build on the Amazon Elastic Compute Cloud Mac instance and put the build artifacts in an Amazon S3 bucket.
-
The AWS Systems Manager Run command runs the build scripts on an Amazon EC2 Mac instance and sends run logs to Amazon CloudWatch.
-
Amazon API Gateway detects the built artifacts in Amazon S3 and starts AWS Device Farm to test the app on multiple real devices.
-
AWS Device Farm generates test results, logs, and recordings. You can review them through the AWS Device Farm console or through Amazon S3 pre-signed URLs.
Further reading
For additional information, refer to
Diagram history
To be notified about updates to this reference architecture diagram, subscribe to the RSS feed.
| Change | Description | Date |
|---|---|---|
Initial publication | Reference architecture diagram first published. | November 17, 2021 |
Note
To subscribe to RSS updates, you must have an RSS plugin enabled for the browser you are using.