-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: pipeline to create releases with patches
- Loading branch information
Showing
5 changed files
with
163 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"version": "v1.120.1", | ||
"apply": "server" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/server/src/services/backup.service.ts b/server/src/services/backup.service.ts | ||
index 1febe7913..3e03687d5 100644 | ||
--- a/server/src/services/backup.service.ts | ||
+++ b/server/src/services/backup.service.ts | ||
@@ -85,7 +85,9 @@ export class BackupService extends BaseService { | ||
} = this.configRepository.getEnv(); | ||
|
||
const isUrlConnection = config.connectionType === 'url'; | ||
- const databaseParams = isUrlConnection ? ['-d', config.url] : ['-U', config.username, '-h', config.host]; | ||
+ const databaseParams = isUrlConnection | ||
+ ? ['-d', config.url] | ||
+ : ['-U', config.username, '-h', config.host, '-p', config.port.toString()]; | ||
const backupFilePath = path.join( | ||
StorageCore.getBaseFolder(StorageFolder.BACKUPS), | ||
`immich-db-backup-${Date.now()}.sql.gz.tmp`, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters