Commit graph

58 commits

Author SHA1 Message Date
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
Tilman Vatteroth
dfc2524bd7
Add test mode (#898)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-12-29 17:13:07 +01:00
Renovate Bot
6190340651 Update actions/setup-node action to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2020-12-19 12:26:35 +01:00
Tilman Vatteroth
590218c7c4
Use safer node_modules cache (#803)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-11-29 10:07:44 +01:00
Philip Molares
e097aaa5a4
changed when the reuse workflow runs to mimic all other workflows (#792)
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-11-26 22:06:55 +01:00
Philip Molares
c7623e02ca
renamed reuse workflow job name to reuse (#783)
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-11-23 16:06:27 +01:00
Philip Molares
f3bf7cd105
Added reuse information (#782)
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-11-22 21:50:07 +01:00
Erik Michelson
f7ab6f60c8
Always upload screenshots of errors (#759)
When the pipeline is cancelled by a preceding failing job, the screenshot upload job won't run. This change adds the flag that it will run even when preceding jobs failed.
2020-11-17 11:04:29 +01:00
Philip Molares
325b9b40b1 added screenshots artifacts in e2e workflow 2020-11-15 21:22:14 +01:00
Renovate Bot
900ea16d80 Update actions/cache action to v2.1.3 2020-11-07 16:23:46 +01:00
renovate[bot]
3e6bc9e5bf
Update actions/checkout action to v2 (#712)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-25 10:45:22 +01:00
renovate[bot]
b8cfe1ae43
Update actions/cache action to v2 (#711)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-25 10:43:52 +01:00
Erik Michelson
84df2ea1cf
Add 'yarn lint' command and run it in GH actions (#517)
* Add 'yarn lint' command and run it in GH actions

* Move linting to own workflow

* Remove linting from build-workflow

* Solve linting warnings

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

Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-08-31 12:48:58 +02:00
mrdrogdrog
7adb86846b
Drop node 10 test (#498) 2020-08-27 14:34:10 +02:00
mrdrogdrog
164b5436ae
Use prod build for e2e tests (#432)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-08-19 22:43:56 +02:00