Google Play
- Tier: Free, Premium, Ultimate
- Offering: GitLab.com, Self-managed, GitLab Dedicated
This feature is part of Mobile DevOps developed by GitLab Incubation Engineering. The feature is still in development, but you can:
With the Google Play integration, you can configure your CI/CD pipelines to connect to the Google Play Console to build and release apps for Android devices.
The Google Play integration works out of the box with fastlane. You can also use this integration with other build tools.
Enable the integration in GitLab
Prerequisites:
- You must have a Google Play Console developer account.
- You must generate a new service account key for your project from the Google Cloud console.
To enable the Google Play integration in GitLab:
- On the left sidebar, select Search or go to and find your project.
- Select Settings > Integrations.
- Select Google Play.
- In Enable integration, select the Active checkbox.
- In Package name, enter the package name of the app (for example,
com.gitlab.app_name
). - Optional. Under Protected branches and tags only, select the Set variables on protected branches and tags only checkbox.
- In Service account key (.JSON), drag or upload your key file.
- Optional. Select Test settings.
- Select Save changes.
After you enable the integration, the global variables $SUPPLY_PACKAGE_NAME
and $SUPPLY_JSON_KEY_DATA
are created for CI/CD use.
CI/CD variable security
Malicious code pushed to your .gitlab-ci.yml
file could compromise your variables, including $SUPPLY_JSON_KEY_DATA
, and send them to a third-party server. For more information, see CI/CD variable security.
Enable the integration in fastlane
To enable the integration in fastlane and upload the build to the given track in Google Play, you can add the following code to your app’s fastlane/Fastfile
:
upload_to_play_store(
track: 'internal',
aab: '../build/app/outputs/bundle/release/app-release.aab'
)
Docs
Edit this page to fix an error or add an improvement in a merge request.
Create an issue to suggest an improvement to this page.
Product
Create an issue if there's something you don't like about this feature.
Propose functionality by submitting a feature request.
Feature availability and product trials
View pricing to see all GitLab tiers and features, or to upgrade.
Try GitLab for free with access to all features for 30 days.
Get help
If you didn't find what you were looking for, search the docs.
If you want help with something specific and could use community support, post on the GitLab forum.
For problems setting up or using this feature (depending on your GitLab subscription).
Request support