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

a porteurbars template for http(s) triggered google cloud functions

Notifications You must be signed in to change notification settings

meetuparchive/http-cloud-function

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

a porteurbars template for http(s) triggered google cloud functions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published