mirror of https://github.com/portainer/portainer
377326085d
* 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> |
||
---|---|---|
.. | ||
migrate_ce.go | ||
migrate_dbversion0.go | ||
migrate_dbversion1.go | ||
migrate_dbversion2.go | ||
migrate_dbversion3.go | ||
migrate_dbversion4.go | ||
migrate_dbversion5.go | ||
migrate_dbversion6.go | ||
migrate_dbversion7.go | ||
migrate_dbversion8.go | ||
migrate_dbversion9.go | ||
migrate_dbversion10.go | ||
migrate_dbversion11.go | ||
migrate_dbversion12.go | ||
migrate_dbversion13.go | ||
migrate_dbversion14.go | ||
migrate_dbversion15.go | ||
migrate_dbversion16.go | ||
migrate_dbversion17.go | ||
migrate_dbversion18.go | ||
migrate_dbversion19.go | ||
migrate_dbversion20.go | ||
migrate_dbversion22.go | ||
migrate_dbversion23.go | ||
migrate_dbversion24.go | ||
migrate_dbversion25.go | ||
migrate_dbversion26.go | ||
migrate_dbversion29.go | ||
migrate_dbversion29_test.go | ||
migrate_dbversion31.go | ||
migrate_dbversion33.go | ||
migrate_dbversion33_test.go | ||
migrator.go |