Compare commits

...

4 Commits
3.9.6 ... 3.9.8

Author SHA1 Message Date
dave@tiredofit.ca
6d1ef87042 Release 3.9.8 - See CHANGELOG.md 2023-08-20 08:18:04 -07:00
Dave Conroy
c985cc8a4f Merge pull request #240 from ToshY/issue/239-armv7
Add cargo to build dependencies
2023-08-14 19:15:21 -07:00
ToshY
2265a6acf5 Add cargo to build dependencies 2023-08-05 14:39:13 +02:00
dave@tiredofit.ca
10e7debc65 Release 3.9.7 - See CHANGELOG.md 2023-07-18 07:26:59 -07:00
5 changed files with 20 additions and 20 deletions

View File

@@ -8,8 +8,7 @@ on:
jobs: jobs:
build: build:
#uses: tiredofit/github_actions/.github/workflows/default_amd64_armv7_arm64.yml@main uses: tiredofit/github_actions/.github/workflows/default_amd64_armv7_arm64.yml@main
#uses: tiredofit/github_actions/.github/workflows/default_amd64.yml@main #uses: tiredofit/github_actions/.github/workflows/default_amd64.yml@main
#uses: tiredofit/github_actions/.github/workflows/default_amd64_armv7_arm64.yml@main #uses: tiredofit/github_actions/.github/workflows/default_amd64_arm64.yml@main
uses: tiredofit/github_actions/.github/workflows/default_amd64_arm64.yml@main
secrets: inherit secrets: inherit

View File

@@ -9,8 +9,7 @@ on:
jobs: jobs:
build: build:
#uses: tiredofit/github_actions/.github/workflows/default_amd64_armv7_arm64.yml@main uses: tiredofit/github_actions/.github/workflows/default_amd64_armv7_arm64.yml@main
#uses: tiredofit/github_actions/.github/workflows/default_amd64.yml@main #uses: tiredofit/github_actions/.github/workflows/default_amd64.yml@main
#uses: tiredofit/github_actions/.github/workflows/default_amd64_armv7_arm64.yml@main #uses: tiredofit/github_actions/.github/workflows/default_amd64_arm64.yml@main
uses: tiredofit/github_actions/.github/workflows/default_amd64_arm64.yml@main
secrets: inherit secrets: inherit

View File

@@ -1,3 +1,15 @@
## 3.9.8 2023-08-20 <ToshY@github>
### Changed
- Restore armv7 and aarch64 builds
## 3.9.7 2023-07-18 <dave at tiredofit dot ca>
### Changed
- Cleanup check_exit_code parameter and reduce duplicate output
## 3.9.6 2023-06-16 <dave at tiredofit dot ca> ## 3.9.6 2023-06-16 <dave at tiredofit dot ca>
### Changed ### Changed

View File

@@ -22,6 +22,7 @@ RUN source /assets/functions/00-container && \
package install .db-backup-build-deps \ package install .db-backup-build-deps \
build-base \ build-base \
bzip2-dev \ bzip2-dev \
cargo \
git \ git \
go \ go \
libarchive-dev \ libarchive-dev \

View File

@@ -216,7 +216,7 @@ backup_mongo() {
print_notice "Dumping MongoDB database: '${DB_NAME}' ${compression_string}" print_notice "Dumping MongoDB database: '${DB_NAME}' ${compression_string}"
silent mongodump --archive=${TEMP_LOCATION}/${target} ${mongo_compression} ${mongo_backup_parameter} silent mongodump --archive=${TEMP_LOCATION}/${target} ${mongo_compression} ${mongo_backup_parameter}
exit_code=$? exit_code=$?
check_exit_code $target check_exit_code backup $target
generate_checksum generate_checksum
move_dbbackup move_dbbackup
check_exit_code move $target check_exit_code move $target
@@ -289,7 +289,7 @@ backup_mysql() {
print_notice "Dumping all MySQL / MariaDB databases: '$(echo ${db_names} | xargs | tr ' ' ',')' ${compression_string}" print_notice "Dumping all MySQL / MariaDB databases: '$(echo ${db_names} | xargs | tr ' ' ',')' ${compression_string}"
mysqldump --max-allowed-packet=${MYSQL_MAX_ALLOWED_PACKET} -h ${DB_HOST} -P ${DB_PORT} -u${DB_USER} ${single_transaction} ${stored_procedures} ${mysql_tls_args} ${EXTRA_OPTS} --databases $(echo ${db_names} | xargs) | $compress_cmd > "${TEMP_LOCATION}"/"${target}" mysqldump --max-allowed-packet=${MYSQL_MAX_ALLOWED_PACKET} -h ${DB_HOST} -P ${DB_PORT} -u${DB_USER} ${single_transaction} ${stored_procedures} ${mysql_tls_args} ${EXTRA_OPTS} --databases $(echo ${db_names} | xargs) | $compress_cmd > "${TEMP_LOCATION}"/"${target}"
exit_code=$? exit_code=$?
check_exit_code $target check_exit_code backup $target
generate_checksum generate_checksum
move_dbbackup move_dbbackup
check_exit_code move $target check_exit_code move $target
@@ -531,23 +531,12 @@ check_exit_code() {
print_debug "Moving of backup '${2}' completed successfully" print_debug "Moving of backup '${2}' completed successfully"
;; ;;
* ) * )
print_error "Moving of backup '${1}' reported errors" print_error "Moving of backup '${2}' reported errors"
master_exit_code=1 master_exit_code=1
;; ;;
esac esac
;; ;;
esac esac
case "${exit_code}" in
0 )
print_info "DB Backup of '${1}' completed successfully"
;;
* )
print_error "DB Backup of '${1}' reported errors"
master_exit_code=1
;;
esac
} }
cleanup_old_data() { cleanup_old_data() {