mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 17:17:46 +01:00
b2e1905e7a
The migration script should failure early when version is not supported Signed-off-by: DQ <dengq@vmware.com>
5 lines
105 B
Python
5 lines
105 B
Python
import os
|
|
|
|
MIGRATION_BASE_DIR = os.path.dirname(__file__)
|
|
|
|
accept_versions = {'1.9.0', '1.10.0', '2.0.0'} |