telackey
fef7649683
Refactor SPA check. ( #831 )
...
Reviewed-on: cerc-io/stack-orchestrator#831
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-05-22 19:00:42 +00:00
telackey
579b402f2f
Make the SPA detection even simpler. ( #830 )
...
Reviewed-on: cerc-io/stack-orchestrator#830
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-05-22 18:31:57 +00:00
telackey
25d0bc8a98
Case insensitive comparison ( #829 )
...
Reviewed-on: cerc-io/stack-orchestrator#829
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-05-22 18:18:27 +00:00
telackey
855288368c
Add messages around the SPA auto-detect. ( #828 )
...
Tweak the auto-detection logic slightly for single-page apps, and also print the results.
Reviewed-on: cerc-io/stack-orchestrator#828
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-05-22 17:42:28 +00:00
telackey
62f7ce649d
Exit non-0 if docker build fails. ( #778 )
...
Make sure to check the exit code of the docker build and bubble it back up to laconic-so.
Reviewed-on: cerc-io/stack-orchestrator#778
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-03-06 18:38:30 +00:00
telackey
cc541ac20f
Use -slim variant for Dockerfile ( #773 )
...
This saves about 1GB of space in the image.
Reviewed-on: cerc-io/stack-orchestrator#773
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-02-28 04:37:57 +00:00
telackey
10e2311a8b
Add timed logging for the webapp build ( #771 )
...
Add lots of log and timer output to webapp builds.
Reviewed-on: cerc-io/stack-orchestrator#771
2024-02-28 00:38:11 +00:00
telackey
21eb9f036f
Add support for pnpm as a webapp build tool. ( #767 )
...
This adds support for auto-detecting pnpm as a build tool for webapps.
Reviewed-on: cerc-io/stack-orchestrator#767
Reviewed-by: David Boreham <dboreham@noreply.git.vdb.to >
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-02-26 23:31:52 +00:00
telackey
704c42c404
Use a catchall for single page apps. ( #763 )
...
This creates a new environment variable, CERC_SINGLE_PAGE_APP, which controls whether a catchall redirection back to / is applied.
If the value is not explicitly set, we try to detect if the page looks like a single-page app.
Reviewed-on: cerc-io/stack-orchestrator#763
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-02-23 20:32:24 +00:00
telackey
db4986dcc6
snowballtool-base backend stack ( #751 )
...
This adds a stack for the backend from snowball/snowballtools-base.
Reviewed-on: cerc-io/stack-orchestrator#751
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-02-21 04:45:46 +00:00
telackey
65f05ea80c
Run a manual build script, if present. ( #750 )
...
If the tree has a 'build-webapp.sh' script, use that.
Reviewed-on: cerc-io/stack-orchestrator#750
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-02-21 00:20:50 +00:00
telackey
3c3e582939
Minor envsubst improvements. ( #746 )
...
Minor fixes to envsubst for webapps. Somewhat specially treated is `LACONIC_HOSTED_CONFIG_homepage` which can be used to replace the homepage in package.json. With react, this gets an extra `/` though, which we need to remove.
Reviewed-on: cerc-io/stack-orchestrator#746
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-02-16 04:11:09 +00:00
telackey
6629017d6a
Support other webapp types (react, static). ( #721 )
...
* Support other webapp types (react, static).
2024-02-02 18:04:06 -06:00
dboreham
4456e70c93
Rename app -> stack_orchestrator ( #625 )
2023-11-07 00:06:55 -07:00