config/controllerconfig/controllerconfig/upgrade-scripts
Adriano Oliveira 36a4ff4fd2 Fix migration scripts execution sequence
The following changes have been introduced as a fix for this issue:

1. Changed the sorting on the migration script file names to be based
on the first number on the file name.
2. Added file name format validation: "nnn-*.*", where "nnn" string
shall contain only digits.
3. Fixed the name of two migration scripts that were not following the
correct format (not using "-" separator).
4. Added set of unit tests to test and validate the execution of
migration scripts code.

Manual upgrade testing to STX 5.0 has been executed.

Closes-Bug: 1887985
Signed-off-by: Adriano Oliveira <adriano.oliveira@windriver.com>
Change-Id: I04fdb8a3b3e177c609c4037825810a531954d99c
2021-02-04 10:53:23 -05:00
..
10-sysinv-adjust-partitions.py AIO upgrades: update partition data migration script 2020-11-30 21:08:11 +00:00
20-exempt-admin-from-lockout.sh Fix 20-exempt-admin-from-lockout.sh for IPv6 2020-07-21 14:47:48 -04:00
25-coredns-configmap.sh Use sequential forward policy in coredns 2020-06-18 20:26:50 +00:00
45-sysinv-remove-identity-shared-service.py Remove identity entry on upgrade 2021-01-21 13:24:28 -05:00
50-dcmanager-subcloud-status-migration.py Data migration code to set the deleted field to 0 2020-06-25 13:29:02 -04:00
53-dcorch-subcloud-sync-migration.py Upgrades: data migration for dcorch scaling 2021-01-26 14:15:46 -06:00
55-armada-helm-upgrade.py Support upgrade to Helm v3 with containerized armada 2020-12-09 17:19:50 -05:00
60-helm-releases-data-migration.py Configure SQL as helm storage backend 2021-01-08 01:05:07 -05:00
65-k8s-app-upgrade.sh Configure SQL as helm storage backend 2021-01-08 01:05:07 -05:00
70-active-secured-etcd-after-upgrade.sh Fix migration scripts execution sequence 2021-02-04 10:53:23 -05:00
75-deployment-ns-upgrade.py Use deployment namespace for platform certificates 2021-01-15 09:24:24 -05:00
80-dc-cert-upgrade.py Data migration failure on IPv6 system controller 2020-06-26 16:54:15 -04:00
85-update-sc-admin-endpoint-cert.py Add SANs to admin endpoint certificate during upgrade 2020-11-17 14:27:17 -05:00
95-apply-mandatory-psp-policies.py Apply mandatory pod security policies during upgrade 2020-06-26 14:54:45 -04:00
96-delete-snmp-records.py Fix migration scripts execution sequence 2021-02-04 10:53:23 -05:00