Merge pull request #25308 from stephenglass/fix/versions-bump-proxy
Add proxy config to keeping backstage updated docs
This commit is contained in:
@@ -111,3 +111,7 @@ The `proxy-agent` package can be used as an alternative to `global-agent` (do no
|
||||
```
|
||||
|
||||
4. Start the backend with `yarn start`
|
||||
|
||||
## Backstage CLI
|
||||
|
||||
The Backstage CLI [versions:bump](https://backstage.io/docs/tooling/cli/commands#versionsbump) command also supports proxies via `global-agent` environment variable configuration. See the [keeping Backstage updated](https://backstage.io/docs/getting-started/keeping-backstage-updated/#proxy) docs for more information.
|
||||
|
||||
@@ -76,3 +76,15 @@ While package duplication might be acceptable in many cases, you might want to
|
||||
deduplicate packages for the purpose of optimizing bundle size and installation
|
||||
speed. We recommend using deduplication utilities such as `yarn dedupe` to trim
|
||||
down the number of duplicate packages.
|
||||
|
||||
## Proxy
|
||||
|
||||
The Backstage CLI uses [global-agent](https://www.npmjs.com/package/global-agent) to configure HTTP/HTTPS proxy settings using environment variables. This allows you to route the CLI’s network traffic through a proxy server, which can be useful in environments with restricted internet access.
|
||||
|
||||
### Example Configuration
|
||||
|
||||
```bash
|
||||
export GLOBAL_AGENT_HTTP_PROXY=http://proxy.company.com:8080
|
||||
export GLOBAL_AGENT_HTTPS_PROXY=https://secure-proxy.company.com:8080
|
||||
export GLOBAL_AGENT_NO_PROXY=localhost,internal.company.com
|
||||
```
|
||||
|
||||
@@ -326,7 +326,7 @@ Options:
|
||||
## versions\:bump
|
||||
|
||||
Bump all `@backstage` packages to the latest versions. This checks for updates
|
||||
in the package registry, and will update entries `package.json` files when necessary.
|
||||
in the package registry, and will update entries `package.json` files when necessary. See more how this command can be configured and used [for keeping Backstage updated](../../getting-started/keeping-backstage-updated.md).
|
||||
|
||||
```text
|
||||
Usage: backstage-cli versions:bump [options]
|
||||
|
||||
Reference in New Issue
Block a user