Commit Graph

18 Commits

Author SHA1 Message Date
Kevin Burnett df91abef7c
upgrade node (#1796)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-06-21 11:32:17 -07:00
jasquat 9147a8db8c
Use vite to build (#1390)
* some base updates for vite w/ burnettk

* i can log in w/ burnettk

* a couple more fixes w/ burnettk

* make sure selectedTabIndex has been set before using it w/ burnettk

* fixed active-users db issue, added type module to package json to fix prerender issues, and various other issues w/ burnettk

* fixed issues with building and running from compiled w/ burnettk

* pyl

* eslint fix is running and removed both inferno and navigationBar warnings

* vim likes the Dockerfile suffix by default

* use process.env.HOME

* probably do not need alias

* a little clean up and fixed font warnings w/ burnettk

* updated elements to remove warnings in the console w/ burnettk

* fixed es lint issues w/ burnettk

* update docker build in frontend w/ burnettk

* set the specific tag of nginx w/ burnettk

* build docker imgaes for this branch to test w/ burnettk

* added vitest and updated Dockerfile to be nginx w/ burnettk

* tests are passing w/ burnettk

* add prefresh and more keys

* added cypress-vite to attempt to get cypress working again

* some coderabbit suggestions

* hopefully there is no reason to use PUBLIC_URL at all when using vite

* use the correct location of the index file in the docker image

* spaces are fine in index.html file variable declaration

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-04-15 14:22:34 -04:00
Kevin Burnett d9203f4d37 curl and procps in container for debugging (#680)
* curl and procps in container for debugging

* added some spacing between from lines in dockerfiles w/ burnettk

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-11-16 07:18:11 -08:00
jasquat fe4dc14b8d Feature/docker CVE issues (#558)
* updated Dockerfile to try to remove security vulnerabilities w/ burnettk

* we require curl for health checks w/ burnettk

* try to scan docker image in ci

* use Dockerfile from backend w/ burnettk

* continue-on-error w/ burnettk

* attempt to elevate permissions of snyk w/ burnettk

* added snyk security github workflow w/ burnettk

* fixed location of constraints w/ burnettk

* add in or true for snyk tests w/ burnettk

* sent the snyk token w/ burnettk

* specify the directory for the sarif file w/ burnettk

* updated spiffworkflow-connector-command for snyk issue w/ burnettk

* updated sql statements sanitize input

* ignore issues for debug_controller and check frontend with snyk w/ burnettk

* updated babel and electron for snyk w/ burnettk

* some more updates to fix vulnerabilities w/ burnettk

* prune repeated deps for frontend builds since

* uncomment ci code so it runs again and use node for frontend base image w/ burnettk

* fixed backend image name w/ burnettk

* pyl w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-10-19 14:22:52 -04:00
burnettk 74c3570a11 more screwing with labels 2023-05-13 22:43:58 -04:00
burnettk 82f262bfcd add opencontainers label, and run an experiment to see what is required in dockerfile vs github actions 2023-05-13 19:53:50 -04:00
jasquat f00b2e9f7d added script to build frontend so it can add version info to the index.html file w/ burnettk 2023-04-11 15:48:34 -04:00
jasquat 454528d55b attempt to get version info in frontend w/ burnettk 2023-04-07 16:30:44 -04:00
burnettk fb123e12e1 less annoying file name for autocomplete 2023-01-31 09:27:02 -05:00
burnettk cce1a2246c add deps for serve 2023-01-30 22:35:24 -05:00
burnettk fdc2d80af0 Revert "revert Dockerfile until we get it working"
This reverts commit 22897abcb8.
2023-01-30 18:02:59 -05:00
burnettk 22897abcb8 revert Dockerfile until we get it working 2023-01-30 18:01:56 -05:00
burnettk 9731d79ceb get bin as well for script 2023-01-30 17:44:15 -05:00
Jakub Sokołowski 60b048b698 frontend: avoid redundant steps in Dockerfile
Use separate base, setup and final to avoid redundat steps.
Also add default value for `PORT0` as `7001`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-01-30 16:46:04 +01:00
burnettk 2cda810a04 fix process model create and a couple tests, docker build refactor 2022-11-08 22:36:39 -05:00
burnettk cc38022358 it would be nice to know which command is failing 2022-11-04 19:04:59 -04:00
burnettk 11eba6b2ef do not chew all memory 2022-11-04 19:03:53 -04:00
Jon Herron d3efb6cfb9 Merge commit '2382c3f0ab9502dddb9a3f6a8b32981f92bedc18' as 'spiffworkflow-frontend' 2022-10-12 10:21:49 -04:00