Notes
Notes on Bitbucket Pipelines
bitbucket pipelines fixes, like size 2x when a turtle-cli build exceeds the memory limit, and getting the commit message that triggered a pipeline
DevOps
Container Build exceeded memory limit.
This can happen for large steps, in my case building an app bundle with turtle-cli. You can double the memory allocation for a step with size: 2x
Regular steps have
4096 MBof memory in total, large build steps (which you can define usingsize: 2x) have8192MB in total.
1- step: &turtle-build-android
2 name: Build app bundle (.aab)
3 image: ubuntu:focal
4 size: 2x # Double resources available for this step.
5 caches:
6 - npm
7 script:
8 - echo 'this is my step with 2x memory'
Get the commit message for the commit that triggered the pipeline
1pipelines:
2 default:
3 - step:
4 script:
5 - COMMIT_MESSAGE=`git log --format=%B -n 1 $BITBUCKET_COMMIT`
6 - echo $COMMIT_MESSAGE
Related
- Deploy to separate Expo release channels based on Bitbucket feature branches
- Bitbucket Pipelines: Overview and Notes
- Continuous Deployment for React Native app to Expo using Bitbucket Pipelines
- Expo builds vs. Turtle builds
- Setup a publish, build and distribute pipeline for Expo based React Native project