Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 4 days ago
JSON representation

Serverless approach to integrate gitlab webhooks with riter.co GraphQL API

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
```