Hi,
I'd like to ask you about my memory overflow problem.
I tried something but it didn't help. Sometimes it passes and sometimes it doesn't. This is a mystery to me.
Can you please give me some advice?
currently my repository size is 2.11 GB is it can matter for pipeline?
Thank you very much.
image: androidsdk/android-30
definitions:
services:
docker:
memory: 512
docker-with-more-memory:
memory: 2048
type: docker
docker-with-large-memory:
memory: 5120
type: docker
pipelines:
branches:
master:
#- parallel:
- step:
size: 2x
name: Build
caches:
- gradle
script:
- echo "$GOOGLE_SERVICES_JSON" | base64 -di > app/google-services.json
- echo "$SIGNING_JKS_FILE" | base64 -di > android-signing-keystore.jks
- ./gradlew assembleRelease
artifacts:
- app/build/outputs/**
- step:
size: 2x
name: Build Debug
caches:
- gradle
script:
- echo "$GOOGLE_SERVICES_JSON" | base64 -di > app/google-services.json
- echo "$SIGNING_JKS_FILE" | base64 -di > android-signing-keystore.jks
- ./gradlew assembleDebug
artifacts:
- app/build/outputs/**
- step:
size: 2x
name: Test
caches:
- gradle
script:
- ./gradlew test
- step:
size: 2x
name: Push On Production
#trigger: manual
script:
- echo "$GOOGLE_SERVICES_JSON" | base64 -di > app/google-services.json
- echo $GOOGLE_API_KEY_JSON | base64 -di > google_play_api_key.json
- echo "$SIGNING_JKS_FILE" | base64 -di > android-signing-keystore.jks
- ./gradlew :app:publishReleaseBundle
artifacts:
- app/build/outputs/