* app deployment

* add source to deployment

* support without https prefix

* add image

* minor comment

* fix deploy

* further fixes

* fix the error output

* add account name

* set limits

* fix error handling

* fix app handler

* fix unmarshalling

* remove http2

* set status

* fix bug

* .

* add ability to specify branch

* .

* .

* add better error handling

* add app limit

* add function limit

* update app readme

* log status error

* update app to use the store

* remove double e limit

* switch to created/updated

* update app handler

* 5 bucks

* 10 bucks

* unique deployments

* fix the sid

* unique name handling

* allow running where reservation expired

* check for reservations

* update readme

* fix update check

* update proto comment

* add resolve endpoint

* ship with domain

* fix url

* create unprivileged service account

* add service account to update

* .

* .

* update comment

* .

* update public api json
This commit is contained in:
Asim Aslam
2021-12-15 11:11:58 +00:00
committed by GitHub
parent 8c6857f21f
commit ff51489278
12 changed files with 2324 additions and 141 deletions

View File

@@ -17,16 +17,127 @@
}
}
],
"vote": [
"list": [
{
"title": "Vote for the API",
"title": "List the apps",
"run_check": false,
"request": {},
"response": {
"services": [{
"id": "helloworld",
"name": "helloworld",
"repo": "github.com/asim/helloworld",
"branch": "master",
"region": "europe-west1",
"port": 8080,
"status": "Running",
"url": "https://helloworld.m3o.app",
"created": "2021-12-15T09:48:50.864124234Z",
"updated": "2021-12-15T09:50:13.722008Z",
"env_vars": {},
"custom_domains": []
}]
}
}
],
"run": [
{
"title": "Run an app",
"run_check": false,
"request": {
"message": "Launch it!"
"name": "helloworld",
"repo": "github.com/asim/helloworld",
"branch": "master",
"port": 8080,
"region": "eu-west-1"
},
"response": {
"message": "Thanks for the vote!"
"service": {
"id": "helloworld",
"name": "helloworld",
"repo": "github.com/asim/helloworld",
"branch": "master",
"region": "europe-west1",
"port": 8080,
"status": "Deploying",
"url": "https://helloworld.m3o.app",
"created": "2021-12-15T09:48:50.864124234Z",
"updated": "",
"env_vars": {},
"custom_domains": []
}
}
}
],
"regions": [
{
"title": "List regions",
"run_check": false,
"request": {},
"response": {
"regions": [
"europe-west1",
"us-east1",
"us-west1"
]
}
}
],
"status": [
{
"title": "Get the status of an app",
"run_check": false,
"request": {
"name": "helloworld"
},
"response": {
"service": {
"id": "helloworld",
"name": "helloworld",
"repo": "github.com/asim/helloworld",
"branch": "master",
"region": "europe-west1",
"port": 8080,
"status": "Deploying",
"url": "https://helloworld.m3o.app",
"created": "2021-12-15T09:48:50.864124234Z",
"updated": "",
"env_vars": {},
"custom_domains": []
}
}
}
],
"resolve": [
{
"title": "Resolve app by id",
"run_check": false,
"request": {
"id": "helloworld"
},
"response": {
"url": "https://helloworld-jn5gitv2pa-ew.a.run.app"
}
}
],
"update": [
{
"title": "Update an app",
"run_check": false,
"request": {
"name": "helloworld"
},
"response": {}
}
],
"delete": [
{
"title": "Delete an app",
"run_check": false,
"request": {
"name": "helloworld"
},
"response": {}
}
]
}