/bitbucket-pipelines-android-gcloud

android and gcloud that allows Firebase Test-lab integration

Primary LanguageDockerfileMIT LicenseMIT

bitbucket-pipelines-android-gcloud

android and gcloud that allows Firebase Test-lab integration

Bitbucket Pipelines Docker image based on debian

Docker image at fanky10/bitbucket-pipelines-android-gcloud (no CMD as it is overriden by Pipelines)

Packages installed

Available env variables:

  • $ANDROID_SDK_ROOT

Sample bitbucket-pipelines.yml

image: fanky10/bitbucket-pipelines-android-gcloud
pipelines:
  default:
    - step:
       name: Build Release
       script:
         - ./gradlew :app:bundleRelease
       artifacts:
         - app/build/outputs/**
    - step:
        script:
          - echo ${GOOGLE_CLIENT_SECRET} > client-secret.json
          - gcloud auth activate-service-account --key-file client-secret.json
          - gcloud config set project $CLOUDSDK_CORE_PROJECT
          - gcloud {custom_params}

Changelog

1.1

  • Updates Image base to latest debian (which is, at the time of this writing, debian:buster)
  • Adds support to Java 11
  • Upgrades Google Cloud SDK to 384.0.1

1.0

  • Initial release
  • Google Cloud SDK version 309.0.0