Skip to content

Instantly share code, notes, and snippets.

@Maurifc
Created September 1, 2022 01:35
Show Gist options
  • Save Maurifc/d73b17fe83340c2b941e576471f0f355 to your computer and use it in GitHub Desktop.
Save Maurifc/d73b17fe83340c2b941e576471f0f355 to your computer and use it in GitHub Desktop.
Bitbucket - Bitbucket pipeline boilerplate
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