All Projects → probot → serverless-gcf

probot / serverless-gcf

Licence: other
An extension for running Probot on Google Cloud Functions

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to serverless-gcf

probot-config
A Probot extension to easily share configs between repositories.
Stars: ✭ 63 (+320%)
Mutual labels:  probot, probot-extension
commands
A Probot extension that adds slash commands to GitHub
Stars: ✭ 54 (+260%)
Mutual labels:  probot, probot-extension
scheduler
⚠️ Archived
Stars: ✭ 46 (+206.67%)
Mutual labels:  probot, probot-extension
probot-messages
Probot extension for communicating with repository maintainers
Stars: ✭ 13 (-13.33%)
Mutual labels:  probot, probot-extension
GitMe
A fun workshop exercise for taking first steps on submiting a Pull Request on GitHub
Stars: ✭ 16 (+6.67%)
Mutual labels:  probot
Welcome
A probot app that welcome new users
Stars: ✭ 132 (+780%)
Mutual labels:  probot
Request Info
Requests more info from PRs/Issues with either the default title or a blank body
Stars: ✭ 89 (+493.33%)
Mutual labels:  probot
Dep
[DEPRECATED] Use https://github.com/z0al/dependent-issues instead
Stars: ✭ 69 (+360%)
Mutual labels:  probot
serverless-multicloud-example
An example Node Express app that can be deployed in any major cloud by the Serverless framework
Stars: ✭ 20 (+33.33%)
Mutual labels:  google-cloud-functions
new-pr-welcome
Welcome users when they open their first PR in your repository
Stars: ✭ 20 (+33.33%)
Mutual labels:  probot
Pull
🤖 Keep your forks up-to-date via automated PRs
Stars: ✭ 3,364 (+22326.67%)
Mutual labels:  probot
Auto Assign
🤖 A Probot app that adds reviewers to pull requests when pull requests are opened.
Stars: ✭ 140 (+833.33%)
Mutual labels:  probot
probot-lambda
Test for running probot in AWS Lambda
Stars: ✭ 25 (+66.67%)
Mutual labels:  probot
Figma Diff Probot
Probot using figma api to comment on PRs with before after images
Stars: ✭ 101 (+573.33%)
Mutual labels:  probot
Weekly Digest
Weekly summary of activity on your GitHub repository 📆
Stars: ✭ 199 (+1226.67%)
Mutual labels:  probot
Lightkeeper
Run Lighthouse tests in Pull Requests for multiple URLs with custom budgets
Stars: ✭ 83 (+453.33%)
Mutual labels:  probot
firebase-functions-es6-example
Use ES6 to develop Cloud Functions for Firebase today!
Stars: ✭ 20 (+33.33%)
Mutual labels:  google-cloud-functions
Gh Polls Bot
Automatically create polls in GitHub issues.
Stars: ✭ 187 (+1146.67%)
Mutual labels:  probot
First Timers Bot
A friendly bot that helps onboarding new Open Source Contributors
Stars: ✭ 239 (+1493.33%)
Mutual labels:  probot
Commitlint Bot
[NOT MAINTAINED] use https://github.com/apps/semantic-pull-requests
Stars: ✭ 157 (+946.67%)
Mutual labels:  probot

Google Cloud Function Handler for Probot

A Probot extension to make it easier to run your Probot Apps in Google Cloud Functions.

Usage

$ npm install @probot/serverless-gcf
// handler.js
const { serverless } = require('@probot/serverless-gcf');
const appFn = require('./')
module.exports.probot = serverless(appFn)

Configuration

This package moves the functionality of probot run into a handler suitable for usage on Google Cloud Functions. Follow the documentation on Environment Configuration to setup your app's environment variables. You can add these to .env, but for security reasons you may want to use the gcloud cli or Serverless Framework to set Environment Variables for the function so you don't have to include any secrets in the deployed package.

Differences from probot run

Local Development

Since GCF functions do not start a normal node process, the best way we've found to test this out locally is to use serverless-offline. This plugin for the serverless framework emulates AWS Lambda and API Gateway on your local machine, allowing you to continue working from https://localhost:3000/probot before deploying your function.

Long running tasks

Some Probot Apps that depend on long running processes or intervals will not work with this extension. This is due to the inherent architecture of serverless functions, which are designed to respond to events and stop running as quickly as possible. For longer running apps we recommend using other deployment options.

Only responds to Webhooks from GitHub

This extension is designed primarily for receiving webhooks from GitHub and responding back as a GitHub App. If you are using HTTP Routes in your app to serve additional pages, you should take a look at serverless-http, which can be used with Probot's express server by wrapping probot.server.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].