From 1ae8f99bc01357798233fcf916d81e1816549bbc Mon Sep 17 00:00:00 2001 From: Matt Poole Date: Thu, 31 Oct 2024 15:07:26 -0400 Subject: [PATCH] BSD fixes #322: Remove SB app so prod can load. --- .platform/applications.yaml | 88 ++++++++++++++++++------------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/.platform/applications.yaml b/.platform/applications.yaml index 2b39888d..aafd1ece 100644 --- a/.platform/applications.yaml +++ b/.platform/applications.yaml @@ -215,47 +215,47 @@ bixalcom: commands: start: '[ "$PLATFORM_BRANCH" = main ] && bash cron/upload_logs_to_s3.sh' -storybook: - type: nodejs:18 - - # https://docs.platform.sh/create-apps/app-reference/single-runtime-image.html#sizes - # Running out of resources in prod because this added a HIGH_CPU profile. - # Lower the size. - size: S - - web: - locations: - '/': - # The folder from which to serve static assets, for this location. - # - # This is a filesystem path, relative to the application root. - root: 'storybook-static' - - # How long to allow static assets from this location to be cached. - # - # Can be a time in seconds, or -1 for no caching. Times can be - # suffixed with "s" (seconds), "m" (minutes), "h" (hours), "d" - # (days), "w" (weeks), "M" (months, as 30 days) or "y" (years, as - # 365 days). - expires: 5m - - # Allow storybook's landing .html file to be picked up when going to /. - index: - - 'index.html' - - # Disable server side scripts. - scripts: false - - # Allow access to all static files. - allow: true - - commands: - # Run a no-op process that uses no CPU resources since this is a static site - start: sleep infinity - - hooks: - build: | - # Building for a sub-dir caused a 502 on platform that I could not - # figure out. - # BASE_PATH=/sb npm run build-storybook - npm run build-storybook \ No newline at end of file +#storybook: +# type: nodejs:18 +# +# # https://docs.platform.sh/create-apps/app-reference/single-runtime-image.html#sizes +# # Running out of resources in prod because this added a HIGH_CPU profile. +# # Lower the size. +# size: S +# +# web: +# locations: +# '/': +# # The folder from which to serve static assets, for this location. +# # +# # This is a filesystem path, relative to the application root. +# root: 'storybook-static' +# +# # How long to allow static assets from this location to be cached. +# # +# # Can be a time in seconds, or -1 for no caching. Times can be +# # suffixed with "s" (seconds), "m" (minutes), "h" (hours), "d" +# # (days), "w" (weeks), "M" (months, as 30 days) or "y" (years, as +# # 365 days). +# expires: 5m +# +# # Allow storybook's landing .html file to be picked up when going to /. +# index: +# - 'index.html' +# +# # Disable server side scripts. +# scripts: false +# +# # Allow access to all static files. +# allow: true +# +# commands: +# # Run a no-op process that uses no CPU resources since this is a static site +# start: sleep infinity +# +# hooks: +# build: | +# # Building for a sub-dir caused a 502 on platform that I could not +# # figure out. +# # BASE_PATH=/sb npm run build-storybook +# npm run build-storybook \ No newline at end of file