Commit graph

98 commits

Author SHA1 Message Date
Tilman Vatteroth
d0e24175d7 feat: run e2e and deploy workflows from branch if non-fork
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-11-06 22:47:49 +01:00
Tilman Vatteroth
702bc17f9d fix: ignore standalone directory in e2e build artifact
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-11-06 19:51:11 +01:00
Tilman Vatteroth
cb74cb21ed fix: prefer pull request head sha for e2e build cache key
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-11-06 19:51:11 +01:00
Tilman Vatteroth
828c5937a0 chore: Update cypress browser image
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-11-06 19:51:11 +01:00
Tilman Vatteroth
fad5056c30 fix(ci): fix syntax error in workflow
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-11-03 22:20:40 +01:00
Tilman Vatteroth
dfba39266a fix(ci): run workflows in target repository context
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-11-03 22:01:04 +01:00
Tilman Vatteroth
b28b990d01 fix(ci): Migrate setting of environment variables
See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-21 11:44:37 +02:00
renovate[bot]
4801cf28ee chore(deps): update actions/cache action to v3.0.11
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-15 15:42:13 +02:00
renovate[bot]
33bef100e6 chore(deps): update actions/cache action to v3.0.10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-08 13:18:29 +02:00
renovate[bot]
b346b58a5c chore(deps): update actions/cache action to v3.0.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-01 09:26:11 +02:00
Tilman Vatteroth
7d2c71b392 chore(cypress): Update version of the cypress browsers image
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-21 19:01:20 +02:00
Tilman Vatteroth
e3093d1e4f GITHUB!
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-18 21:54:13 +02:00
Tilman Vatteroth
06f159794b AHH
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-18 21:54:13 +02:00
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