Commit graph

92 commits

Author SHA1 Message Date
Renovate Bot
94bca42a93 chore(deps): update docker/setup-qemu-action action to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 16:19:28 +02:00
Renovate Bot
be52e89ad0 chore(deps): update docker/build-push-action action to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 11:11:34 +02:00
Renovate Bot
cc3564622d chore(deps): update docker/login-action action to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 11:11:23 +02:00
Renovate Bot
11abe73b31 chore(deps): update github/codeql-action action to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-01 19:05:14 +02:00
Philip Molares
44b6e7053d ci: replaced node 17 with node 18
node 17 is out of support since 01 Apr 2022, so it isn't really beneficial to keep this version in the ci loop. We replace it with the new LTS release 18

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-05-01 18:47:26 +02:00
Renovate Bot
f1f1d8cc94 chore(deps): update codecov/codecov-action action to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-10 10:06:01 +02:00
David Mehren
7d9f795592
ci: hard-code image name in docker cleanup workflow
The variable seems to be empty for some reason

Signed-off-by: David Mehren <git@herrmehren.de>
2022-04-03 18:06:07 +02:00
David Mehren
05b8987747 ci: add docker image cleanup workflow
This adds a daily CI workflow to delete old tags from the
'hedgedoc-ci' image.

Signed-off-by: David Mehren <git@herrmehren.de>
2022-03-21 14:57:27 +01:00
David Mehren
5078b863c6 ci: build and test docker image
This adds a new workflow performing these steps:
- A development docker image is built and pushed to GHCR as
  'hedgedoc-ci' labeled with the commit hash
- Tests are run with the image
- If the tests are successful, a production image is built and
  pushed to GHCR as 'hedgedoc' labeled with the branch, version tag
  if available and the commit hash

At a later time, the built dev image can also be used to run E2E tests
with the other supported databases. Currently, this is not yet possible,
as the database is always expected to run on localhost, not other hosts.

Signed-off-by: David Mehren <git@herrmehren.de>
2022-03-21 14:57:27 +01:00
David Mehren
268b39154d ci: move node version into a variable
Signed-off-by: David Mehren <git@herrmehren.de>
2022-03-06 22:24:21 +01:00
David Mehren
d73c9b8e86 ci: add config for e2e tests with multiple DBs
Signed-off-by: David Mehren <git@herrmehren.de>
2022-03-06 22:24:21 +01:00
Renovate Bot
8aee78c78e chore(deps): update actions/checkout action to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-05 10:40:33 +01:00
Renovate Bot
b0b590757e chore(deps): update actions/setup-node action to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-02-26 13:43:50 +01:00
David Mehren
7e6156b956
ci: setup njsscan
See: https://github.com/ajinabraham/njsscan-action

Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-11 20:14:41 +01:00
David Mehren
be3a4e2c88
CI: Test and build with Node 17
Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-11 19:39:22 +01:00
David Mehren
692300cdc9
CI: Use immutable flag and built-in caching
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-05 18:14:18 +02:00
David Mehren
cda0abfceb
Add missing title property to issue templates
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-21 15:04:21 +02:00
Erik Michelson
053614e3c8
Use GitHub issue forms
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-09-16 23:40:35 +02:00
David Mehren
7de9275f4b
Port over PR template from master
Signed-off-by: David Mehren <git@herrmehren.de>
2021-08-19 19:55:09 +02:00
David Mehren
9df5530472
CI: Stop running tests with Node.js 15
Node 15 is EOL since 01 Jun 2021.

See https://endoflife.date/nodejs

Signed-off-by: David Mehren <git@herrmehren.de>
2021-08-01 17:58:14 +02:00
Renovate Bot
6d450e4fe4
chore(deps): update codecov/codecov-action action to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-07-19 18:06:14 +00:00
David Mehren
61321fd992
CI: Run tests with Node.js 16
Signed-off-by: David Mehren <git@herrmehren.de>
2021-04-22 19:08:43 +02:00
Philip Molares
20f527eb80
GithubWorkflow: Removed build on Node 10
This is not helpful anymore, because node 10 is nearly at the end of its LTS and because ts-loader 9 has node 12 as it minimum supported version and this is a key part of this application.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-20 11:29:20 +02:00
Sheogorath
a6ec1d8739
Delete question template
This patch drops the question template for github issues. This should result in less questions in form of issues.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2021-04-05 14:21:17 +02:00
Philip Molares
c4875ff8ca
Package.json: Switch yarn format and format:check
Make `yarn format` check the files and `yarn format:fix` do the actually
fixing

fixes #920

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-16 10:28:55 +01:00
David Mehren
7efd73e02f
Expand PR template with hint about branches
Add a sub-step to the PR template to remind the user to use the correct
branch.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-01 21:53:37 +01:00
Sheogorath
e8e269b1bb
Add issue config to add external links to the community forum
This patch adds a Issue template config, which can be used to link to
the forum for support requests as well as community discussions.

Note: The change in `.reuse/dep5` just makes sure the CI process doesn't
cry about licenses on files.

Reference:
https://docs.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository#configuring-the-template-chooser

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2021-01-30 20:38:12 +01:00
David Mehren
89df171751
Add missing license header in CodeQL workflow
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-10 20:20:30 +01:00
David Mehren
efb48b9812
Enable GitHub CodeQL analysis
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-10 20:17:21 +01:00
Renovate Bot
bd34b9a6ec
Update actions/setup-node action to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-06 22:40:22 +00:00
Tilman Vatteroth
7aeaf488c4
Change year in copyright to 2021
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-06 21:36:07 +01:00
David Mehren
98951d26c5
Set fetch-depth to 0 for coverage jobs
This allows codecov to fetch the commit SHA

Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-06 13:17:30 +01:00
David Mehren
8aca83e656
Add coverage analysis to CI workflow
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-06 12:38:33 +01:00
David Mehren
7960776bd1
Add CI workflow
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-05 23:02:12 +01:00
Philip Molares
f57e4efcf0
used correct branch for reuse workflow
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-05 23:35:46 +01:00
Philip Molares
03a81fb6c0
added reuse workflow
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-05 22:13:01 +01:00
Philip Molares
1c6da01fa7
Link to the contribution documentation explicitly
Co-authored-by: David Mehren <git@herrmehren.de>
Signed-off-by: Philip Molares <philip.molares@udo.edu>

(cherry picked from commit c7def38ba4)
Signed-off-by: David Mehren <git@herrmehren.de>
2020-11-21 16:48:18 +01:00
David Mehren
bedbcc1150
Update issue templates to use the new labels
Signed-off-by: David Mehren <git@herrmehren.de>
(cherry picked from commit eb727810b5)
2020-12-01 21:11:00 +01:00
David Mehren
8bc66bd81a
Direct questions to the community forum
Signed-off-by: David Mehren <git@herrmehren.de>
2020-11-15 11:47:44 +01:00
Philip Molares
07988d638b
Update .github/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: David Mehren <git@herrmehren.de>
2020-11-14 21:38:02 +01:00
Philip Molares
e44a20a490
Update .github/ISSUE_TEMPLATE/feature_request.md
Co-authored-by: David Mehren <git@herrmehren.de>
2020-11-14 21:37:57 +01:00
Jonas Zohren
eb5ae92569
Add templates for issues and PRs
Signed-off-by: Jonas Zohren <15788906+jfowl@users.noreply.github.com>
2020-11-12 19:38:14 +01:00