Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] develop from runtipi:develop #69

Open
wants to merge 256 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
256 commits
Select commit Hold shift + click to select a range
a399931
New translations en.json (Chinese Traditional)
nicotsx Sep 28, 2024
b4d8688
New translations en.json (Chinese Traditional)
nicotsx Oct 5, 2024
54d7761
New translations en.json (Chinese Traditional)
nicotsx Oct 5, 2024
0a1ae5c
New translations en.json (Spanish)
nicotsx Oct 17, 2024
69692e3
New translations en.json (Spanish)
nicotsx Oct 17, 2024
6f6229f
chore(deps-dev): bump @faker-js/faker from 8.4.1 to 9.0.3
dependabot[bot] Oct 11, 2024
607ec4d
chore: fix faker new signature for internet.password
nicotsx Oct 18, 2024
dda193e
refactor(archive-manager): switch to plain tar usage
nicotsx Oct 19, 2024
8071f2a
chore(deps): bump the minor-patch group across 1 directory with 18 up…
dependabot[bot] Oct 18, 2024
1309c3d
chore: fix import type
nicotsx Oct 19, 2024
340243e
chore: bump version to 3.6.3
nicotsx Oct 19, 2024
e5e4323
chore: remove auto issue stale workflow
nicotsx Nov 2, 2024
71dd20d
chore(deps): bump the minor-patch group across 1 directory with 21 up…
dependabot[bot] Nov 1, 2024
265f51a
fix(app-config): use open port default TRUE
nicotsx Nov 2, 2024
bf15b78
fix: add parsed form in db config when updating
nicotsx Nov 2, 2024
cb001bc
chore: update @shared package imports
nicotsx Nov 2, 2024
59782dc
chore(deps): bump zustand from 4.5.5 to 5.0.0
dependabot[bot] Oct 27, 2024
5dfa832
New translations en.json (Portuguese)
nicotsx Oct 31, 2024
8e95540
Update src/client/messages/pt-PT.json
nicotsx Nov 2, 2024
8d01d7a
New translations en.json (Portuguese)
nicotsx Nov 2, 2024
33a341f
chore(deps): bump uuid from 10.0.0 to 11.0.2
dependabot[bot] Nov 2, 2024
4d7c127
Merge branch 'master' into develop
nicotsx Nov 2, 2024
ed67bc1
chore: bump version to 3.6.4
nicotsx Nov 2, 2024
f62e72e
ci: increase timeout on CLI build to 10 minutes
nicotsx Nov 2, 2024
b20fb06
chore: bump docker-compose version to v2.30.1
nicotsx Nov 2, 2024
476e997
Merge pull request #1746 from runtipi/release/3.6.4
nicotsx Nov 2, 2024
05db49e
chore: increase timeout in CLI build to 20 min
nicotsx Nov 2, 2024
126a359
chore: deprectate next app
nicotsx Nov 8, 2024
bfdf27c
Merge pull request #1751 from runtipi/chore/deprectate-next-app
nicotsx Nov 8, 2024
c7d9b0c
feat: add nest app
nicotsx Nov 8, 2024
51e1ed8
Merge pull request #1752 from runtipi/feat/nest-app
nicotsx Nov 8, 2024
9a422d6
ci: fix-checks
nicotsx Nov 8, 2024
65c17bb
chore: gen api
nicotsx Nov 9, 2024
58234ab
Added option to remove backups when uninstalling an app (#1756)
sergi0g Nov 9, 2024
f5180e6
ci: fix releases (#1755)
nicotsx Nov 9, 2024
20cedf4
chore(deps-dev): bump vite from 5.4.5 to 5.4.6 (#1753)
dependabot[bot] Nov 9, 2024
8db7881
feat: update repo button
steveiliop56 Nov 9, 2024
d7bfff2
Merge pull request #1758 from runtipi/feat/update-repo-button
steveiliop56 Nov 9, 2024
7dc87c0
chore: regenerate metadata
nicotsx Nov 9, 2024
f03f8a2
ci: fix playwright cache (#1759)
nicotsx Nov 10, 2024
546266e
ci: fix job name
nicotsx Nov 10, 2024
d38b182
Create codeql.yml
nicotsx Nov 10, 2024
0238625
chore: remove codeql custom job
nicotsx Nov 10, 2024
92f9e31
chore(deps): bump the minor-patch group with 52 updates (#1760)
dependabot[bot] Nov 10, 2024
027752e
chore: delete advanced codeql analysis
nicotsx Nov 10, 2024
8d569c8
feat: update app config
nicotsx Nov 10, 2024
57113e4
feat: auto themes
nicotsx Nov 10, 2024
4edada1
chore: remove fallback when app context is not ready
nicotsx Nov 10, 2024
47923d6
feat: update app
nicotsx Nov 10, 2024
30ba512
chore: add other languages
nicotsx Nov 10, 2024
20b66a0
feat: change language
nicotsx Nov 10, 2024
23ad7ab
refactor(messages): update to support new substitution pattern
nicotsx Nov 10, 2024
f6dddeb
feat: update all
nicotsx Nov 10, 2024
62675ec
refactor(queue): use a task queue to process only the amount of worke…
nicotsx Nov 10, 2024
bb83e76
refactor(queue): allow for multiple callbacks
nicotsx Nov 10, 2024
17774ac
chore(deps): bump @nestjs/swagger from 7.4.2 to 8.0.5 (#1763)
dependabot[bot] Nov 11, 2024
d245f73
chore(deps-dev): bump @types/node from 20.16.5 to 22.9.0 (#1761)
dependabot[bot] Nov 11, 2024
4d2768d
Introducing Tipi Guru on Gurubase.io (#1764)
kursataktas Nov 16, 2024
b402c61
chore(backend): remove uuid for crypto.randomUUID
nicotsx Nov 16, 2024
9f7a458
chore(deps): bump actions/cache from 2 to 4 (#1768)
dependabot[bot] Nov 16, 2024
8f91e6b
feat: display tooltip on app tile description (#1769)
lardissone Nov 16, 2024
8c2424b
refactor(limit-text): use span with title in all usages
nicotsx Nov 16, 2024
6c79b3b
feat: drizzle migration
nicotsx Nov 11, 2024
0a8404a
fix(migrations): add column if not exists
nicotsx Nov 13, 2024
d03059d
chore(backend): directly bundle source code instead of using nest cli…
nicotsx Nov 13, 2024
ae4a72a
chore(backend): sentry sourcemaps
nicotsx Nov 14, 2024
eecf9ba
feat(frontend): sentry implementation
nicotsx Nov 14, 2024
4c810ce
fix(reset-app): don't throw when files are missing
nicotsx Nov 16, 2024
80f701e
fix(Dockerfile): remove filter in sentry sourcemaps command
nicotsx Nov 16, 2024
28e6012
ci(checks): use bundle command instead of build
nicotsx Nov 16, 2024
5f606eb
fix(configuration): append /app-data at the end of RUNTIPI_APP_DATA_PATH
nicotsx Nov 16, 2024
d0ec0b1
chore: put back argon2 as external dependency
nicotsx Nov 16, 2024
4c8ddd4
feat: jwt cli auth
nicotsx Nov 16, 2024
bbac66e
chore: disable sentry in non prod environments
nicotsx Nov 17, 2024
98124de
Update Crowdin configuration file
nicotsx Nov 18, 2024
f3f9f5c
chore: remove manually imported translations
nicotsx Nov 18, 2024
3da060d
chore: delete legacy folder
nicotsx Nov 18, 2024
c17d8b3
chore(deps): bump the minor-patch group across 1 directory with 26 up…
dependabot[bot] Nov 18, 2024
2e842c9
New Crowdin updates (#1777)
nicotsx Nov 18, 2024
a1cd140
fix(restore-backup): put back version of restored app in the db
nicotsx Nov 18, 2024
ec6c5ce
fix(image): circular reference in response
nicotsx Nov 18, 2024
aa38ca2
chore: init sentry with acknowledge welcome if error monitoring is se…
nicotsx Nov 18, 2024
d0d5464
refactor: move init sentry to configuration service
nicotsx Nov 18, 2024
14bcd46
refactor: fix dialog titles and footers (#1778)
steveiliop56 Nov 18, 2024
fe3e646
feat: add swagger docs in production
nicotsx Nov 18, 2024
e466eae
fix: include previous settings when writing settings file
steveiliop56 Nov 19, 2024
fdac535
fix: do not append EOL
steveiliop56 Nov 19, 2024
f01952a
Merge pull request #1782 from runtipi/fix/fix-settings
steveiliop56 Nov 19, 2024
2e34a34
fix: skip setting user settings in demo mode welcome screen
nicotsx Nov 18, 2024
12f8fba
fix(header): disable hamburger menu on guest dashboard
nicotsx Nov 18, 2024
f5ee2ea
fix: remove forced scroll causing issues in mobile
nicotsx Nov 18, 2024
2bf535f
fix(filesystem): introduce safe roots for file system manipulation
nicotsx Nov 18, 2024
23fe2c6
refactor(filesystem): use path.relative for increase security against…
nicotsx Nov 18, 2024
f86cb4d
fix(scrollbar): disable on mobile devices
nicotsx Nov 18, 2024
0380749
chore: remove prettier & eslint references
nicotsx Nov 18, 2024
a14b562
fix(css): main container height 100%
nicotsx Nov 19, 2024
41d28fc
fix(update-app): regenerate app config after update
nicotsx Nov 19, 2024
07867de
fix: remove dependency configurationService from filesystem service
nicotsx Nov 19, 2024
b93771e
fix: circular dependency with logger service
nicotsx Nov 19, 2024
349b5ab
fix(backups): allow extracting x-tar mime type
nicotsx Nov 19, 2024
6593089
New translations en.json (Ukrainian) (#1783)
nicotsx Nov 19, 2024
4f4f69f
fix: don't block backup/restore when app fails to stop
nicotsx Nov 19, 2024
71d780c
New translations en.json (Ukrainian) (#1783)
nicotsx Nov 19, 2024
867affb
Merge pull request #1781 from runtipi/release/3.7.0
nicotsx Nov 19, 2024
dba7d69
fix(compose schema): allow numbers in environment
nicotsx Nov 19, 2024
4038ebb
Merge branch 'master' into develop
nicotsx Nov 19, 2024
a8c1305
chore: add hint tags in sentry capture exception
nicotsx Nov 19, 2024
c151785
fix(auth): don't passthrough logout response
nicotsx Nov 20, 2024
7116ac6
fix(docker-builder): allow numbers as environment values
nicotsx Nov 20, 2024
a6428e5
fix(supervisord): wait for rabbitmq to start before launching server
nicotsx Nov 20, 2024
ded06fb
refactor: improve performances by reducing re-renders
nicotsx Nov 20, 2024
3d51096
chore: add turbo task for tests
nicotsx Nov 20, 2024
2ebf609
test(backend): vitest setup and mock fs globally
nicotsx Nov 20, 2024
08a9c48
test(backend): app.service
nicotsx Nov 20, 2024
59213c6
ci: run tests on each PR
nicotsx Nov 20, 2024
c733771
fix: patch vercel/ncc to evaluate import.meta.url
nicotsx Nov 20, 2024
cf574a6
chore: update readme and rename to runtipi
nicotsx Nov 21, 2024
b2ccad7
chore: update readme typo
nicotsx Nov 21, 2024
114ea60
fix(compose schema): allow numbers in environment
nicotsx Nov 19, 2024
62e476e
chore: add hint tags in sentry capture exception
nicotsx Nov 19, 2024
409c4fa
fix(auth): don't passthrough logout response
nicotsx Nov 20, 2024
b420277
fix(docker-builder): allow numbers as environment values
nicotsx Nov 20, 2024
835ac1e
fix(supervisord): wait for rabbitmq to start before launching server
nicotsx Nov 20, 2024
4a4bd36
refactor: improve performances by reducing re-renders
nicotsx Nov 20, 2024
d025323
chore: add turbo task for tests
nicotsx Nov 20, 2024
9b4c8c4
test(backend): vitest setup and mock fs globally
nicotsx Nov 20, 2024
a7fbf60
test(backend): app.service
nicotsx Nov 20, 2024
4e72c93
ci: run tests on each PR
nicotsx Nov 20, 2024
997de51
fix: patch vercel/ncc to evaluate import.meta.url
nicotsx Nov 20, 2024
26ee681
chore: bump version to 3.7.1
nicotsx Nov 20, 2024
50f02a9
chore: coderabbit feedbacks
nicotsx Nov 21, 2024
cd92a08
fix(systemload): use default 0 values to avoid NaNs
nicotsx Nov 21, 2024
5b99a1b
chore: fix test imports
nicotsx Nov 21, 2024
7d47423
chore(exception.filter): don't capture translatable errors in Sentry
nicotsx Nov 21, 2024
a679fe8
fix(links): save update date as ISOString
nicotsx Nov 21, 2024
ef9d815
fix(restart-dialog): put correct status "restarting" on mutate
nicotsx Nov 21, 2024
1097441
fix: app-data-path
nicotsx Nov 21, 2024
4e768a5
Merge branch 'master' into develop
nicotsx Nov 21, 2024
d7c7cc7
refactor: remove app-data from path recursively
nicotsx Nov 21, 2024
b7e52d7
fix(errors): send intl params if server throws translatable error
nicotsx Nov 21, 2024
c3718be
chore(deps): bump the minor-patch group across 1 directory with 20 up…
dependabot[bot] Nov 21, 2024
b17cebf
fix: return res when passthrough is not true
nicotsx Nov 21, 2024
8ddd20b
fix(frontend): fix tabler icons load of all icons
nicotsx Nov 27, 2024
7d7a7d5
fix: add back previous migrations as custom drizzle ones
nicotsx Nov 27, 2024
18365e1
chore(deps): bump the minor-patch group across 1 directory with 25 up…
dependabot[bot] Nov 27, 2024
42749de
chore(frontend): generate sdk
nicotsx Nov 27, 2024
8e869f8
chore(deps-dev): bump @types/express from 4.17.21 to 5.0.0
dependabot[bot] Nov 27, 2024
01c28ae
chore(deps): bump i18next-http-backend from 2.6.2 to 3.0.1
dependabot[bot] Nov 22, 2024
ae49326
New Crowdin updates (#1785)
nicotsx Nov 27, 2024
498f53b
chore(deps): bump react-router-dom from 6.28.0 to 7.0.1 (#1799)
dependabot[bot] Nov 27, 2024
fc702cf
chore(deps): bump i18next from 23.16.8 to 24.0.2 (#1808)
dependabot[bot] Nov 27, 2024
e2ec060
chore(migrations): remove unused tables migrations and updates
nicotsx Nov 24, 2024
fd09072
refactor(repos): move hepers out of repos service to repo helpers
nicotsx Nov 24, 2024
9a2778e
chore: rename repos module to app-store
nicotsx Nov 24, 2024
fd7fe97
feat: create app stores on startup
nicotsx Nov 24, 2024
599dbd7
refactor: clone & pull all in one event
nicotsx Nov 24, 2024
75ae0e2
feat(app-store): implement new marketplace service
nicotsx Nov 26, 2024
77d0ff1
refactor: helper function to extract, store & app ids from id
nicotsx Nov 26, 2024
be14500
feat: add update info in apps data
nicotsx Nov 27, 2024
af3e8d3
chore: fix migrations order
nicotsx Nov 27, 2024
ed5469d
feat: add back update all apps
nicotsx Nov 27, 2024
ae89e16
refactor(app-store): don't remove deleted stores from db
nicotsx Nov 27, 2024
9cc5c2b
test: add integration tests for install app
nicotsx Nov 28, 2024
e279667
feat: migration script
nicotsx Nov 30, 2024
becc9c2
test(integration): add lifecycle install app tests
nicotsx Nov 30, 2024
b34c55c
refactor: bot suggestions
nicotsx Nov 30, 2024
a7a1425
test(integration): update snapshots
nicotsx Nov 30, 2024
640b268
chore: cleanup
nicotsx Nov 30, 2024
a8cb29a
chore(deps-dev): bump vite from 5.4.11 to 6.0.1 (#1810)
dependabot[bot] Nov 30, 2024
d31a244
chore(deps): bump the minor-patch group across 1 directory with 10 up…
dependabot[bot] Nov 30, 2024
f82dfb7
chore(deps): bump the minor-patch group with 12 updates (#1818)
dependabot[bot] Dec 3, 2024
e534b80
feat(queue): allow user to change the queue timeouts in settings.json
nicotsx Dec 6, 2024
c88468c
refactor: remove app-data from path recursively
nicotsx Nov 21, 2024
fe906df
fix(errors): send intl params if server throws translatable error
nicotsx Nov 21, 2024
246363a
chore(deps): bump the minor-patch group across 1 directory with 20 up…
dependabot[bot] Nov 21, 2024
26a8a03
fix: return res when passthrough is not true
nicotsx Nov 21, 2024
c1306c5
fix(frontend): fix tabler icons load of all icons
nicotsx Nov 27, 2024
d2c85b9
fix: add back previous migrations as custom drizzle ones
nicotsx Nov 27, 2024
c7652fb
chore(deps): bump the minor-patch group across 1 directory with 25 up…
dependabot[bot] Nov 27, 2024
29668e2
chore(frontend): generate sdk
nicotsx Nov 27, 2024
1889f9c
chore(deps-dev): bump @types/express from 4.17.21 to 5.0.0
dependabot[bot] Nov 27, 2024
34269e9
chore(deps): bump i18next-http-backend from 2.6.2 to 3.0.1
dependabot[bot] Nov 22, 2024
6afb93a
New Crowdin updates (#1785)
nicotsx Nov 27, 2024
cf83f1e
chore(deps): bump react-router-dom from 6.28.0 to 7.0.1 (#1799)
dependabot[bot] Nov 27, 2024
2b60be8
chore(deps): bump i18next from 23.16.8 to 24.0.2 (#1808)
dependabot[bot] Nov 27, 2024
d013bd1
chore: bump version to 3.7.2
nicotsx Dec 6, 2024
1b8e187
fix(app-data-path): do not override with value from .env after stripp…
nicotsx Dec 6, 2024
1744e4a
Merge pull request #1825 from runtipi/release/3.7.2
nicotsx Dec 6, 2024
e25d875
Merge branch 'master' into develop
nicotsx Dec 6, 2024
7a76f3e
chore: update lock file
nicotsx Dec 6, 2024
253d28a
hotfix(settings): add back dns_ip
nicotsx Dec 6, 2024
2f89fb0
Merge pull request #1827 from runtipi/release/3.7.3
nicotsx Dec 6, 2024
8207929
Merge branch 'master' into develop
nicotsx Dec 6, 2024
6d9def2
ci: run integration and unit tests on releases
nicotsx Dec 7, 2024
d3b35d5
fix(bootstrap): run database migrations on startup
nicotsx Dec 7, 2024
c01e219
chore(db): fix _journal formatting
nicotsx Dec 7, 2024
f25d525
refactor(database): remove migrations execution in constructor function
nicotsx Dec 7, 2024
12bcd22
refactor(queue): use native rpc implementation of rabbitmq
nicotsx Dec 7, 2024
12f8dc6
refactor(queue): handle errors in callback and reply
nicotsx Dec 7, 2024
717f47d
chore(deps): bump the minor-patch group across 1 directory with 19 up…
dependabot[bot] Dec 7, 2024
8e0d229
fix(backend): migrate db on bootstrap
nicotsx Nov 30, 2024
4ba156f
feat: multi store management settings
nicotsx Dec 1, 2024
0a32346
refactor(docker-builder): add store id in docker container name
nicotsx Dec 2, 2024
4906c96
fix: correctly initialize and pull new app stores
nicotsx Dec 2, 2024
2276eba
feat(app-lifecycle): print error in browser console
nicotsx Dec 3, 2024
592d1d8
feat(apps): navigation multi appstores
nicotsx Dec 3, 2024
6b281cc
chore: update metadata
nicotsx Dec 7, 2024
ef174f9
refactor: invert store_id app_id
nicotsx Dec 7, 2024
c8019d0
fix(repos): remove regex to match branch
nicotsx Dec 7, 2024
984452c
chore: various small fixes
nicotsx Dec 7, 2024
72d1e02
refactor: rabbit suggestions
nicotsx Dec 7, 2024
c74576e
chore: remove app store table empty state
nicotsx Dec 7, 2024
8f880d9
feat: extract error cause in exception filters
nicotsx Dec 8, 2024
6784f99
refactor: remove pg pool
nicotsx Dec 8, 2024
53adfe8
chore: skip errors with custom user configs in sentry
nicotsx Dec 8, 2024
355b679
chore: log rabbitmq errors
nicotsx Dec 8, 2024
316a688
e2e(guest-dashboard): fix app ids for new store
nicotsx Dec 8, 2024
8cec009
fix(docker-builder): always use a new instance to avoid mixing docker…
nicotsx Dec 9, 2024
4f85798
chore(deps): bump the minor-patch group with 13 updates
dependabot[bot] Dec 9, 2024
9d8358a
New Crowdin updates (#1834)
nicotsx Dec 10, 2024
23b35bb
fix(docker-builder): missing traefik labels for exposed app
nicotsx Dec 10, 2024
a66a80b
fix(docker-builder): missing traefik labels for exposed app
nicotsx Dec 10, 2024
3c0a35e
Merge branch 'master' into develop
nicotsx Dec 10, 2024
e20ccf0
chore: bump version to 3.7.4
nicotsx Dec 10, 2024
fd41aef
chore: update readme
nicotsx Dec 15, 2024
76ff593
fix(backups): set previous tipi version only if the restored app conf…
nicotsx Dec 23, 2024
bdf5a71
fix(queue): catch exceptions in scheduled runs
nicotsx Dec 23, 2024
5443ec2
chore(queue): use logger instead of console
nicotsx Dec 23, 2024
cd73a6a
chore(deps): bump the minor-patch group across 1 directory with 32 up…
dependabot[bot] Dec 20, 2024
d35ac45
chore(packages): remove un-used dependency "consola"
nicotsx Dec 23, 2024
6639b89
feat: user config indicator
steveiliop56 Dec 17, 2024
0b4c30d
tests: fix tests
steveiliop56 Dec 17, 2024
9be2fae
refactor: use metadata to combine update info & custom config
nicotsx Dec 23, 2024
e94fa6c
New Crowdin updates (#1843)
nicotsx Dec 23, 2024
fa3bc28
chore(frontend): update react to v19
nicotsx Dec 23, 2024
200dbfc
chore: fix react 19 typing issues
nicotsx Dec 23, 2024
ae36126
chore(deps): bump react-error-boundary from 4.1.2 to 5.0.0
dependabot[bot] Dec 23, 2024
9e5a2fc
chore(deps): bump dotenv-cli from 7.4.4 to 8.0.0
dependabot[bot] Dec 23, 2024
623e404
refactor(backups): backup & restore with new folder structure
nicotsx Dec 24, 2024
aec25cd
reactor: use a branded type AppUrn for operations
nicotsx Dec 24, 2024
a54b042
chore: migrations
nicotsx Dec 24, 2024
8c6b48f
refactor: app urn
nicotsx Dec 26, 2024
f33a6bc
chore: review fixes
nicotsx Dec 26, 2024
6725179
test: fix integration tests
nicotsx Dec 26, 2024
c4eb312
fix(queue): use native rpc capabilities of rabbitmq
nicotsx Dec 26, 2024
97ac846
chore: bump version to 3.7.5
nicotsx Dec 26, 2024
735a420
Merge branch 'master' into develop
nicotsx Dec 27, 2024
b68f4ac
refactor(backups): use the folder structure with the repo name subfolder
nicotsx Dec 27, 2024
f0e3f39
feat(apps): allow user to give a specific custom port for the app
nicotsx Dec 27, 2024
a73a0e4
refactor(dto): make port a number in the api contract
nicotsx Dec 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 12 additions & 11 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
*

### Includes ###
!packages/**/src/**
!packages/**/public/**
!packages/**/assets/**
!packages/**/scripts/**
!pnpm-*.yaml
!package.json
!turbo.json
!supervisord.*.conf
!patches/**
!packages/**/src/**
!packages/**/assets/**

!**/package.json
!**/nodemon.json
!**/tsconfig.json
!**/build.mjs
!next.config.mjs
!sentry.*.config.ts
!public/**
!src/**
!tests/**
!start.*.sh
!scripts/**
!**/nest-cli.json
!**/tsup.config.ts
!**/vite.config.ts
!**/index.html

22 changes: 0 additions & 22 deletions .env.example

This file was deleted.

14 changes: 0 additions & 14 deletions .env.test

This file was deleted.

23 changes: 11 additions & 12 deletions .github/workflows/alpha-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,13 @@ jobs:
VERSION=$(npm run version --silent)
echo "tagname=v${VERSION}-alpha.${{ github.event.inputs.tag }}" >> $GITHUB_OUTPUT

- uses: rickstaa/action-create-tag@v1
with:
tag: ${{ steps.get_tag.outputs.tagname }}

build-images:
runs-on: ubuntu-latest
needs: create-tag
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
Expand Down Expand Up @@ -89,7 +82,7 @@ jobs:
repo: cli
owner: runtipi
run_id: ${{ steps.return_dispatch.outputs.run_id }}
run_timeout_seconds: 300
run_timeout_seconds: 1200
poll_interval_ms: 5000

- name: Create bin folder
Expand Down Expand Up @@ -119,19 +112,18 @@ jobs:
name: cli
path: bin

create-release:
publish-release:
runs-on: ubuntu-latest
needs: [build-images, build-cli, create-tag]
outputs:
id: ${{ steps.create_release.outputs.id }}
steps:
- name: Download CLI
uses: actions/download-artifact@v4
with:
name: cli
path: cli

- name: List files
run: tree cli

- name: Create alpha release
id: create_release
uses: softprops/action-gh-release@v2
Expand All @@ -145,3 +137,10 @@ jobs:
draft: false
prerelease: true
files: cli/runtipi-cli-*

e2e-tests:
needs: [create-tag, publish-release]
uses: "./.github/workflows/e2e.yml"
secrets: inherit
with:
version: ${{ needs.create-tag.outputs.tagname }}
17 changes: 9 additions & 8 deletions .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ on:
required: true

jobs:
integration-tests:
uses: "./.github/workflows/integration-tests.yml"
secrets: inherit

unit-tests:
uses: "./.github/workflows/ci.yml"
secrets: inherit

create-tag:
runs-on: ubuntu-latest
outputs:
Expand All @@ -22,20 +30,13 @@ jobs:
VERSION=$(npm run version --silent)
echo "tagname=v${VERSION}-beta.${{ github.event.inputs.tag }}" >> $GITHUB_OUTPUT

- uses: rickstaa/action-create-tag@v1
with:
tag: ${{ steps.get_tag.outputs.tagname }}

build-images:
needs: create-tag
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
Expand Down Expand Up @@ -89,7 +90,7 @@ jobs:
repo: cli
owner: runtipi
run_id: ${{ steps.return_dispatch.outputs.run_id }}
run_timeout_seconds: 300
run_timeout_seconds: 1200
poll_interval_ms: 5000

- name: Create bin folder
Expand Down
37 changes: 9 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Tipi CI
on:
workflow_call:
pull_request:
push:
branches:
- develop

env:
ROOT_FOLDER: /runtipi
Expand All @@ -23,19 +27,6 @@ env:
jobs:
tests:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:14
env:
POSTGRES_PASSWORD: postgres
ports:
- 5433:5432
# set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -49,7 +40,7 @@ jobs:
name: Install pnpm
id: pnpm-install
with:
version: 9.4.0
version: 9.12.2
run_install: false

- name: Get pnpm store directory
Expand All @@ -69,17 +60,10 @@ jobs:
run: pnpm install

- name: Run biome tests
run: pnpm biome check

- name: Get number of CPU cores
id: cpu-cores
uses: SimenB/github-actions-cpu-cores@v2
run: pnpm lint:ci

- name: Run tests
run: pnpm run test --max-workers ${{ steps.cpu-cores.outputs.count }}

- name: Run packages tests
run: pnpm -r test
run: pnpm test

build:
runs-on: ubuntu-latest
Expand All @@ -96,7 +80,7 @@ jobs:
name: Install pnpm
id: pnpm-install
with:
version: 9.4.0
version: 9.12.2
run_install: false

- name: Get pnpm store directory
Expand All @@ -116,10 +100,7 @@ jobs:
run: pnpm install

- name: Build client
run: npm run build
run: npm run bundle

- name: Run tsc
run: pnpm run tsc

- name: Run packages tsc
run: pnpm -r run tsc
44 changes: 37 additions & 7 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
version:
required: true
type: string
description: 'Version to test (e.g. v1.6.0-beta.1)'
description: "Version to test (e.g. v1.6.0-beta.1)"
workflow_dispatch:

jobs:
Expand All @@ -16,8 +16,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: "lab:latest"
driver: cloud
endpoint: "runtipi/runtipi-cloud-builder"

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
Expand All @@ -36,8 +46,6 @@ jobs:
platforms: linux/amd64
push: true
tags: ghcr.io/runtipi/runtipi:e2e
cache-from: type=registry,ref=ghcr.io/runtipi/runtipi:buildcache
cache-to: type=registry,ref=ghcr.io/runtipi/runtipi:buildcache,mode=max

- name: Create cli folder
run: mkdir -p bin
Expand Down Expand Up @@ -79,24 +87,28 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Create .env.local
run: |
echo "LOG_LEVEL=debug" > .env.local

- name: Run install script
if: ${{ inputs.version }}
run: |
curl -s https://raw.githubusercontent.com/runtipi/runtipi/${{ inputs.version }}/scripts/install.sh > install.sh
chmod +x install.sh
./install.sh --version ${{ inputs.version }} --asset runtipi-cli-linux-x86_64.tar.gz
./install.sh --version ${{ inputs.version }} --asset runtipi-cli-linux-x86_64.tar.gz --env-file ${{ github.workspace }}/.env.local

- name: Run install script
if: ${{ !inputs.version }}
run: |
./scripts/install.sh --version e2e
./scripts/install.sh --version e2e --env-file ${{ github.workspace }}/.env.local
cd ..

- uses: pnpm/[email protected]
name: Install pnpm
id: pnpm-install
with:
version: 9.4.0
version: 9.12.2
run_install: false

- name: Get pnpm store directory
Expand All @@ -112,7 +124,7 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Create .env.e2e file with Droplet IP
- name: Create .env.e2e file
run: |
echo "SERVER_IP=$(hostname -I | awk '{print $1}')" > .env.e2e
echo "POSTGRES_PASSWORD=$(grep POSTGRES_PASSWORD runtipi/.env | cut -d '=' -f2)" >> .env.e2e
Expand All @@ -125,13 +137,31 @@ jobs:
with:
node-version: 20

- name: Get installed playwright version
id: playwright-version
run: echo "version=$(node -e "console.log(require('./package.json').devDependencies['@playwright/test'])")" >> $GITHUB_OUTPUT

- name: Cache Playwright binaries
id: cache-playwright-binaries
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.version }}

- name: Install Playwright Browsers
if: steps.cache-playwright-binaries.outputs.cache-hit != 'true'
run: npx playwright install --with-deps

- name: Run Playwright tests
id: run-e2e
run: npm run test:e2e

- name: Dump app logs in playwright-report folder
if: always()
run: |
mkdir -p playwright-report
cp ./runtipi/logs/* playwright-report/

- uses: actions/upload-artifact@v4
if: always()
with:
Expand Down
Loading