Skip to content

Commit f1bc41f

Browse files
authored
Merge pull request #1014 from loft-sh/chore/run-options-uid
chore: pass workspace UID with run options if available
2 parents 0d3e87f + b0eac16 commit f1bc41f

File tree

5 files changed

+2965
-2354
lines changed

5 files changed

+2965
-2354
lines changed

docs/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
"deploy": "docusaurus deploy"
1010
},
1111
"dependencies": {
12-
"@docusaurus/core": "^2.4.1",
13-
"@docusaurus/preset-classic": "^2.4.1",
12+
"@docusaurus/core": "^3.2.1",
13+
"@docusaurus/preset-classic": "^3.2.1",
1414
"classnames": "^2.2.6",
1515
"docusaurus": "^1.14.7",
1616
"docusaurus-gtm-plugin": "^0.0.2",
1717
"mdx-link-checker": "^0.1.1",
18-
"react": "^16.8.4",
19-
"react-dom": "^16.8.4"
18+
"react": "^18.2.0",
19+
"react-dom": "^18.2.0"
2020
},
2121
"browserslist": {
2222
"production": [

docs/pages/developing-providers/agent.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The following options are available in the `agent` section
2626

2727
```yaml
2828
agent: # You can also use options within this section (see injectGitCredentials as an example)
29-
path: ${DEVPOD}
29+
path: $\{DEVPOD\}
3030
driver: docker # Optional, default: docker
3131
inactivityTimeout: 10m
3232
containerInactivityTimeout: 10m
@@ -45,7 +45,7 @@ agent: # You can also use options within this section (see injectGitCredentials
4545
4646
Breaking down the options:
4747
48-
- **path**: where to place the agent on the remote machine. Use ${DEVPOD} here if you want to use the local machine instead.
48+
- **path**: where to place the agent on the remote machine. Use $\{DEVPOD\} here if you want to use the local machine instead.
4949
- **driver**: which driver to use to run container, [check the Drivers section for more information](./driver.mdx)
5050
- **inactivityTimeout**: after how much time to shut down the machine. Use for machine providers
5151
- **containerInactivityTimeout**: after how much time to shut down the container. Use for non-machine providers
@@ -85,4 +85,4 @@ Official providers that use this method of automatically stopping an inactive ma
8585
- [devpod-provider-azure](https://github.com/loft-sh/devpod-provider-azure): Just uses `shutdown -t now` as `agent.exec.shutdown` to shutdown an unused machine.
8686
- [devpod-provider-aws](https://github.com/loft-sh/devpod-provider-aws): Uses the local `aws` cli tool to generate a temporary token, which is then saved in a DevPod option. This token is then used within `agent.exec.shutdown` to shutdown the machine on the agent side with an AWS api call.
8787
- [devpod-provider-gcloud](https://github.com/loft-sh/devpod-provider-gcloud): Uses the local `gcloud` cli tool to generate a temporary token, which is then saved in a DevPod option. This token is then used within `agent.exec.shutdown` to shutdown the machine on the agent side with an Google Cloud api call.
88-
- [devpod-provider-digitalocean](https://github.com/loft-sh/devpod-provider-digitalocean): Deletes the whole machine on inactivity as stopped machines are still billed by DigitalOcean. The local digital ocean token is reused on the agent side to make an API call to delete the whole machine and preserve the state in an extra volume.
88+
- [devpod-provider-digitalocean](https://github.com/loft-sh/devpod-provider-digitalocean): Deletes the whole machine on inactivity as stopped machines are still billed by DigitalOcean. The local digital ocean token is reused on the agent side to make an API call to delete the whole machine and preserve the state in an extra volume.

0 commit comments

Comments
 (0)