Welcome to Codemagic
Introduction to Codemagic CI/CD
Codemagic is a cloud-based Continuous Integration/Continuous Delivery (CI/CD) product specifically designed for mobile developers building apps with Flutter, React Native, native iOS, native Android, Unity, Kotlin Multiplatform Mobile, and Ionic.
Automatic build and deployment
Codemagic automates the process of app building, testing, and deployment to app stores such as the Apple App Store, Google Play, Microsoft Store, and Huawei App Gallery. New builds can be triggered when code is pushed to your repository, tags are added, or pull requests are merged. You can configure multiple workflows to make the app available to your dev team, distribute the latest build to your test team, or publish your app to production.
To build your apps, Codemagic needs read-only access to your cloud-based GitHub, GitLab, or Bitbucket repository. It’s also possible to connect to self-hosted repositories using an SSH key pair and configuring the appropriate rules in your firewall.
At the beginning of each build, your source code is cloned to a new virtual machine instance where the build is run. It is destroyed immediately after the build has completed, leaving no trace of your source code or secret variables. To access API keys, certificates, tokens, and other sensitive values during your build, an unlimited number of encrypted secrets can easily be added to the Codemagic dashboard. Only the build history log and build artifacts will be available in the Codemagic dashboard after the build finishes.
Codemagic employees do not have access to your source code or any encrypted secrets you have added to the dashboard. Please see our Security statement for more information.
Application workflows can also be configured to run unit and integration tests as well as integrate with services that test your apps on real devices, check the quality of your code and scan for vulnerabilities, or update your development progress in your project management system. Your team can be notified by email or Slack notifications when new builds are available.
Configuration as code
Workflows are configured in code using a YAML configuration file which can be checked into version control to track changes made by your team. If you need to add a new workflow, simply copy and paste an existing workflow and modify it as required. Configurations can be easily extended with Bash or Python scripts in addition to Codemagic’s open-source CLI tools that make tasks such as build versioning, publishing, and code signing much simpler. You can find out more about working with the
codemagic.yaml configuration file here.
Flutter developers can also choose to set up their workflows using a graphical user interface called the “Workflow Editor”.
Codemagic’s infrastructure is centered around the powerful Apple Silicon M1 (arm64) allowing for faster builds than the previous generation of macOS machines. Mac Pro (Intel), Linux and Windows machines are also available for all customers.
The following documentation pages show the hardware specifications for each instance type:
Our data centers are located in the US but it is possible to set up dedicated macOS hosts in the EU on request.
All the virtual machines come preloaded with the most common software you would need for building mobile apps such as Xcode, Android Studio, and a variety of CLI tools and frameworks. Codemagic’s engineers continuously monitor system availability and take care of updating software like Xcode and checking everything works when building with new versions so you don’t have to worry about running and maintaining your own systems.
Please refer to the following documentation to see the software pre-installed on each instance type:
If you need to run parallel builds you can add additional concurrencies as your needs grow. The free tier and pay-as-you-go plan includes one concurrency to begin with but can be increased to a total of three. The Annual plan and Enterprise plans start with three concurrencies and an unlimited number of concurrencies can be added at any time during your subscription period.
Individuals and hobbyists can get started with Codemagic using its free tier which offers 500 free build minutes per month and lets you build on Apple Silicon M1 machines. This quota is reset at the beginning of each month.
For development teams with limited budgets, the Codemagic pay-as-you-go plan offers an affordable way to get started with CI/CD. You only pay for the minutes you consume and the additional concurrencies you add. You also don’t need to worry about costs getting out of control because the pay-as-you-go plan is capped at $299/month which means once you reach this amount you don’t have to pay any extra to keep using the service.
Annual plans offer a 20% discount and can be purchased in the web app using your credit card.
Enterprise plans are also available for customers who require additional services such as SSO authentication, registration with procurement systems, invoicing and payment by bank transfer, signed NDA, DPA, and other account management services such as collaborating with infosec teams.
Full pricing details can be found on our pricing page here.
The Codemagic blog is a great resource that covers a multitude of technical subjects related to CI/CD ranging from code signing and publishing to general application development. Check out the blog here.