Commit graph

80 commits

Author SHA1 Message Date
Tilman Vatteroth
b41c9b762c Fix environment variable in netlify deployment
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-18 21:54:13 +02:00
Tilman Vatteroth
877a8c6976 Fix main deployment
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-18 20:25:28 +02:00
Tilman Vatteroth
39a4125cb0
Refactor handling of environment variables (#2303)
* Refactor environment variables

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-16 09:03:29 +00:00
Erik Michelson
a3c74e7310 feat(docker): add build version to built images
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-08-30 16:11:26 +02:00
renovate[bot]
2c2b4c6b67 Update actions/cache action to v3.0.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-27 14:33:31 +02:00
Tilman Vatteroth
a19384a91c fix: e2e dependency install
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-25 20:19:54 +02:00
renovate[bot]
dffea9ccc2
Update actions/cache action to v3.0.7 (#2276)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-13 14:09:36 +02:00
renovate[bot]
24ce40f0a3
Update actions/cache action to v3.0.6 (#2266)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-06 16:49:02 +02:00
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