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

1.7 #11

Merged
merged 21 commits into from
Sep 26, 2020
Merged

1.7 #11

merged 21 commits into from
Sep 26, 2020

Conversation

sargreal
Copy link
Member

Includes the following changes

- specify the database to backup (only mysql)
- specify the source variable in which to store the database dumps
- use env check globally
- add support for docker secrets (see #9, includes database passwords,
 gpg private key and passphrase)
- remove mysql restore script since it does not work and is obsolete
 because of restore command

see #5
- add support for excludes
- improve maintainability of commands
 - move commandLoop and commandExecution to base.sh
 - override commandJob in each command
- improve jobber
 - create job for each source (allows for individual timings)
 - allow custom jobber file
 - allow disabling of jobber (for root user)
 - add logs for jobber runs
- move function pipeEnvironmentVariables to env.sh
- create docker.sh with stop-/startContainer functions and other utils
- add support for replicate command
- add pre/post strategies for remove and replicate
- remove unused jobber_client user
- add support for GOOGLE_DRIVE_SECRET_FILE
- remove unnecessary jenkins
- test restore better
- use simple variables for mysql
- error in replicate poststrategy
- not working periodicBackup
- make docker-compose file more clear
- reuses base.sh to organize multiple databases
- breaking change: database variables are prefixed with VOLUMERIZE_
- add tests for multiple databases
- add restore validation with databases

see #5
since docker volume bind mounts are not supported with docker executor
see https://circleci.com/docs/2.0/executor-types/#docker-benefits-and-limitations
- fix file_env for passphrase and private key in multiple jobs
- add support for target and replicate
- use prepareJob also for not enumerated variables
- remove then unused functions
- extract JOB_ID from arguments in helper script

Breaking change:
includes and excludes have now an underscore before the include/exclude ID
with the not enumerated variables
@sargreal sargreal changed the title 1.7 dev 1.7 Sep 26, 2020
@sargreal sargreal merged commit 0c13cec into master Sep 26, 2020
@sargreal sargreal deleted the 1.7-dev branch September 26, 2020 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant