Cheatography
https://cheatography.com
Configure all your workflows in a single file.
codemagic.yaml is a highly customizable configuration file for setting up your CI/CD pipeline with Codemagic. Configure all your workflows in a single file and commit the file to version control.
This is a draft cheat sheet. It is a work in progress and is not finished yet.
Configure all your workflows in a single file
codemagic.yaml is a highly customizable configuration file for setting up your CI/CD pipeline with Codemagic. Configure all your workflows in a single file and commit the file to version control. |
Syntax
workflows:
hello-world-workflow:
name: Hello world workflow
scripts:
- echo "Hello World!"
|
Reusing sections
Define the section on the top of the .yaml file and reuse it later in workflows.
definitions:
instance_mac_pro: &instance_mac_pro
instance_type: mac_pro
max_build_duration: 120
env_versions: &env_versions
flutter: stable
xcode: latest
cocoapods: default
scripts:
- &add_certs_to_keychain
name: Add certs to keychain
script: |
keychain add-certificates
Reuse the defined section elsewhere by adding a * in front of it.
workflows:
ios-release:
name: iOS release
<<: *instance_mac_pro
environment:
<<: *env_versions
scripts:
- *add_certs_to_keychain
|
|
|
Instance Type
Instance Type |
Build Machine |
Specs |
Disk size |
Billing required? |
Cost |
|
macOS standard VM |
|
|
no |
$0.038 / minute |
|
macOS premium VM |
3.7GHz Quad Core 32GB RAM
|
|
yes |
$0.095 / minute |
|
|
|