Commit Graph

50 Commits (163c977d2f4891fa7c4372b9f6a686b1fa34350f)

Author SHA1 Message Date
Opliko 163c977d2f ci: add 3.x docker tag
Opliko c588d741ba ci: only publish latest from master
`latest` tag is currently v2. That happened because of the backported change which is newer than any commits to `master`.

However, this logically shouldn't happen. The expectation for latest would be that it has the, well, the code from the highest version released, not literally the latest commit no matter where it came from. Thankfully metadata action allows for conditional tags and even has a helper for default branch making it not hard-coded (so if NodeBB decided to migrate to `main` or someone in their fork did it'd still work).

The result would be that latest is the latest code in `master`, which I see as similar to the default git workflow (`master` is just latest code, `vX.Y` branches or tags are for using proper releases).
Opliko 0417e5f16c
ci: multi-platform docker image ()
* ci: multi-platform build

* ci: remove riscv as node doesn't support it

* ci: correct step name

it's no longer logging in to docker hub

* ci: remove less common architectures

* ci: github actions cache for docker builds

* fix: use `--omit` flag to actually avoid installing dev dependencies

* feat: two-stage build

* feat: add platform-specific rebuild

* fix: run install if target arch is different from build arch

* fix: whitespace

* fix: correct build order

* fix: remove unnecessary conditional

* fix: remove unnecessary platofm specifier

* fix: correct copy
renovate[bot] fec552d205
chore(deps): update coverallsapp/github-action action to v2.1.2 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] f8ae6ef7ef
chore(deps): update coverallsapp/github-action action to v2.1.1 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] 88b02d9004
chore(deps): update coverallsapp/github-action action to v2.1.0 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Barış Soner Uşaklı 1b98995132 Merge branch 'master' into develop
Opliko c27567289f ci: publish to ghcr instead of docker hub
renovate[bot] f286b66fe4
chore(deps): update postgres docker tag to v15 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] 8ddb302f20
chore(deps): update docker/build-push-action action to v4 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Barış Soner Uşaklı fafa130406
chore: up connect-redis to 7.x, drop node 14 ()
renovate[bot] a5a4b307f3
chore(deps): update coverallsapp/github-action action to v2 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] e8e35de390
chore(deps): update coverallsapp/github-action action to v1.2.4 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Julian Lam a2fafc2b15 Merge remote-tracking branch 'origin/master' into develop
Julian Lam c2024f3484 chore: really fix indents this time
Julian Lam d50512e73c chore: fix indents
Julian Lam be5d6d29c9 chore: add bootstrap5 to test runner for now
Barış Soner Uşaklı 02ef3e974c
Esbuild ()
* ci: add minimum GitHub token permissions for workflows
Signed-off-by: Ashish Kurmi <akurmi@stepsecurity.io>

* feat: use esbuild for minification

Co-authored-by: Ashish Kurmi <akurmi@stepsecurity.io>
Ashish Kurmi fe0020fb31 ci: add minimum GitHub token permissions for workflows
Signed-off-by: Ashish Kurmi <akurmi@stepsecurity.io>
renovate[bot] 5aa55d29f3
chore(deps): update postgres docker tag to v14 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Julian Lam 2568986c58 Revert "Revert "chore(deps): update docker/build-push-action action to v3""
This reverts commit d2c2f333e1.
Julian Lam 9d446f9282 Revert "Revert "chore(deps): update docker/login-action action to v2""
This reverts commit 887df0e62b.
Julian Lam c71335218b Revert "Revert "chore(deps): update docker/setup-buildx-action action to v2""
This reverts commit 8936f412d1.
renovate[bot] 8afaed223c chore(deps): update mongo docker tag to v3.7
renovate[bot] 4aecf399eb chore(deps): update docker/setup-qemu-action action to v2
renovate[bot] 269382e03d chore(deps): update redis docker tag to v2.8.23 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Julian Lam 8936f412d1 Revert "chore(deps): update docker/setup-buildx-action action to v2"
This reverts commit 371ac03220.
Julian Lam 887df0e62b Revert "chore(deps): update docker/login-action action to v2"
This reverts commit 3d68accf99.
Julian Lam d2c2f333e1 Revert "chore(deps): update docker/build-push-action action to v3"
This reverts commit bfd6318cd6.
renovate[bot] bfd6318cd6 chore(deps): update docker/build-push-action action to v3
renovate[bot] 3d68accf99 chore(deps): update docker/login-action action to v2
renovate[bot] 371ac03220 chore(deps): update docker/setup-buildx-action action to v2
Renovate Bot 42a45a71f4 chore(deps): update docker/metadata-action action to v4
Barış Soner Uşaklı 84f2726391
refactor: deprecate middleware param ()
* refactor: deprecate middleware param

make middlewares optional

* chore: add node 18 again
Barış Soner Uşaklı 50658a82f0
test: remove node18 until nodemailer is fixed
Barış Soner Uşaklı 976914e71f
test: remove node 12, add 18
Barış Soner Uşaklı 500cad78e5 test: up mongodb version
Barış Soner Uşaklı d27c9696e3
feat: add node 16 ()
* feat: add node 16

* fix: check errors in fork

* test: add use-spawn

* test: another test

* Revert "test: another test"

This reverts commit 606efe26fe1decd5d9269d63d5b649441ba2203b.

* test: another test

* fix: lint

* fix: remove spawn-wrap

* test: comment out plugin installs

* fix: lint

* test: uncomment all tests except npm i

* fix: lint

* test: bring back tests

* test: remove leftover override
Julian Lam 944a798552 fix: also launch docker workflow on release branches
Antosik b06e8dba7b fix: docker - remove sha tag
Antosik 52eace4b38 fix: Return QEMU back, remove platforms definition
Anton Grigoryev e7f4cde466
Fix: Docker workflow tweaks ()
* fix: docker workflow tweaks

* fix: run workflow on push to master branch
Renovate Bot ee02771959 chore(deps): update docker/build-push-action action to v2.7.0
Julian Lam 66f70b2aa0 Revert "Revert "Use Github Action as a release pipeline to Docker ()" ()"
This reverts commit d2bc1fa565.
Barış Soner Uşaklı d2bc1fa565
Revert "Use Github Action as a release pipeline to Docker ()" ()
This reverts commit 1a72d3b4f8.
Steve Fan 1a72d3b4f8
Use Github Action as a release pipeline to Docker ()
* Create main.yml

* Update and rename main.yml to docker.yml
Renovate Bot 99c230372a chore(deps): update coverallsapp/github-action action to v1.1.3
Barış Soner Uşaklı 8d3ec23483 chore: remove node 10
renovate[bot] 55a55ea284
chore(deps): update actions/setup-node action to v2 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Peter Jaszkowiak a3fa313298
Github actions lint demo ()
* feat: use github actions for ci

- test using minimum supported db versions
- ESLint will make review comments on PRs
- formatted configs

* mess up eslint

* fix: lint maybe

Co-authored-by: Barış Soner Uşaklı <baris@nodebb.org>