https://github.com/k-s-a/gcloud-riter-gitlab-integration
Serverless approach to integrate gitlab webhooks with riter.co GraphQL API
https://github.com/k-s-a/gcloud-riter-gitlab-integration
gitlab integration riter
Last synced: 2 months ago
JSON representation
Serverless approach to integrate gitlab webhooks with riter.co GraphQL API
- Host: GitHub
- URL: https://github.com/k-s-a/gcloud-riter-gitlab-integration
- Owner: K-S-A
- Created: 2019-02-09T20:47:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-14T22:04:46.000Z (over 7 years ago)
- Last Synced: 2025-03-29T13:27:20.958Z (over 1 year ago)
- Topics: gitlab, integration, riter
- Language: JavaScript
- Size: 72.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Deploy
```
gcloud functions deploy http --env-vars-file .env.yml --trigger-http --runtime nodejs8
```
### Functions emulator
##### Start
```
functions-emulator start
```
##### Stop
```
functions-emulator stop
```
##### Call function
```
functions-emulator call http --data '{"object_attributes": {"description": "Description...", "title": "Hello from CLI", "action": "fake", "iid": 101, "source_branch": "meeting-with-the-white-walkers/test-api"}}'
```
##### Deploy locally
```
functions-emulator deploy http --env-vars-file .env.yml --trigger-http
```
##### Read logs
```
functions-emulator logs read
```
##### Inspect in browser console
```
functions-emulator inspect http
```
##### Run tests
```
npm test
```