portainer/api/bolt
zees-dev 377326085d
feat(db): upgrade auto-backup backup and rollback support EE-867 EE-1158 (#5341)
* backport migration EE code structure

* filesystem copy function

* set db status to updating before migration - reset on completion

* support for auto-backup on version upgrade

* - rollback cli flag support (with confirmation)
- rollback implementation backport from EE

* removed edition as it is not required in CE

* migrated test datastore from bolttest to bolt package to make it usable for testing

* backported failsafe migration

* - backported tests from EE
- refactored tests to use test datastore

* test store implementing datastore interface

* addressed PR issues/improvements

* refactor test

* added backup file removal error logging

* resolved conflicts, updated code

* fixed missing bolttest package - migrated to bolt

* feat(migration): wrap migration errors to provide context for failure EE-1742 (#5711)

* feat(migrator): wrap errors to provide more context to failures EE-1742

* add overall failure back in. diff log file

* updated helm tests pointing to correct teststore

Co-authored-by: Matt Hook <hookenz@gmail.com>
2021-09-27 13:52:50 +13:00
..
customtemplate feat(backup): Add backup/restore to the server 2021-04-06 22:08:43 +12:00
dockerhub feat(backup): Add backup/restore to the server 2021-04-06 22:08:43 +12:00
edgegroup feat(backup): Add backup/restore to the server 2021-04-06 22:08:43 +12:00
edgejob fix(swagger): fix swagger api docs endpoint(s) rename to environment(s) EE-1661 (#5629) 2021-09-20 12:14:22 +12:00
edgestack fix(swagger): fix swagger api docs endpoint(s) rename to environment(s) EE-1661 (#5629) 2021-09-20 12:14:22 +12:00
endpoint fix(swagger): fix swagger api docs endpoint(s) rename to environment(s) EE-1661 (#5629) 2021-09-20 12:14:22 +12:00
endpointgroup fix(swagger): fix swagger api docs endpoint(s) rename to environment(s) EE-1661 (#5629) 2021-09-20 12:14:22 +12:00
endpointrelation fix(swagger): fix swagger api docs endpoint(s) rename to environment(s) EE-1661 (#5629) 2021-09-20 12:14:22 +12:00
errors fix(portainer): Fix the type in the downgrade error message 2021-05-05 11:44:00 +02:00
extension fix(swagger): fix swagger api docs endpoint(s) rename to environment(s) EE-1661 (#5629) 2021-09-20 12:14:22 +12:00
helmuserrepository fix(swagger): fix swagger api docs endpoint(s) rename to environment(s) EE-1661 (#5629) 2021-09-20 12:14:22 +12:00
internal fix(swagger): fix swagger api docs endpoint(s) rename to environment(s) EE-1661 (#5629) 2021-09-20 12:14:22 +12:00
log feat(app): rework private registries and support private registries in kubernetes EE-30 (#5131) 2021-07-14 21:15:21 +12:00
migrator feat(db): upgrade auto-backup backup and rollback support EE-867 EE-1158 (#5341) 2021-09-27 13:52:50 +13:00
registry fix(swagger): fix swagger api docs endpoint(s) rename to environment(s) EE-1661 (#5629) 2021-09-20 12:14:22 +12:00
resourcecontrol fix(swagger): fix swagger api docs endpoint(s) rename to environment(s) EE-1661 (#5629) 2021-09-20 12:14:22 +12:00
role fix(swagger): fix swagger api docs endpoint(s) rename to environment(s) EE-1661 (#5629) 2021-09-20 12:14:22 +12:00
schedule feat(backup): Add backup/restore to the server 2021-04-06 22:08:43 +12:00
settings fix(swagger): fix swagger api docs endpoint(s) rename to environment(s) EE-1661 (#5629) 2021-09-20 12:14:22 +12:00
ssl feat(server): use https by default (#5315) [EE-332] 2021-08-10 07:59:47 +03:00
stack feat(db): upgrade auto-backup backup and rollback support EE-867 EE-1158 (#5341) 2021-09-27 13:52:50 +13:00
tag fix(swagger): fix swagger api docs endpoint(s) rename to environment(s) EE-1661 (#5629) 2021-09-20 12:14:22 +12:00
team fix(swagger): fix swagger api docs endpoint(s) rename to environment(s) EE-1661 (#5629) 2021-09-20 12:14:22 +12:00
teammembership fix(swagger): fix swagger api docs endpoint(s) rename to environment(s) EE-1661 (#5629) 2021-09-20 12:14:22 +12:00
tunnelserver fix(swagger): fix swagger api docs endpoint(s) rename to environment(s) EE-1661 (#5629) 2021-09-20 12:14:22 +12:00
user fix(swagger): fix swagger api docs endpoint(s) rename to environment(s) EE-1661 (#5629) 2021-09-20 12:14:22 +12:00
version feat(db): upgrade auto-backup backup and rollback support EE-867 EE-1158 (#5341) 2021-09-27 13:52:50 +13:00
webhook feat(backup): Add backup/restore to the server 2021-04-06 22:08:43 +12:00
backup.go feat(db): upgrade auto-backup backup and rollback support EE-867 EE-1158 (#5341) 2021-09-27 13:52:50 +13:00
backup_test.go feat(db): upgrade auto-backup backup and rollback support EE-867 EE-1158 (#5341) 2021-09-27 13:52:50 +13:00
datastore.go feat(db): upgrade auto-backup backup and rollback support EE-867 EE-1158 (#5341) 2021-09-27 13:52:50 +13:00
init.go feat(helm/templates): helm app templates EE-943 (#5449) 2021-09-10 14:06:57 +12:00
migrate_data.go feat(db): upgrade auto-backup backup and rollback support EE-867 EE-1158 (#5341) 2021-09-27 13:52:50 +13:00
migrate_data_test.go feat(db): upgrade auto-backup backup and rollback support EE-867 EE-1158 (#5341) 2021-09-27 13:52:50 +13:00
services.go fix(swagger): fix swagger api docs endpoint(s) rename to environment(s) EE-1661 (#5629) 2021-09-20 12:14:22 +12:00
teststore.go feat(db): upgrade auto-backup backup and rollback support EE-867 EE-1158 (#5341) 2021-09-27 13:52:50 +13:00