Commit Graph
100 Commits
Author SHA1 Message Date
Vesa Jolkkonen 26b5690641 Switch to containerized dev environment 2024-04-25 15:36:10 +03:00
Vesa Jolkkonen 40ec83e570 Remove too strict timeout which causes test to fail 2024-04-25 15:34:55 +03:00
Vesa Jolkkonen a06cc3f166 Update react-markdown to v8.0.7 2024-04-22 14:59:56 +03:00
Vesa Jolkkonen b8ba93b6c8 Remove anonymized_v3.sql 2024-04-22 13:26:36 +03:00
Vesa Jolkkonen 11944737d5 Skip timeLogs test because of flakiness 2024-04-22 12:07:00 +03:00
Vesa Jolkkonen adc92ab898 Fix Cypress delete sprint command 2024-04-22 11:56:35 +03:00
Vesa JolkkonenandRegularmute bc5af0f95d Replace timeLogs tests with new setup
Bandaid solution to merge chart branch. Chart tests and test commands have been removed.

Co-authored-by: Regularmute <93884347+Regularmute@users.noreply.github.com>
2024-04-22 11:36:43 +03:00
Vesa JolkkonenandAntti Aarnio 495a1c26ce Fix package-lock.json to match current setup 2024-04-18 10:34:53 +03:00
Vesa JolkkonenandAntti Aarnio b47ffa9c1f Update frontend to use node 20 and Vite 2024-04-18 10:34:53 +03:00
Vesa JolkkonenandAntti Aarnio f4588ce775 Update eslintrc to correspond Vite configuration 2024-04-18 10:32:11 +03:00
Vesa JolkkonenandAntti Aarnio 21a2b9fe15 Remove PUBLIC_URL as it's not used in Vite 2024-04-18 10:32:11 +03:00
Vesa JolkkonenandAntti Aarnio c464ffe95b Modify index.html to work with Vite 2024-04-18 10:32:11 +03:00
Vesa JolkkonenandAntti Aarnio b7ab523fe4 Move index.html to folder root
index.html must locate on folder root when using Vite configuration
2024-04-18 10:32:11 +03:00
Vesa JolkkonenandAntti Aarnio df7c1961e4 Fix file extension as file contains JSX syntax 2024-04-18 10:32:11 +03:00
Vesa JolkkonenandAntti Aarnio db068a94b2 Fix eslint errors about useless catch 2024-04-18 10:32:11 +03:00
Vesa JolkkonenandAntti Aarnio c02def2557 Set correct extension for JSX files 2024-04-18 10:32:11 +03:00
Vesa Jolkkonen 300336411d Change file extension as file contains JSX syntax 2024-04-17 19:24:25 +03:00
Vesa Jolkkonen 6e71b4f05b Fix eslint error about useless try-catch 2024-04-17 19:23:11 +03:00
Vesa Jolkkonen e2600d054c Fix package-lock.json to match current setup 2024-04-16 11:52:01 +03:00
Vesa Jolkkonen 9498536750 Update frontend to use node 20 and Vite 2024-04-16 11:45:07 +03:00
Vesa Jolkkonen 0d4f54cf4d Update eslintrc to correspond Vite configuration 2024-04-16 11:31:34 +03:00
Vesa Jolkkonen 499158fd3c Remove PUBLIC_URL as it's not used in Vite 2024-04-15 18:06:42 +03:00
Vesa Jolkkonen 340969da31 Modify index.html to work with Vite 2024-04-15 18:05:01 +03:00
Vesa Jolkkonen a68a2def64 Move index.html to folder root
index.html must locate on folder root when using Vite configuration
2024-04-15 18:02:27 +03:00
Vesa Jolkkonen 69b21ee578 Fix file extension as file contains JSX syntax 2024-04-15 17:57:53 +03:00
Vesa Jolkkonen 52bb1f068c Fix eslint errors about useless catch 2024-04-15 17:56:48 +03:00
Vesa JolkkonenandAntti Aarnio 05fc93ebc9 Set correct header level 2024-04-15 17:27:55 +03:00
Vesa JolkkonenandAntti Aarnio 37f5c31172 Use relative links to documentation files
When using relative links, you can test link funktionality in VS code and on other branch.
2024-04-15 17:27:55 +03:00
Vesa JolkkonenandAntti Aarnio afc92e1d5c Add Definition of Done 2024-04-15 17:27:55 +03:00
Vesa JolkkonenandAntti Aarnio 0634ab08dc Set correct file extension for .jsx files 2024-04-15 17:27:55 +03:00
Vesa JolkkonenandAntti Aarnio fc2610cf6e Fix path to package.json files 2024-04-15 17:27:55 +03:00
Vesa JolkkonenandAntti Aarnio ed1b150c37 Read node versions required from package.json 2024-04-15 17:27:54 +03:00
Vesa JolkkonenandAntti Aarnio 2c007c7c72 Specify node version used in package.json 2024-04-15 17:27:54 +03:00
Vesa Jolkkonenandregularmute 10d5c09948 Set correct header level 2024-04-15 14:24:51 +03:00
Vesa Jolkkonenandregularmute 18c7099281 Use relative links to documentation files
When using relative links, you can test link funktionality in VS code and on other branch.
2024-04-15 14:24:51 +03:00
Vesa Jolkkonenandregularmute 75c2f1c4b1 Add Definition of Done 2024-04-15 14:24:50 +03:00
Vesa Jolkkonenandregularmute 51d481606a Set correct file extension for .jsx files 2024-04-15 14:24:48 +03:00
Vesa Jolkkonenandregularmute 0f55994bbd Fix path to package.json files 2024-04-15 14:24:47 +03:00
Vesa Jolkkonenandregularmute 83d2063fb1 Read node versions required from package.json 2024-04-15 14:24:46 +03:00
Vesa Jolkkonenandregularmute b07d64f769 Specify node version used in package.json 2024-04-15 14:24:46 +03:00
Vesa Jolkkonen 1c7d88bcde Set correct extension for JSX files 2024-04-15 13:21:48 +03:00
Vesa Jolkkonen 560e94935f Set correct header level 2024-04-15 11:04:04 +03:00
Vesa Jolkkonen 063489c32a Use relative links to documentation files
When using relative links, you can test link funktionality in VS code and on other branch.
2024-04-15 10:54:58 +03:00
Vesa Jolkkonen 8c5be031ad Add Definition of Done 2024-04-15 10:53:57 +03:00
Vesa JolkkonenandJoonas Somero 229dbe429a Set correct file extension for .jsx files 2024-04-15 09:29:15 +03:00
Vesa JolkkonenandJoonas Somero 4751e76b59 Fix path to package.json files 2024-04-15 09:24:56 +03:00
Vesa JolkkonenandJoonas Somero 8fb77ebce4 Read node versions required from package.json 2024-04-15 09:24:56 +03:00
Vesa JolkkonenandJoonas Somero 2c963f8701 Specify node version used in package.json 2024-04-15 09:24:56 +03:00
Vesa JolkkonenandAntti Aarnio 8a957bd10f Fix production workflow name 2024-04-05 17:04:45 +03:00
Vesa Jolkkonen 588ed3a75e Fix production workflow name 2024-03-26 11:20:32 +02:00
Vesa Jolkkonen 61ab8745e6 Add workflow for production deployment 2024-03-25 14:20:21 +02:00
Vesa Jolkkonen 030834b03f Fix CI badge to point right workflow file 2024-03-18 11:47:43 +02:00
Vesa Jolkkonen d587397a79 Add secret inheritance for test action 2024-03-17 16:25:05 +02:00
Vesa Jolkkonen 2311e42908 Run eslint and cypress parallel 2024-03-15 16:55:49 +02:00
Vesa Jolkkonen 8bd328a4e8 Reverse eslint version back to 5.12.0 2024-03-15 16:40:57 +02:00
Vesa Jolkkonen 3f9f022a71 merge new changes from main 2024-03-15 16:35:51 +02:00
Vesa Jolkkonen 4f3d54d755 Retry to update package-lock.json 2024-03-15 13:39:42 +02:00
Vesa Jolkkonen b56e01c07c Update package-lock.json 2024-03-15 13:36:25 +02:00
Vesa Jolkkonen 99a1b58c03 Reverse changes and use npm ci --production 2024-03-15 13:32:23 +02:00
Vesa Jolkkonen 761f8ef4cd Use npm ci to install dependencies 2024-03-15 13:14:28 +02:00
Vesa Jolkkonen bb11a7c25f Merge to main 2024-03-15 13:00:58 +02:00
Vesa Jolkkonen 4b9535439c Define licence on project root 2024-03-15 12:58:46 +02:00
Vesa JolkkonenandAntti Aarnio 9d47e8d8bc Update outdated test user headers 2024-03-12 14:20:32 +02:00
Vesa JolkkonenandAntti Aarnio b91a3e65cd Add cypress@3.8.3 to devDependencies and make a script for running tests 2024-03-12 14:20:32 +02:00
Vesa JolkkonenandAntti Aarnio 47e5f7e533 Always use DATABASE_URL env for sequelize connection 2024-03-12 14:20:31 +02:00
Vesa JolkkonenandAntti Aarnio d5f710c600 Add npm script for starting backend server for testing 2024-03-12 14:20:30 +02:00
Vesa Jolkkonen 8efbcaf279 Remove e2e ignorePattern as it produces error 2024-03-12 11:14:01 +02:00
Vesa Jolkkonen 816d5eef45 Define licence on project root 2024-03-12 11:10:04 +02:00
Vesa Jolkkonen 0e6d0a9eb2 Use node 12 in GitHub Actions 2024-03-09 18:23:41 +02:00
Vesa Jolkkonen f0d31495fb Merge branch 'main' into redfox-workflow_rewrite 2024-03-09 17:51:50 +02:00
Vesa Jolkkonen a252a16506 Simplify Sequelize setup 2024-03-09 17:50:15 +02:00
Vesa Jolkkonen 554c9a06d5 Improve database connection security 2024-03-09 12:55:51 +02:00
Vesa Jolkkonen ed70e1c2fc Eliminate deprecation warning about postgres ssl 2024-03-09 12:34:48 +02:00
Vesa Jolkkonen 42f35ca63e Fix config file for Sequelize CLI 2024-03-09 11:19:23 +02:00
Vesa Jolkkonen dfd0406bc2 Add correct tags to images for OpenShift staging 2024-03-09 11:17:35 +02:00
Vesa Jolkkonen ad9518bf21 Add ssl parameter for Sequelize CLI 2024-03-08 16:32:24 +02:00
Vesa Jolkkonen 25571cc0c5 Merge branch 'main' into redfox-workflow_rewrite 2024-03-08 16:16:59 +02:00
Vesa Jolkkonen 6cace947e2 Remove skips used for setting up GitHub Actions 2024-03-08 16:15:22 +02:00
Vesa Jolkkonen 8b7fb40def Delete outdated GitHub Actions workflow file 2024-03-08 16:09:37 +02:00
Vesa Jolkkonen 2c5933158b Use npm install instead of ci 2024-03-08 16:00:42 +02:00
Vesa Jolkkonen d524800239 Remove browser matrix from GitHub Actions 2024-03-08 15:58:22 +02:00
Vesa Jolkkonen bb6289482e Add browser matrix to GitHub Actions test workflow 2024-03-08 15:32:36 +02:00
Vesa Jolkkonen e15475a62a Remove test branch from GitHub Actions triggers 2024-03-08 15:30:40 +02:00
Vesa Jolkkonen 5f5e6ba479 Run GitHub Actions test workflow in any branch 2024-03-08 15:13:24 +02:00
Vesa Jolkkonen 8493563acd Delete waiting parameter from Cypress test setup 2024-03-08 14:57:20 +02:00
Vesa Jolkkonen 94c920e693 Add Cypress record to GitHub Actions 2024-03-08 14:51:29 +02:00
Vesa Jolkkonen d41d3c315b Checkout files in GitHub Actions before build 2024-03-07 13:58:31 +02:00
Vesa Jolkkonen edda859a8c Use tag 'staging' in images pulled to quay.io 2024-03-07 13:50:21 +02:00
Vesa Jolkkonen 6807189d33 Skip failing test for testing GitHub Actions 2024-03-07 13:45:07 +02:00
Vesa Jolkkonen 65ae35ee7f Skip failing tests for testing GitHub Actions 2024-03-07 13:38:31 +02:00
Vesa Jolkkonen e16ae84385 Add baseUrl for Cypress in GitHub Actions 2024-03-07 12:48:04 +02:00
Vesa Jolkkonen 1ada0aee38 Add Node version for running tests 2024-03-07 11:52:01 +02:00
Vesa Jolkkonen 7555d11619 Add DATABASE_URL for testing in GitHub Actions 2024-03-07 11:45:24 +02:00
Vesa Jolkkonen 2370d8512a Fix error in backend path 2024-03-07 11:41:45 +02:00
Vesa Jolkkonen 12b46b5258 Start containers with docker compose 2024-03-07 11:38:59 +02:00
Vesa Jolkkonen a3fe8152e2 Modify homepage parameter for clarity 2024-03-07 11:28:23 +02:00
Vesa Jolkkonen 9745975353 Add compose file for GitHub Actions 2024-03-07 11:27:30 +02:00
Vesa Jolkkonen c6ac17eff7 Add nginx.conf file for e2e testing 2024-03-07 11:26:44 +02:00
Vesa Jolkkonen 349dc44d68 Use relative homepage 2024-03-06 20:47:26 +02:00
Vesa Jolkkonen c08c72581d Install only production dependencies for CI images 2024-03-06 20:46:42 +02:00