Commit graph

198 commits

Author SHA1 Message Date
renovate[bot]
7008e8e6a0 chore(deps): update docker/setup-buildx-action action to v2.8.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 20:04:04 +02:00
renovate[bot]
a89d853456 chore(deps): update ossf/scorecard-action action to v2.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-25 14:39:45 +02:00
renovate[bot]
86e9878c15 chore(deps): update fsfe/reuse docker tag to v2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 15:31:10 +02:00
renovate[bot]
12a29ff28b chore(deps): update github/codeql-action action to v2.20.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 14:24:58 +02:00
Tilman Vatteroth
f54677f3d2 fix: use fsfe reuse docker image directly
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-21 14:17:25 +02:00
Tilman Vatteroth
f29a30d94b fix(ci): replace healthcheck command
According to https://github.com/MariaDB/mariadb-docker/issues/512#issuecomment-1588619808
the mysqladmin command has been removed from the image.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-19 22:08:50 +02:00
renovate[bot]
5a569a2f25 chore(deps): update mariadb docker tag to v11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 22:08:50 +02:00
Tilman Vatteroth
aa6e420346 deps(ci): update cypress browsers docker image
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-19 22:08:25 +02:00
renovate[bot]
0ea9113a6a chore(deps): update github/codeql-action action to v2.20.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-14 21:48:03 +02:00
renovate[bot]
cba89c1264 chore(deps): update docker/metadata-action action to v4.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-13 21:16:17 +02:00
renovate[bot]
07f9ef56a8 chore(deps): update docker/setup-buildx-action action to v2.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-13 21:15:53 +02:00
renovate[bot]
7f85e8129c chore(deps): update docker/build-push-action action to v4.1.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-13 13:08:25 +00:00
Tilman Vatteroth
49af09d40b ci: pin postgres docker image version
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-11 15:33:34 +02:00
Tilman Vatteroth
a8c6dee5cd ci: pin mariadb docker image version
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-11 15:33:34 +02:00
Tilman Vatteroth
9521bf9cde ci: increase health timeout for mariadb
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-06-11 15:33:34 +02:00
renovate[bot]
4e0fdeb0b2 chore(deps): update actions/checkout action to v3.5.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 17:19:09 +02:00
renovate[bot]
7ce0acbaaa chore(deps): update docker/build-push-action action to v4.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 16:29:09 +02:00
renovate[bot]
ee907100ec chore(deps): update docker/setup-buildx-action action to v2.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 20:19:56 +02:00
renovate[bot]
ce15f0bef1 chore(deps): update docker/login-action action to v2.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 20:18:53 +02:00
renovate[bot]
d75d2d6ff4 chore(deps): update docker/metadata-action action to v4.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 20:18:26 +02:00
renovate[bot]
f3590a20cd chore(deps): update docker/setup-qemu-action action to v2.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 20:18:05 +02:00
renovate[bot]
92e5742333 chore(deps): update github/codeql-action action to v2.3.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-01 18:10:16 +02:00
renovate[bot]
7b6f4c5d2d chore(deps): update github/codeql-action action to v2.3.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-25 23:29:18 +00:00
renovate[bot]
31e5ed6228 chore(deps): update github/codeql-action action to v2.3.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-25 01:54:53 +00:00
renovate[bot]
99ada6ce5f chore(deps): update codecov/codecov-action action to v3.1.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-16 03:38:32 +00:00
renovate[bot]
eb4c531983 chore(deps): update ajinabraham/njsscan-action digest to 74e5a58
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-14 08:03:58 +02:00
Tilman Vatteroth
23901d1454 chore: change recommended and CI node version to v20
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-10 13:43:05 +02:00
Tilman Vatteroth
46330563fa chore(ci): update cypress browsers image
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:44:23 +02:00
Tilman Vatteroth
44e0ae40b5 fix(ci): fix server start in cypress e2e test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-05 15:07:42 +02:00
renovate[bot]
56bf75360a chore(deps): update github/codeql-action action to v2.3.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-05 04:52:13 +00:00
renovate[bot]
6fe383e1a1 chore(deps): update github/codeql-action action to v2.3.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-28 09:34:23 +02:00
renovate[bot]
8c50fdd11a chore(deps): update github/codeql-action action to v2.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-27 02:29:51 +00:00
renovate[bot]
fbdf4b83ec chore(deps): update github/codeql-action action to v2.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-23 20:26:14 +02:00
renovate[bot]
7faf01545e chore(deps): update codecov/codecov-action action to v3.1.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-20 23:09:12 +02:00
Tilman Vatteroth
d66ab3a8e1 fix: use github actions artifact to provide frontend e2e to cypress containers
something in our CI setup lets turbo believe that the environment has
changed so much that the build can't be restored from the cache.
Therefore all the cypress jobs are rebuilding the frontend on their own.
It probably has something to do with the fact that the cypress jobs are not
running with the ubuntu image but with the cypress docker image.
I couldn't find out how to fix this, so I changed the CI to use a GitHub
actions artifact.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-18 14:33:46 +02:00
renovate[bot]
667d9cbb20 chore(deps): update docker/metadata-action action to v4.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 10:19:55 +02:00
Tilman Vatteroth
d04e76cb21 fix: add nodejs_version to e2e test build of frontend
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-18 10:19:15 +02:00
Tilman Vatteroth
391559bec4 fix: install netlify nextjs plugin manually
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 18:23:43 +02:00
Tilman Vatteroth
3e0874dfb0 chore: update netlify-cli to 13.2.2
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 18:23:43 +02:00
renovate[bot]
baf1f53c55 chore(deps): update github/codeql-action action to v2.2.12
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-13 17:25:29 +02:00
renovate[bot]
ad3dc27e3f chore(deps): update actions/checkout action to v3.5.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-13 17:16:27 +02:00
renovate[bot]
7b1e78f08e chore(deps): update actions/checkout action to v3.5.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-13 02:17:45 +00:00
renovate[bot]
9dd92d4585 chore(deps): update codecov/codecov-action action to v3.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-12 13:41:56 +02:00
renovate[bot]
4790c7cd1b chore(deps): update github/codeql-action action to v2.2.11
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-06 22:56:12 +02:00
renovate[bot]
78a98e36bf chore(deps): update github/codeql-action action to v2.2.10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-05 18:26:08 +02:00
Erik Michelson
bced0c478b enhancement: remove frontend version
As frontend and backend are managed inside a monorepo and distributed together, there is no sense in keeping separate frontend and backend version information.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-04-03 20:11:03 +02:00
renovate[bot]
b5762f15f3 chore(deps): update ossf/scorecard-action action to v2.1.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-30 06:41:22 +00:00
renovate[bot]
fd131a3187 chore(deps): update github/codeql-action action to v2.2.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-27 19:56:31 +02:00
renovate[bot]
67cf1432b2 chore(deps): update actions/checkout action to v3.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-24 13:02:52 +01:00
renovate[bot]
e80cad928d chore(deps): update github/codeql-action action to v2.2.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-22 21:21:39 +01:00
Tilman Vatteroth
93f296a175 chore(ci): update cypress/browsers image in e2e workflow
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-16 09:58:51 +01:00
renovate[bot]
33aedc1e5f chore(deps): update actions/checkout action to v3.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-15 21:40:43 +01:00
renovate[bot]
8167d95946 chore(deps): update github/codeql-action action to v2.2.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-15 14:21:16 +01:00
renovate[bot]
bd35782585 chore(deps): update docker/setup-buildx-action action to v2.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 20:51:09 +01:00
renovate[bot]
e57c6fd9fa chore(deps): update github/codeql-action action to v2.2.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 09:16:18 +01:00
Tilman Vatteroth
61f1d44a32 ci: Add hint to node array about changing the docs if version is changed
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-25 21:06:36 +01:00
Tilman Vatteroth
14a75e5612 ci: remove node 14 because it is not supported by next.js anymore
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-25 21:06:36 +01:00
renovate[bot]
23ab04f45d chore(deps): update github/codeql-action action to v2.2.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 13:47:17 +01:00
Erik Michelson
7c9f2aa3be chore(reuse): add cc-by-4.0 license
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-18 15:57:44 +01:00
Erik Michelson
51365bae59 ci(caching): add cleanup workflow
This workflow is recommended by GitHub (docs: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#force-deleting-cache-entries) to remove caches for closed PRs as every PR writes their own cache.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-18 15:57:44 +01:00
Erik Michelson
b8f6910fe2 ci(caching): use cache-key without hash and docker cache without max setting
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-18 15:57:44 +01:00
renovate[bot]
b756d99143 chore(deps): update docker/setup-buildx-action action to v2.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:29:16 +01:00
renovate[bot]
bdd7d69305 chore(deps): update github/codeql-action action to v2.2.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:29:07 +01:00
Tilman Vatteroth
e9eab686e2 fix(docker): Separate docker builds into two jobs
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-09 11:56:10 +01:00
Tilman Vatteroth
2d8ed6e136 fix(ci): fix docker build args
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 21:55:04 +01:00
Tilman Vatteroth
21f44fac5b fix(ci): remove changes job from PR deploy workflow
This job should prevent deployments if the frontend hasn't been changed.
This is not necessary anymore because the deployment will be done explicitly.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 21:38:40 +01:00
Tilman Vatteroth
a0bb7e349e fix(ci): deploy pull request only if label is present
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 21:38:40 +01:00
Erik Michelson
305b6f5910 misc: add turbo monorepo util
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: David Mehren <git@herrmehren.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 21:38:40 +01:00
renovate[bot]
b8e13a8858 chore(deps): update docker/build-push-action action to v4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 11:12:08 +01:00
renovate[bot]
c8c160a667 chore(deps): update docker/setup-buildx-action action to v2.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 10:44:20 +01:00
renovate[bot]
fc3c0cd8de chore(deps): update docker/build-push-action action to v3.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-05 23:24:37 +01:00
renovate[bot]
b3a299f51a chore(deps): update actions/cache action to v3.2.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-05 23:23:32 +01:00
Tilman Vatteroth
1b1b3b9915 fix(ci): Add write permissions for push of frontend image to ghcr
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 23:12:27 +01:00
Tilman Vatteroth
5e1fdbe81d fix(config): Replace HD_DOMAIN and HD_EDITOR_BASE_URL with HD_BASE_URL
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 22:32:31 +01:00
renovate[bot]
66fa86f709 chore(deps): update docker/setup-buildx-action action to v2.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-29 19:17:12 +01:00
renovate[bot]
bd7406cc17 chore(deps): update github/codeql-action action to v2.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-28 16:22:24 +01:00
renovate[bot]
e90de3cf04 chore(deps): update docker/metadata-action action to v4.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-22 14:47:47 +01:00
renovate[bot]
3c47200fa5 chore(deps): update docker/build-push-action action to v3.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-22 14:46:43 +01:00
renovate[bot]
c322d855af chore(deps): update bobheadxi/deployments action to v1.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-22 11:25:15 +01:00
renovate[bot]
b1c1f320ea chore(deps): update github/codeql-action action to v2.1.39
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-21 23:05:26 +01:00
renovate[bot]
90a1d45f82 chore(deps): update github/codeql-action action to v2.1.38
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-16 16:00:07 +00:00
renovate[bot]
50e3452574 chore(deps): update actions/cache action to v3.2.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-14 21:55:58 +01:00
renovate[bot]
aa3d666fa8 chore(deps): update actions/upload-artifact digest to 65d8626
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-14 21:19:49 +01:00
renovate[bot]
74cdbadd96 chore(deps): update actions/download-artifact digest to e9ef242
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-14 21:18:09 +01:00
renovate[bot]
84ee805c56 chore(deps): update actions/checkout action to v3.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-09 14:18:41 +01:00
renovate[bot]
7428da7a6c chore(deps): update ossf/scorecard-action action to v2.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-09 14:18:04 +01:00
Erik Michelson
8588cbbf21 misc(ci): pin dependencies of GitHub actions
This is recommended by the OpenSSF scorecard tool

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-01-09 12:47:00 +01:00
renovate[bot]
4d4c2e90df chore(deps): update github/codeql-action action to v2.1.37
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-09 09:27:42 +00:00
renovate[bot]
15b0f084a6 chore(deps): update actions/upload-artifact action to v3.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-09 04:06:18 +00:00
Sheogorath
7bb6570c2b ci: Add OpenSSF scorecard setup
This patch enables a new github action that runs on each commit and
updates the HedgeDoc OpenSSF scorecard score, which is a combination of
various project best practices that are actively worked on. This should
help to stay on top of current best practices and provide transparency
for users of HedgeDoc.

References:
https://github.com/ossf/scorecard
https://securityscorecards.dev/

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2023-01-08 22:08:45 +01:00
renovate[bot]
b121360e10 chore(deps): update actions/cache action to v3.2.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-28 18:37:49 +01:00
renovate[bot]
461a5217a8 chore(deps): update actions/cache action to v3.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-24 13:26:51 +01:00
Tilman Vatteroth
298b6bc205 fix(backend): migrate code to use the commons workspace
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-11 23:09:10 +01:00
Tilman Vatteroth
7320fe2ac1 feat(packages): add commons package
This is an import of 166ca8da12
with some changes to make it fit into the mono repo.
- TypedEventEmitter has been replaced with EventEmitter2 because EventEmitter2 is faster and TypedEventEmitter had some troubles with the new way of compiling.
- tsc-esm has been replaced with microbundle. The problems that lib0 doesn't export its types correctly has been solved using yarn patch.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-11 23:09:10 +01:00
Tilman Vatteroth
549cfefc3f fix(ci): modify backend docker workflow to work with forks
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-11 22:09:06 +01:00
Tilman Vatteroth
9f86617a52 fix(ci): Add job name to concurrency group
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-11 22:09:06 +01:00
Tilman Vatteroth
4012e8625c fix(ci): use custom setup node action in backend e2e tests
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-11 22:09:06 +01:00
David Mehren
6d0ab5261a
feat(ci): add concurrency config for more workflows
Signed-off-by: David Mehren <git@herrmehren.de>
2022-12-04 22:14:59 +01:00
Tilman Vatteroth
fea4656035 fix(ci): remove env var in workflow
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-04 21:13:10 +01:00
Tilman Vatteroth
534540855c feat(ci): deduplicate and fix node setup
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-04 20:59:46 +01:00