Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

Latest commit

 

History

History
41 lines (26 loc) · 1.58 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.58 KB

http-cloud-function

a porteurbars template for generating http(s) triggered google cloud functions, bootstrapped for travis integration for continuous git push based deployments

demo.gif

usage

The following should prompt you for the following values

$ porteurbars meetup/http-cloud-function
Name Default value Description
GCP_PROJECT ai-blt name of google cloud platform project
STAGE_BUCKET hello-http name of google storage bucket to store staged coded under
FUNCTION_NAME helloHttp name of exported function to deploy, this should be unique per project
FUNCTION_MEMORY 128MB amount of memory to allocation in deployments

GCP_PROJECT Name must start with a letter followed by up to 47 letters, numbers, or hyphens, and cannot end with a hyphen.

FUNCTION_MEMORY values must be one of 28MB, 256MB, 512MB, 1024MB and 2048MB.

STAGE_BUCKET must following the rules defined here

testing

This template provides a default test harness. You can run tests with the following

$ make test

impress your friends

$ porteurbars meetup/http-cloud-function && make deploy