Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsomething authored Jun 3, 2024
2 parents 264337e + c7702e8 commit 91d7f58
Show file tree
Hide file tree
Showing 31 changed files with 531 additions and 295 deletions.
4 changes: 3 additions & 1 deletion specification/resources/apps/apps_create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ requestBody:
run_command: bin/api
environment_slug: node-js
instance_count: 2
instance_size_slug: basic-xxs
instance_size_slug: apps-s-1vcpu-0.5gb
routes:
- path: /api
egress:
type: DEDICATED_IP
required: true

responses:
Expand Down
2 changes: 1 addition & 1 deletion specification/resources/apps/apps_validate_appSpec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ requestBody:
run_command: bin/api
environment_slug: node-js
instance_count: 2
instance_size_slug: basic-xxs
instance_size_slug: apps-s-1vcpu-0.5gb
routes:
- path: /api
app_id: b6bdf840-2854-4f87-a36c-5f231c617c84
Expand Down
2 changes: 1 addition & 1 deletion specification/resources/apps/examples/curl/apps_create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ source: |-
"services":[{"name":"api","github":{"branch":"main",\
"deploy_on_push":true,"repo":"digitalocean/sample-golang"}, \
"run_command":"bin/api","environment_slug":"node-js", \
"instance_count":2,"instance_size_slug":"basic-xxs", \
"instance_count":2,"instance_size_slug":"apps-s-1vcpu-0.5gb", \
"routes":[{"path":"/api"}]}]}}'
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ source: |-
"run_command": "bin/api",
"environment_slug": "node-js",
"instance_count": 2,
"instance_size_slug": "basic-xxs",
"instance_size_slug": "apps-s-1vcpu-0.5gb",
"routes": [],
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ source: |-
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
get_resp = client.apps.get_instance_size(slug="basic-xxs")
get_resp = client.apps.get_instance_size(slug="apps-s-1vcpu-0.5gb")
Loading

0 comments on commit 91d7f58

Please sign in to comment.