Commit graph

396 commits

Author SHA1 Message Date
Nicolas Meienberger
7133a2a2dc Merge branch 'master' into develop 2023-12-01 09:12:31 +01:00
Nicolas Meienberger
03e2604ca0 hotfix(docker): make postgres restart policy "unless-stopped" instead of "on-failure" 2023-12-01 08:44:53 +01:00
Nicolas Meienberger
250e78450f chore: bump node to 20 in dockerfiles and actions 2023-11-29 08:41:35 +01:00
dependabot[bot]
d11299eeb8 chore(deps-dev): bump @types/cli-progress from 3.11.4 to 3.11.5
Bumps [@types/cli-progress](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/cli-progress) from 3.11.4 to 3.11.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/cli-progress)

---
updated-dependencies:
- dependency-name: "@types/cli-progress"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-29 08:22:40 +01:00
Nicolas Meienberger
42349c5a27 fix(worker): no need to mount host 2023-11-28 22:02:52 +01:00
Nicolas Meienberger
852128f551 fix(worker): default to disk 0 if /host/root not found
In order to avoid displaying 0 disk space on some systems, we default to the first disk found
2023-11-28 08:26:43 +01:00
Nicolas Meienberger
bffa31c0b7 fix(worker): default to disk 0 if /host/root not found
In order to avoid displaying 0 disk space on some systems, we default to the first disk found
2023-11-28 08:18:48 +01:00
Nicolas Meienberger
79b448adf3 fix(worker): apply file permissions on start 2023-11-27 21:06:14 +01:00
Olivier Garcia
52499cb0bd feat(support-repoURL-with-branch-syntax): If a appstore repo URL contains a branch, checkout that branch 2023-11-27 21:06:14 +01:00
Nicolas Meienberger
197f6e3998 fix(worker): ensure state folder is rwx for non-root users 2023-11-27 21:04:48 +01:00
Stavros
230ae0a412 fix(worker): remount / to /host/root 2023-11-26 11:17:11 +02:00
Nicolas Meienberger
3d85051915 feat(ThemeProvider): add some magic 2023-11-26 09:13:06 +01:00
dependabot[bot]
14b4331d1d chore(deps-dev): bump @types/web-push from 3.6.2 to 3.6.3
Bumps [@types/web-push](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/web-push) from 3.6.2 to 3.6.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/web-push)

---
updated-dependencies:
- dependency-name: "@types/web-push"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-25 11:27:47 +01:00
Stavros
769f671749 refactor(worker): no need to mount host 2023-11-23 07:47:22 +01:00
Stavros
fb861e26be fix(worker): display disk usage right 2023-11-23 07:47:22 +01:00
dependabot[bot]
ab71d75fd1 chore(deps-dev): bump knip from 2.39.0 to 2.41.3
Bumps [knip](https://github.com/webpro/knip) from 2.39.0 to 2.41.3.
- [Release notes](https://github.com/webpro/knip/releases)
- [Changelog](https://github.com/webpro/knip/blob/main/docs/release-notes-v2.md)
- [Commits](https://github.com/webpro/knip/compare/2.39.0...2.41.3)

---
updated-dependencies:
- dependency-name: knip
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 19:41:54 +01:00
Nicolas Meienberger
47e19b967f fix(docker-compose): mount host at /mnt/host 2023-11-20 19:38:30 +01:00
Nicolas Meienberger
c18b00e78b refactor(docker-compose): change container to restart policy "unless-stopped" 2023-11-20 18:52:04 +01:00
Nicolas Meienberger
60e28fd6b2 refactor: download docker binary instead of installing with apk to reduce size of worker image 2023-11-20 18:52:04 +01:00
Nicolas Meienberger
8bfafac7bd fix: reload env variables before loading config
fix: read env
2023-11-16 20:49:27 +01:00
Nicolas Meienberger
e0d52e79c1 fix(cli): ensure user is allowed to run docker commands before starting 2023-11-16 20:49:27 +01:00
Nicolas Meienberger
2dcb358392 chore: bump version to 2.2.0 2023-11-16 20:49:27 +01:00
Nicolas Meienberger
9efacb5797 ci(alpha): add image build for worker 2023-11-16 20:49:27 +01:00
Nicolas Meienberger
bdfb019df2 fix(worker): docker not throwing an error when failing to start 2023-11-16 20:49:27 +01:00
Nicolas Meienberger
af8509aacc test(worker): implement test suites with vitest 2023-11-16 20:49:27 +01:00
Nicolas Meienberger
55e0cd155e refactor(shared): factorize common helpers in shared package 2023-11-16 20:49:27 +01:00
Nicolas Meienberger
417785ee24 refactor(worker): move executors from cli to worker 2023-11-16 20:49:27 +01:00
Nicolas Meienberger
5f18ff16de feat: create base worker package 2023-11-16 20:49:27 +01:00
Stavros
09461527ee
feat(cli): set custom postgres port in config.json (#918)
* feat(cli): set custom postgres port in config.json

* fix(cli): small misspelling error.

* fix(cli): misspelling error again

Co-authored-by: Nicolas Meienberger <47644445+meienberger@users.noreply.github.com>

* fix(cli): add required env vard to schemas.

* fix(cli): add default port to schema

* fix(cli): add requested changes

* fix(cli): move posgresPort to pick

---------

Co-authored-by: Nicolas Meienberger <47644445+meienberger@users.noreply.github.com>
2023-11-15 21:16:10 +01:00
Nicolas Meienberger
d032bbdc5f chore(cli): remove duplicate stopping app messages 2023-11-07 22:44:52 +01:00
Nicolas Meienberger
f38c3416a4 chore(cli): remove duplicate starting app message 2023-11-07 21:58:49 +01:00
dependabot[bot]
e81e26fb07 chore(deps): bump bullmq from 4.12.7 to 4.13.0
Bumps [bullmq](https://github.com/taskforcesh/bullmq) from 4.12.7 to 4.13.0.
- [Release notes](https://github.com/taskforcesh/bullmq/releases)
- [Commits](https://github.com/taskforcesh/bullmq/compare/v4.12.7...v4.13.0)

---
updated-dependencies:
- dependency-name: bullmq
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-07 07:27:57 +01:00
Nicolas Meienberger
45e71539db ci: move all workflow to use ghcr.io registry 2023-11-06 07:25:46 +01:00
Nicolas Meienberger
cea9697b6d fix: downgrade log-update to version 5.0.1 2023-11-02 20:21:16 +01:00
Nicolas Meienberger
677fb12ad4 chore: bump version to 2.1.0 2023-11-02 19:18:59 +01:00
dependabot[bot]
eccc1decad chore(deps-dev): bump @types/node from 20.8.9 to 20.8.10
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.8.9 to 20.8.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 19:14:25 +01:00
dependabot[bot]
a2d9610c22 chore(deps): bump bullmq from 4.12.6 to 4.12.7
Bumps [bullmq](https://github.com/taskforcesh/bullmq) from 4.12.6 to 4.12.7.
- [Release notes](https://github.com/taskforcesh/bullmq/releases)
- [Commits](https://github.com/taskforcesh/bullmq/compare/v4.12.6...v4.12.7)

---
updated-dependencies:
- dependency-name: bullmq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 19:07:59 +01:00
dependabot[bot]
1d6228a96a chore(deps): bump log-update from 5.0.1 to 6.0.0
Bumps [log-update](https://github.com/sindresorhus/log-update) from 5.0.1 to 6.0.0.
- [Release notes](https://github.com/sindresorhus/log-update/releases)
- [Commits](https://github.com/sindresorhus/log-update/compare/v5.0.1...v6.0.0)

---
updated-dependencies:
- dependency-name: log-update
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 19:05:29 +01:00
Nicolas Meienberger
fd6c5afe2c chore(cli): add guest dashboard env variable 2023-11-02 19:04:57 +01:00
Nicolas Meienberger
9b9541cee7 chore: create migration to add is_visible_on_guest_dahsboard field on app table 2023-11-02 19:04:57 +01:00
dependabot[bot]
6c0f7548f7 chore(deps): bump axios from 1.5.1 to 1.6.0
Bumps [axios](https://github.com/axios/axios) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 12:15:11 +02:00
dependabot[bot]
8b221dcf0a chore(deps): bump systeminformation from 5.21.13 to 5.21.15
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation) from 5.21.13 to 5.21.15.
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sebhildebrandt/systeminformation/compare/v5.21.13...v5.21.15)

---
updated-dependencies:
- dependency-name: systeminformation
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 12:13:48 +02:00
dependabot[bot]
01062d0041 chore(deps-dev): bump @types/node from 20.8.4 to 20.8.9
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.8.4 to 20.8.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 10:09:20 +02:00
dependabot[bot]
bb887f284e chore(deps): bump bullmq from 4.12.5 to 4.12.6
Bumps [bullmq](https://github.com/taskforcesh/bullmq) from 4.12.5 to 4.12.6.
- [Release notes](https://github.com/taskforcesh/bullmq/releases)
- [Commits](https://github.com/taskforcesh/bullmq/compare/v4.12.5...v4.12.6)

---
updated-dependencies:
- dependency-name: bullmq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 09:57:24 +02:00
dependabot[bot]
3a41c0c9c0 chore(deps): bump commander from 11.0.0 to 11.1.0
Bumps [commander](https://github.com/tj/commander.js) from 11.0.0 to 11.1.0.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tj/commander.js/compare/v11.0.0...v11.1.0)

---
updated-dependencies:
- dependency-name: commander
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 07:26:36 +02:00
dependabot[bot]
d5a313fc03 chore(deps-dev): bump @types/web-push from 3.6.1 to 3.6.2
Bumps [@types/web-push](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/web-push) from 3.6.1 to 3.6.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/web-push)

---
updated-dependencies:
- dependency-name: "@types/web-push"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 07:24:45 +02:00
dependabot[bot]
36a683a36e chore(deps): bump bullmq from 4.12.3 to 4.12.5
Bumps [bullmq](https://github.com/taskforcesh/bullmq) from 4.12.3 to 4.12.5.
- [Release notes](https://github.com/taskforcesh/bullmq/releases)
- [Commits](https://github.com/taskforcesh/bullmq/compare/v4.12.3...v4.12.5)

---
updated-dependencies:
- dependency-name: bullmq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 07:24:32 +02:00
Nicolas Meienberger
f39232e1a7 refactor(cli): add spinner text when stopping and starting apps 2023-10-25 18:36:11 +02:00
Nicolas Meienberger
435ff66522 refactor(cli): use flush method for cleanLogs 2023-10-25 18:36:11 +02:00
Nicolas Meienberger
ef0298665c refactor(cli): improve help message for app commands 2023-10-25 18:36:11 +02:00