Created
September 1, 2022 01:35
-
-
Save Maurifc/d73b17fe83340c2b941e576471f0f355 to your computer and use it in GitHub Desktop.
Bitbucket - Bitbucket pipeline boilerplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: python:3.10 | |
pipelines: | |
pull-requests: | |
'**': | |
- step: | |
name: Linter | |
script: | |
- echo Linting... | |
branches: | |
dev: | |
- step: | |
name: Deploy GCP | |
image: google/cloud-sdk:slim | |
services: | |
- docker | |
script: | |
- echo $SERVICE_ACCOUNT_KEY > service_account_key.json | |
- gcloud auth activate-service-account --key-file service_account_key.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment