[CHORE] Adjust repository backup path

This commit is contained in:
Dunemask 2024-01-27 22:42:38 -07:00
parent 45a8b6e538
commit 2e04195ca7
5 changed files with 56 additions and 1 deletions

View file

@ -0,0 +1,18 @@
[2024-01-24T20:37:39.150Z] No installation directory specified via --install-dir option. Garden will be re-installed to the current installation directory: /home/dunemask/.garden/bin
[2024-01-24T20:37:39.151Z] Checking for target and latest versions...
[2024-01-24T20:37:40.064Z] Current Garden version: 0.13.23
[2024-01-24T20:37:40.065Z] Target Garden version to be installed: 0.13.12
[2024-01-24T20:37:40.066Z] Latest release version: 0.13.23
[2024-01-24T20:37:40.072Z] Downloading version 0.13.12 from https://download.garden.io/core/0.13.12/garden-0.13.12-linux-amd64.tar.gz...
[2024-01-24T20:37:44.079Z] Backing up prior installation to /home/dunemask/.garden/bin/.backup/0.13.23...
[2024-01-24T20:37:44.084Z] Extracting to installation directory /home/dunemask/.garden/bin...
[2024-01-24T20:37:45.097Z] Done!

View file

@ -0,0 +1,24 @@
[2024-01-24T20:37:39.147Z] No installation directory specified via --install-dir option. Garden will be re-installed to the current installation directory: /home/dunemask/.garden/bin
[2024-01-24T20:37:39.150Z] Checking for target and latest versions...
[2024-01-24T20:37:40.062Z] Current Garden version: 0.13.23
[2024-01-24T20:37:40.065Z] Target Garden version to be installed: 0.13.12
[2024-01-24T20:37:40.065Z] Latest release version: 0.13.23
[2024-01-24T20:37:40.071Z] Downloading version 0.13.12 from https://download.garden.io/core/0.13.12/garden-0.13.12-linux-amd64.tar.gz...
[2024-01-24T20:37:44.078Z] Backing up prior installation to /home/dunemask/.garden/bin/.backup/0.13.23...
[2024-01-24T20:37:44.083Z] Extracting to installation directory /home/dunemask/.garden/bin...
[2024-01-24T20:37:45.097Z] Done!
[2024-01-24T20:37:45.124Z] [debug] Done flushing all events and log entries.
[2024-01-24T20:37:45.176Z] [debug] Watcher: Initializing
[2024-01-24T20:37:45.177Z] [debug] Watcher: Starting FSWatcher

View file

@ -0,0 +1,12 @@
{"msg":"No installation directory specified via --install-dir option. Garden will be re-installed to the current installation directory: /home/dunemask/.garden/bin","section":"","timestamp":"2024-01-24T20:37:39.143Z","level":"info"}
{"msg":"Checking for target and latest versions...","section":"","timestamp":"2024-01-24T20:37:39.150Z","level":"info"}
{"msg":"Current Garden version: 0.13.23","section":"","timestamp":"2024-01-24T20:37:40.062Z","level":"info"}
{"msg":"Target Garden version to be installed: 0.13.12","section":"","timestamp":"2024-01-24T20:37:40.064Z","level":"info"}
{"msg":"Latest release version: 0.13.23","section":"","timestamp":"2024-01-24T20:37:40.065Z","level":"info"}
{"msg":"Downloading version 0.13.12 from https://download.garden.io/core/0.13.12/garden-0.13.12-linux-amd64.tar.gz...","section":"","timestamp":"2024-01-24T20:37:40.071Z","level":"info"}
{"msg":"Backing up prior installation to /home/dunemask/.garden/bin/.backup/0.13.23...","section":"","timestamp":"2024-01-24T20:37:44.078Z","level":"info"}
{"msg":"Extracting to installation directory /home/dunemask/.garden/bin...","section":"","timestamp":"2024-01-24T20:37:44.083Z","level":"info"}
{"msg":"Done!","section":"","timestamp":"2024-01-24T20:37:45.096Z","level":"info"}
{"msg":"Done flushing all events and log entries.","section":"","timestamp":"2024-01-24T20:37:45.123Z","level":"debug"}
{"msg":"Watcher: Initializing","section":"","timestamp":"2024-01-24T20:37:45.176Z","level":"debug"}
{"msg":"Watcher: Starting FSWatcher","section":"","timestamp":"2024-01-24T20:37:45.176Z","level":"debug"}

1
.garden/metadata.json Normal file
View file

@ -0,0 +1 @@
{"workingCopyId":"3449bfd0-edf6-4c5a-aef6-8a3d8cdb85a1"}

View file

@ -22,7 +22,7 @@ jobs:
ACCESS_KEY_ID: ${{ env.S3_BACKUP_KEY_ID }}
SECRET_ACCESS_KEY: ${{ env.S3_BACKUP_KEY }}
MIRROR_SOURCE: ${{ env.REPO_DIR }}
MIRROR_TARGET: repository-backups/${{ gitea.repository }}
MIRROR_TARGET: backups/gitea-repositories/${{ gitea.repository }}
STORAGE_SERVICE_URL: ${{env.S3_BACKUP_ENDPOINT}}
with:
args: --overwrite --remove