Merge pull request #4301 from backstage/bug/tugboat

bug: Need to run yarn install on build command as the node_modules are outdated
This commit is contained in:
Ben Lambert
2021-01-30 02:41:33 +01:00
committed by GitHub
+4 -2
View File
@@ -10,6 +10,8 @@ services:
- echo "yarn --cwd ${TUGBOAT_ROOT} start-backend --config ${TUGBOAT_ROOT}/app-config.yaml --config ${TUGBOAT_ROOT}/.tugboat/tugboat.app-config.production.yaml" >> /etc/service/node/run
- chmod +x /etc/service/node/run
build:
- yarn install --frozen-lockfile
- yarn workspace example-app build
update:
- yarn install
start:
# wget the endpoint. Will retry every 2 seconds. 30 retries = 1m for service to come up. Plenty.
- wget -O /dev/null -o /dev/null --tries=30 --timeout=5 --retry-connrefused http://localhost:7000