Git Product home page Git Product logo

continuous-deployment-bitbucket's Introduction

Google App Engine

This project is a sample, demonstrating how to deploy from Bitbucket, using Bitbucket Pipelines, to Google App Engine, and run an end-to-end test against a staging environment. See documentation on Continuous Deployment to App Engine Using Bitbucket Pipelines for details. Documentation should be considered sufficient only for developers who already know both Bitbucket Pipelines and Google App Engine well.

Prerequisites

  • You have a Bitbucket account.
  • You have a Google App Engine account and have created a project.

Steps to deploy to your own App Engine project

Note that the Books API Key is a specific requirement of this app, but is not generally necessary to deploy from Bitbucket Pipelines. The service account credential is always necessary, in order to authenticate the gcloud command line tool.

  • Enable your repo or fork of this repo for Bitbucket Pipelines.
  • Enable the Books API.
  • Enable the App Engine Admin API.

Configure the following environment variables for Bitbucket Pipelines:

  • CLOUDSDK_CORE_PROJECT: Use the id of the Google App Engine project.
  • GOOGLE_API_KEY: (Private) Create a new public Server API Key in the Google console.
  • GOOGLE_CLIENT_SECRET: (Private) Create a new Service Account JSON file in the Google console. Copy the contents into this environment variable.

Contributing changes

Licensing

continuous-deployment-bitbucket's People

Contributors

ibuchanan avatar waprin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.