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

Commit

Permalink
CI config + minor docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tdmalone committed Jan 24, 2018
1 parent 86cd42c commit 4817207
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 2 deletions.
34 changes: 34 additions & 0 deletions .travis.yml
@@ -0,0 +1,34 @@
language: node_js
services: docker
node_js: 6.10
install: true
script: yarn test
before_deploy: rm -rf tests package.json *.md

deploy:

on:
branch: master
skip_cleanup: true

# TODO: Also publish to npm.

# @see https://docs.travis-ci.com/user/deployment/lambda/
provider: lambda
publish: true
function_name: "proximity-events-webhook-parser"
region: "ap-southeast-2"
role: "arn:aws:iam::873114526714:role/genericLambdaRole"
description: "Parses and queus webhook events sent by the Proximity Events iPhone app."
runtime: "nodejs6.10"
handler_name: "handler"
access_key_id: "AKIAJVWRHTUGC7RFRHXQ"
secret_access_key:
secure: "hcmnv7X2MoLLiEvYBYFcZk6b3Km8d/IdrcyU4Q2N6ylKB81f3YVzU4xGdv+s2PBiZTtdSqjpO6uno7FBquBJ5k4TVglyba6reOWDCUkCxmv6oh+G7yGJ5p0md4h7lkCT3BuJJ5M936spHQzQMmCWhk27bjXYBMGgTsaiW+JrpIS2Aw2YEjpFcxkcbaVoFEJoY4KCKyWp0PQ8qyoBTR+K63ArO6ZpvJs6cUWuAjpWa2321WrpcetHD9c4Unr7r1oHpq6M7a7VYPirJbKVkj6dqObiWSevxZ1nMNDiqM0vb/nXC8lCQxGtIt7fteyTpV3PxPno8AFUtiM955WiwelSFL/vYVrpr9V+Bitrp2be6Z7OknHjzH7AP7Ej/5k16kTHr9fKdeO1MU4k837tCFlzFwda3biUYupWxmQOhhLGP/zWrdfIe4q6UzQjyOEBhzoFVnh0NMI7AC0h7a0k/AsqobhwK4FuJJCE+8wvzrKFB0Bub7SIspD7NhPx2Wn0oU/kPEIyDTpeY4TllvzM9SDXutYIq/xZjt8+1BsUft8OKm/XzGvdbgK3292OmTDTlDMk0VHxAhkO+HrYEliE03E1WemBmBQyUhd+xoU1bAhAXPHoqBoa8tA3p1BKNvdz+Ww1tAckjunO6g4UnhRj4IV2kNu0I1w8wLnXZ3Frdd8o5fw="

notifications:
email: false
slack:
on_start: always
rooms:
- secure: "Vy2JA/ktcFrTVRPzvyQwBh4Q65Hb6lBCbM8RMshxtdSRNSVnctRofN3BJ/QlutYV4EbsWA1jgQaSb3BH0IPF5Mg5MUkv8c1bbW+GbNzMqQG3td2CcjlYF4IVB5Zd+ONqEDQJLglF1z2kwyPh1ZmaWgSvYVc2yhrkqJl3oFdhertAM2sNF7om/KugrCQsjJm+jFhNY62P84jhed7+cmNT6xl9IMN9gZvUqssdvLubmdMTpgz9JBvbn1hAMFI3JjSaHEowAMolnE3mCSlC8aLSjfdX+lKR8vRJGXzURX74eUm7jEM0vHnwn1QrRTUZdUzUl6pP9yaPPDUHNf+Lsu/fZe/vIoQW5J31Wg9itunNF6dvUduYNnDsNWW0UqokmfUkmaHlLMf1VrAjKumahHG5eSmNkgoGaYHhygrWUD1lziwjGkXf9YnCV4lgdoU5m9c+h6NeXSEI8E7IMMZLr0cwAFkqW68PQPeEcus9xWdhBMLE5DZn85EIG78Qj3qF4HliJjtuDhQPr1PsaDoun/0s3MN3cKOnDh7iuKrJU51yXnrDvW0HXzZhhc78R/mU9V0n0Isx9hizuur9eXOcbVOFG5zOaIMlFNb0pEAIkw5kaIvgLRlUf8HUm00QVIevqx17idrTkWBWd5Znan/NmVym+wMD1IjhVvYV6aI7ZRIT5vY="
3 changes: 2 additions & 1 deletion README.md
@@ -1,6 +1,6 @@
# Proximity Events Webhook Parser

A simple AWS Lambda function that 'queues' custom geolocation trigger events from the [Proximity Events](http://proximityevents.com/) iPhone app in an SNS topic. Designed to be run via the AWS API Gateway as a Lambda proxy function.
A simple AWS Lambda function that 'queues' geolocation trigger events from the [Proximity Events](http://proximityevents.com/) iPhone app in an SNS topic. Designed to be run via the AWS API Gateway as a Lambda proxy function.

(I don't have any relation to the Proximity Events app; I just found it an easy way to enable some location-based automation in my life!)

Expand All @@ -17,3 +17,4 @@ There are no dependencies to install.
* Add timezone handling (using a [geolocation time zone API](https://developers.google.com/maps/documentation/timezone/start)?)
* Make the `Visit:Exit` event dropping configurable
* Use a [reverse geocoding service](https://developers.google.com/maps/documentation/geocoding/intro#ReverseGeocoding) to get the address for form data events
* Publish to npm
Empty file removed buildspec.yml
Empty file.
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "proximity-events-webhook-parser",
"version": "0.0.7",
"description": "Queues custom geolocation events sent from devices such as iPhones.",
"description": "An unofficial AWS Lambda/API Gateway function for parsing and queuing webhook events sent by the Proximity Events iPhone app.",
"main": "index.js",
"repository": "git+https://github.com/tdmalone/proximity-events-webhook-parser.git",
"author": "Tim Malone <tdmalone@gmail.com>",
Expand Down

0 comments on commit 4817207

Please sign in to comment.