Commit Graph

52 Commits

Author SHA1 Message Date
Joe Harrison
f46a763152 ci: tidy up workflows and implement a consistent style (#1905)
* feat(ci): tidy up workflows and implement a consistent style

all workflows now use ubuntu-24.04 as the runner type to match the release workflows

codeql.yml
 - bump actions to v3
 - add least-privilege perms + concurrency to stop duplicate runs
 - ignore docs only changes

conflict_labeler.yml
 - run on opened, reopened, and synchronize
 - bump action version
 - add concurrency group to avoid duplicate labeling

cypress.yml
 - skip docs-only changes; don’t run on draft PRs
 - add concurrency to stop duplicate runs + 10m timeout

docs-deploy.yml
 - add configure-pages@v5 and bump upload-pages-artifact to v4
 - set explicit pages/id-token perms + concurrency
 - minor cleanups (working-directory, ubuntu-24.04)

helm.yml
 - switch oras discover to oras manifest fetch
 - add concurrency to stop duplicate runs

lint-helm-charts.yml
 - bump action versions
 - enforce version bumps (--check-version-increment=true)
 - add least-privilege perms + concurrency to stop duplicate runs

support.yml
 - add least-privilege perms

test-docs-deploy.yml
 - add least-privilege perms + concurrency to stop duplicate runs

* fixed line 5 syntax error

* Updated based on comments from @M0NsTeRRR in PR-1905 discussion

* updated based on 2nd review from @M0NsTeRRR in PR-1905

* Merge of PR-1904 and PR-1905

* chore(pnpm-lock.yaml): updated the pnpm-lockfile

* ci(release.yml): fix the latest tag to use context labels

* ci: fix new lines at eof, removed cypress timeout, removed legacy qemu actions

* @M0NsTeRRR self review

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>

* fix: support workflow

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>

* fix: newline

---------

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Co-authored-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Co-authored-by: Ludovic Ortega <github@mail.adminafk.fr>
2025-09-25 06:57:23 +05:00
Metin Bektas
b9dc9bceb5 feat: Add latest tag to ghcr container image (#1224)
* feat: Add latest tag to ghcr container image

* ci: add login action to GitHub Container Registry
2025-01-16 00:43:23 +08:00
Fallenbagel
24c6208a3c chore: update nodejs to 22 in an attempt to fix undici errors (#1229)
* chore: update nodejs to 22 in an attempt to fix undici errors

This is an attempt to fix the undici errors introduced after the switch
from axios to native fetch. The decision was made as it native fetch on
node 20 seems to be "experimental" and
> since native fetch is no longer experimental since Node 21

* chore: increase the required node version

* build: update nodejs version to 22

* chore: update nodejs version to 22

* chore: update @types/node to v22

* chore(gen-docs): update the gen-docs node engine requirement to 22
2025-01-09 18:24:38 +08:00
Gauthier
989af67c0a refactor: update Next.js, React.js and Node.js (#815)
* refactor: update Next.js and React.js

* refactor: update Next.js images

* refactor: update ESLint rules and fix warnings/errors

* fix: remove old intl polyfill

* fix: add proper size to next/image components

* fix: adjust full-size for next/image components

* fix: temporary allow all domains for image optimization

* build: fixes an issue where dev env could lead to javascript heap out of memory

* fix: resolve webpack cache issue with country-flag-icons

* refactor: switch compiler from Babel to SWC

* fix: resize logo in sidebar

* fix: break word on long path to avoid text overflow

* chore: added sharp for production image optimisation

* fix: change extract script for i18n to a custom script

* fix: resolve GitHub CodeQL alert

* chore: temporarily remove builds for ARMv7

* fix: resize avatar images

* refactor: update Node.js to v20

* fix: resolve various UI issues

* build: migrate yarn to pnpm and restrict engine to node@^20.0.0

* ci: specify the pnpm version to use in workflow actions

* ci: fix typo in pnpm action-setup for cypress workflow

* test(cypress): use pnpm instead of yarn

* style: ran prettier on pnpm-lock

* ci(cypress): setup nodejs v20 in cypress workflow

* ci: pnpm cache to reduce install time

* ci: use sh shell to get pnpm store directory

* build(dockerfile): migrate to pnpm from yarn in docker builds

* build(dockerfile): copy the proper pnpm lockfile

* build: install pnpm for all platforms

* build(dockerfile): remove unnecessary `&&` on apk installation steps

* build: migrate pnpm 8 to 9

* build(dockerfile): add node-gyp back in

* build(dockerfile): install node-gyp through npm

* build(dockerfile): ignore scripts to not run husky install when devdependencies are pruned

* build: migrate to pnpm from yarn

* chore: remove a section that is no longer relevant

---------

Co-authored-by: fallenbagel <98979876+Fallenbagel@users.noreply.github.com>
2024-06-23 23:43:54 +02:00
Fallenbagel
6eb88f8674 ci: temporarily disable snap release builds (#811) 2024-06-12 10:49:15 +05:00
Gauvino
9c68616343 Update action (#717)
- Update action version to latest (remove all warnings)
 - Update nodejs version on action
 - Update ubuntu to latest on support action
2024-04-16 02:41:08 +05:00
fallenbagel
200d47bb43 Merge remote-tracking branch 'upstream/develop' into develop 2023-11-06 17:41:40 +05:00
Ryan Cohen
3a593d9d76 build: update docker ubuntu images to 22.04 (#3671) 2023-11-05 22:40:03 +09:00
Fallenbagel
604335a16d ci(release): fix previous merge that changed discord notification run-on to self-hosted [skip ci] 2023-02-01 08:52:28 +05:00
Fallenbagel
e1f67ad8ba Merge 'overseerr/develop' into develop 2023-01-28 03:40:12 +05:00
notfakie
ad3d922440 Merge remote-tracking branch 'overseerr/develop' into develop 2023-01-27 17:55:55 +13:00
Danshil Kokil Mungur
51b05cd8fb fix(build): update usage of publish snap action (#3272)
* fix(build): use env variable to login with snapcraft 7

* refactor(build): replace deprecated set-output command in GHA

* fix(build): use correct environment variable for output

* style(build): run prettier
2023-01-27 09:48:40 +09:00
Fallenbagel
6f73dbc36a Fix snap stable builds 2023-01-05 02:26:23 +05:00
Fallenbagel
22aab783d4 Prepare snap builds [skip ci] 2022-12-16 02:41:05 +05:00
notfakie
e9eba96f5a Merge remote-tracking branch 'overseerr/develop' into develop 2022-09-07 18:24:01 +12:00
Ryan Cohen
f4910a1483 build(snap): re-enable snap workflow (#2945)
* build(snap): try re-enabling snap workflow

* build: try adding a safe directory exception?

* build(snap): disable cypress binary install

* build(snap): add yarnrc to force frozen lockfile and timeout arguments

* build(snap): add back in release snap workflow

* build(snap): revert back to only running on dev branch
2022-08-18 19:16:24 +09:00
Ryan Cohen
7a5fab35ff build(snap): add architectures to snapcraft.yaml (#2938) [skip ci] 2022-08-18 10:57:40 +09:00
renovate[bot]
17ac5069e5 chore(deps): update github-actions (#2933) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-17 15:04:19 -04:00
Fallenbagel
c7ba553208 fix yarn dependecies install in release workflow 2022-06-20 19:25:25 +05:00
Fallenbagel
a34e14b496 add yarn dependencies 2022-06-20 19:19:28 +05:00
Fallenbagel
a5e6217f85 Changed run-on to self-hosted to speed up release process 2022-06-20 17:36:13 +05:00
Fallenbagel
4470b65563 Adds Github_token as an env
Adds Github_token as an env
2022-04-20 06:22:42 +05:00
notfakie
aab1b2d4c6 update workflow and discord locations for jellyseerr 2022-04-16 13:22:27 +12:00
Ryan Cohen
77511bf199 ci: disable husky for release ci 2022-04-01 18:01:22 +09:00
TheCatLady
4c50727a32 ci: only lint/test PRs (#2437) 2022-03-14 16:16:45 +04:00
dependabot[bot]
1f964b576a build(deps): bump actions/checkout from 2 to 3 (#2589) [skip ci]
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-13 19:34:25 +00:00
TheCatLady
a229b15e7a build(deps): bump dependencies (#2584)
* build(deps): bump dependencies

* build(ci): disable broken snap builds
2022-03-13 19:27:39 +00:00
TheCatLady
d863a55de2 build(deps): bump dependencies & only specify major version for GH actions (#2525)
* build(deps): bump dependencies & only specify major version for GH actions

* build(deps): bump dependencies again
2022-02-10 11:27:37 +09:00
TheCatLady
8cba486249 fix: address unhandled promise rejections & bump node to v16.13 (#2398)
* fix: unhandled promise rejections

* build(deps): bump node from 14.18 to 16.13

* fix: unhandled promise rejection in new Plex users endpoint

* fix: build error

Co-authored-by: Ryan Cohen <ryan@sct.dev>
2022-01-27 20:00:30 +09:00
TheCatLady
114366fa4b build(deps): bump dependencies (#2427)
* build(deps): bump dependencies

* build(deps): bump next to 12.0.8

* build(deps): bump swr to 1.1.2

* build(deps): bump more dependencies

* build(deps): bump husky to 7.0.4

* fix: remove user list button outlines

* build(deps): bump dependencies again

* build(deps): bump dependencies once more
2022-01-20 10:04:34 +09:00
TheCatLady
54e9071e90 build(deps): bump node to 14.18 (#2209) [skip ci] 2021-10-16 22:17:43 +09:00
TheCatLady
0db0d4c280 build(deps): bump node to 14.17 and drop uuid in favor of native randomUUID (#1792) 2021-06-17 13:12:09 +09:00
sct
79d73f3e04 build(deps): bump dependencies 2021-06-04 22:10:13 +09:00
sct
4e484282f0 build(deps): bump dependencies 2021-05-13 23:44:23 +09:00
TheCatLady
2fc9835a6a build(docker): refactor Dockerfile to enable caching of node_modules (#1550)
* ci: revert actions/cache version change and install GNU tar

* ci: do not potentially destroy Docker cache while building preview images

* build(docker): refactor Dockerfile to cache node_modules

* ci: remove Next.js caching

* build(docker): don't break arm builds
2021-05-03 22:13:23 +09:00
TheCatLady
ad7375ec50 ci: use actions/cache@v2.1.0 instead of v2.1.5 (#1502) 2021-04-30 22:54:56 +09:00
TheCatLady
f1e8250740 ci(nextjs): configure Next.js build cache (#1463) [skip ci]
https://nextjs.org/docs/messages/no-cache#github-actions

Co-authored-by: sct <ryan@sct.dev>
2021-04-25 23:18:31 +09:00
TheCatLady
dad37e8be6 ci(github): authenticate with GHCR using GITHUB_TOKEN instead of PAT (#1422) [skip ci] 2021-04-14 00:42:31 +00:00
sct
36584eee85 build: build arm images in release
re #302
2021-03-12 13:02:18 +00:00
sct
18a7876668 build(deps): bump dependencies 2021-03-11 05:06:47 +00:00
samwiseg0
84b950edc0 build(snap): Revert QEMU version to fix arm64 builds (#1005)
* build(snap): Revert QEMU version to fix arm64 builds

* build(snap): Re-enable arm64 builds
2021-02-23 14:32:41 +09:00
dependabot[bot]
bddea7ab24 build(deps): bump technote-space/workflow-conclusion-action (#822)
Bumps [technote-space/workflow-conclusion-action](https://github.com/technote-space/workflow-conclusion-action) from v1 to v2.1.2.
- [Release notes](https://github.com/technote-space/workflow-conclusion-action/releases)
- [Changelog](https://github.com/technote-space/workflow-conclusion-action/blob/master/.releasegarc)
- [Commits](https://github.com/technote-space/workflow-conclusion-action/compare/v1...cb07f962e292a266fc492bf93a6fb2a7c1f5aa2e)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-18 15:07:36 +00:00
dependabot[bot]
8a9d794fec build(deps): bump diddlesnaps/snapcraft-review-tools-action (#821)
Bumps [diddlesnaps/snapcraft-review-tools-action](https://github.com/diddlesnaps/snapcraft-review-tools-action) from v1 to v1.2.0.
- [Release notes](https://github.com/diddlesnaps/snapcraft-review-tools-action/releases)
- [Commits](https://github.com/diddlesnaps/snapcraft-review-tools-action/compare/v1...7c8e0d11cc9e8833be2b9be8f15602c0bf1b033c)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-18 15:02:58 +00:00
sct
c0ea2bd189 ci(snap): pull latest from master when doing snap release 2021-02-05 14:14:16 +00:00
sct
e34482bc3f ci(snapcraft): remove --unshallow argument from fetch in Prepare step 2021-01-30 06:33:25 +00:00
sct
6f3f24a1d7 ci(release): fix release workflow formatting 2021-01-30 06:02:45 +00:00
samwiseg0
2e724b5bd8 build(snap): Fix snap to pull from latest master [skip ci] (#783) 2021-01-30 14:53:19 +09:00
samwiseg0
f7c0769deb build(release): Add snap package to the release workflow [skip ci] (#692)
* build(discord): Always send discord notification

* build(snap): Remove trigger for tags

* build(release): Add snap build to release workflow

* Remove pull request if from discord snap
2021-01-20 10:40:15 +09:00
sct
81a96db2e7 ci: fix release discord notification [skip ci] 2021-01-19 07:54:55 +00:00
samwiseg0
f2b9125acd build(workflows): Update workflows to use ubuntu-20.04 (#684)
Added discord notifications to all build jobs
2021-01-18 20:17:24 -05:00