Rename web-standalone to web-standalone-http for http-only (#26495)

This commit is contained in:
Tom Ross 2021-10-22 11:30:29 +01:00 committed by GitHub
parent 67291a0b82
commit b2ea3f9673
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -55,7 +55,7 @@ sg start oss-web-standalone-prod
Web app should be available at `https://${SOURCEGRAPH_HTTPS_DOMAIN}:${SOURCEGRAPH_HTTPS_PORT}`. Build artifacts will be served from `<rootRepoPath>/ui/assets`.
Note: If you are unable to use the above commands (e.g. you can't install Caddy), you can use `sg run web-standalone` instead. This will start a development server using only Node, and will be available at `http://localhost:${CLIENT_PROXY_DEVELOPMENT_PORT}`.
Note: If you are unable to use the above commands (e.g. you can't install Caddy), you can use `sg run web-standalone-http` instead. This will start a development server using only Node, and will be available at `http://localhost:${CLIENT_PROXY_DEVELOPMENT_PORT}`.
### API proxy

View File

@ -326,14 +326,14 @@ commands:
env:
ENTERPRISE: 1
web-standalone:
web-standalone-http:
cmd: yarn workspace @sourcegraph/web serve:dev
install: yarn --no-progress
env:
WEBPACK_SERVE_INDEX: true
SOURCEGRAPH_API_URL: https://k8s.sgdev.org
web-standalone-prod:
web-standalone-http-prod:
cmd: yarn workspace @sourcegraph/web serve:prod
install: yarn workspace @sourcegraph/web run build
env:
@ -917,26 +917,26 @@ commandsets:
web-standalone:
commands:
- web-standalone
- web-standalone-http
- caddy
env:
ENTERPRISE: 1
oss-web-standalone:
commands:
- web-standalone
- web-standalone-http
- caddy
web-standalone-prod:
commands:
- web-standalone-prod
- web-standalone-http-prod
- caddy
env:
ENTERPRISE: 1
oss-web-standalone-prod:
commands:
- web-standalone-prod
- web-standalone-http-prod
- caddy
tests: