Commit graph

77 commits

Author SHA1 Message Date
Tilman Vatteroth
816dede9e2 Wait for application start before using curl in e2e workflow
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-01 14:48:52 +02:00
Tilman Vatteroth
57cc08739d
Enable push of docker images (#2260)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-07-31 16:13:54 +00:00
Tilman Vatteroth
b008cac781
Fix parameters in netlify cli script (#2258)
* Fix parameters in netlify cli script
* Use node-modules linker when deploying to netlify

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-07-31 00:39:49 +02:00
Tilman Vatteroth
6ba957585a
Use yarn pnp as module linker (#2252)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-07-30 23:32:19 +02:00
Tilman Vatteroth
a6795143d2 Update cypress browser image to node16.14.2-slim-chrome103-ff102
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-07-28 09:48:37 +02:00
Tilman Vatteroth
94bd3a4d4f Add docker image build workflow
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-07-26 19:14:50 +02:00
renovate[bot]
6972a0d555 Update actions/cache action to v3.0.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-16 15:08:32 +02:00
Tilman Vatteroth
811603f089 Add eslint-plugin-prettier
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-07-03 20:35:12 +02:00
renovate[bot]
1a51964241
Update bobheadxi/deployments action to v1.3.0 (#2145)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-25 08:50:01 +02:00
Tilman Vatteroth
678dd1411d Update to node v18
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-06-16 10:58:05 +02:00
Renovate Bot
6a6b9b7e4c Update actions/cache action to v3.0.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-11 16:22:16 +02:00
renovate[bot]
040e11924f
Update dependency cypress to v10 (#2095)
* Update dependency cypress to v10
* Migrate cypress files

Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-06-08 11:19:51 +00:00
Renovate Bot
8bdcd07893 Update actions/cache action to v3.0.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 16:52:28 +02:00
Renovate Bot
9ce6e92c41 Update bobheadxi/deployments action to v1.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 21:18:07 +02:00
Tilman Vatteroth
cf8ad9e16f Update Cypress browsers to node16.13.2-chrome100-ff98
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-04-15 11:38:43 +02:00
Renovate Bot
5a23e615bf Update actions/cache action to v3.0.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 11:05:16 +02:00
Tilman Vatteroth
62ece767e1 Remove Firefox from CI
Okay I'm just done. Firefox in our current CI is just the WORST. It is slower than chrome and crashes A LOT! Like really! The e2e workflows of some PRs have to run 4 or 5 times because firefox decides to just lose the connection.
This may also be caused by the performance of GHA, but right now it's easier to (temporally) remove firefox than switching to a whole new CI.
Just to be clear: I know that this step isn't optimal. I know that a huge part of our community uses firefox. But right now the flakiness of the firefox CI runs drives me crazy!
At the moment we need the e2e tests just for our development to make sure that we don't accidentally break something.
We can re-add firefox again when it's stable to use. Or when we have shifted enough of the e2e tests to jest. It would be nice to test other browsers (like safari or edge) as well.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-04-10 20:05:21 +02:00
Tilman Vatteroth
8a12755164 Removes the github deployment api from the main branch deployment
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-04-10 01:40:24 +02:00
Renovate Bot
0f00aa979a Update actions/cache action
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-02 11:41:11 +02:00
Renovate Bot
66bde48f94 Update bobheadxi/deployments action to v1.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-05 23:11:41 +01:00
Renovate Bot
aa6a594513 Update actions/checkout action to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-05 18:00:19 +01:00
Tilman Vatteroth
6e7afbac9b Add missing parameter for deployment action
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-02-27 19:28:16 +01:00
Renovate Bot
8ccb615651 Update actions/setup-node action to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-27 19:08:15 +01:00
renovate[bot]
b2fc852e09
Update bobheadxi/deployments action to v1 (#1884)
* Update bobheadxi/deployments action to v1

Signed-off-by: Renovate Bot <bot@renovateapp.com>

* Migrate deploy action

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-02-27 17:26:59 +00:00
Tilman Vatteroth
728b955e98 Update cypress/browser to node16.13.2-chrome97-ff96
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-02-12 23:09:20 +01:00
Erik Michelson
757f957e0a Add main netlify deployment on GH actions
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-02-06 15:13:06 +01:00
Erik Michelson
e671aa4aa8
Fix netlify not using aliases containing a slash (#1819) 2022-01-30 21:57:58 +01:00
Erik Michelson
6e1847d1e9
deployments: Fix main branch deployment and overrides (#1801)
* Use different environment per PR

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Fix main deployment by using CI-aware build script

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Use PR title and number in netlify deployment list

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Use exec

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-01-27 17:55:01 +01:00
Erik Michelson
523701b3d2 Add netlify deployments for PRs
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-01-26 19:00:56 +01:00
Tilman Vatteroth
2fa6479400 Reduce number of e2e containers to 5
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-03 12:29:23 +01:00
Tilman Vatteroth
0a4ab9fb0a Use yarn berry install command in cypress action
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-02 12:12:23 +01:00
Tilman Vatteroth
f86269c046 Don't upload cache to build artifact
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-01 22:15:27 +01:00
Erik Michelson
68a7546a5d
Use yarn berry (#1726) 2021-12-30 18:45:04 +01:00
Renovate Bot
77a60c6c48 Switch the base framework from Create React App to Next.JS
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-30 14:43:25 +01:00
Renovate Bot
fe5d425d7d Update actions/cache action to v2.1.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-11-27 01:59:57 +01:00
Tilman Vatteroth
0b0d695701 Use renovate to update cypress image
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-16 17:08:35 +02:00
Tilman Vatteroth
149789bb65 Update cypress browser image
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-16 12:10:10 +02:00
Tilman Vatteroth
1dfb8bca71 Don't rebuild commits in e2e
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-23 20:12:59 +02:00
Tilman Vatteroth
cf79d4c72e Rename dependency cache step
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-23 20:12:59 +02:00
Tilman Vatteroth
f4e5d795e6
Parallel ci jobs (#1323)
* Add parallel testing to e2e ci job

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-17 21:18:52 +02:00
Tilman Vatteroth
93722f4161
Improve stability and speed of E2E tests (#1319)
* Change cypress settings in CI job
* Catch error from highlight js chunk loading in auto completion
* Refactor code
* Show notification if highlightjs loading failed

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-13 23:02:39 +02:00
Erik Michelson
0aae1f70d2
Add prettier for codestyle and re-format everything (#1294) 2021-06-06 23:14:00 +02:00
Renovate Bot
d6bb87c6b0 Update actions/cache action to v2.1.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-05-31 18:03:29 +02:00
Tilman Vatteroth
f0fbaec2aa Update node to 16
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-05-26 20:53:15 +02:00
Tilman Vatteroth
2c5a03b3ee
Restructures + New Evironment Variables (#1230)
* Use document base uri for react router

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Rename getAndSetUser to fetchAndSetUser

Getter should be reserved for simple get functions.
Everything that does a bit more logic should use a more meaningful verb.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Rename getFrontPageContent to fetchFrontPageContent

Getter should be reserved for simple get functions.
Everything that does a bit more logic should use a more meaningful verb.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Reformat code

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Use PUBLIC_URL env var in index.html

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Introduce new environment variables

For better testing (especially if you have multiple endpoints) this commit introduces
REACT_APP_BACKEND_BASE_URL, REACT_APP_FRONTEND_ASSETS_URL and REACT_APP_CUSTOMIZE_ASSETS_URL

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Remove redundant license information

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Remove redundant license information

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Fix rebase issues

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Remove unused file

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Correct parameter

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Fix run tasks

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Force use of bash

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Fix link to cypress picture

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* revert change

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* fix url

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Remove license info

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Revert rebase issues

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Add missing banner code

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Fix test url

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Useless change to trigger github

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Don't set backend base url because this break the mock mode detection

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

Co-authored-by: Philip Molares <philip.molares@udo.edu>
2021-05-02 22:38:43 +02:00
Renovate Bot
523f1d9105 Update actions/cache action to v2.1.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-17 07:49:03 +02:00
Tilman Vatteroth
36ac8f113c Remove browserstack integration
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-13 21:20:03 +02:00
Erik Michelson
e0e5f2a7dd
Add branch info to browserstack runs (#935) 2021-01-11 21:55:25 +01:00
Tilman Vatteroth
28600d6508
Change copyright year from 2020 to 2021 (#917)
* Change copyright year from 2020 to 2021

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

* Change copyright year in jetbrains copyright template

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-06 21:37:59 +01:00
Tilman Vatteroth
887c3b9dd3
Feature/browserstack (#902)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-06 13:09:33 +01:00