[1] introduced an error when backing up an instance of the system that
doesn't contain any armada app on it. This commit changes the condition
on which to restore the armada and fluxcd folders to "always restore if
it is on the backup archive".
TEST PLAN
PASS Backup & Restore stx.7.0 with fluxcd apps only
Reviewed: https:/ /review. opendev. org/c/starlingx /ansible- playbooks/ +/847076 /opendev. org/starlingx/ ansible- playbooks/ commit/ a7ce75e12ccb50e b7c03f3088244ef 5af13eea16
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit a7ce75e12ccb50e b7c03f3088244ef 5af13eea16
Author: Thiago Brito <email address hidden>
Date: Tue Jun 21 14:55:19 2022 -0300
Fix B&R with no armada apps installed
[1] introduced an error when backing up an instance of the system that
doesn't contain any armada app on it. This commit changes the condition
on which to restore the armada and fluxcd folders to "always restore if
it is on the backup archive".
TEST PLAN
PASS Backup & Restore stx.7.0 with fluxcd apps only
[1] https:/ /review. opendev. org/c/starlingx /ansible- playbooks/ +/846244
Closes-Bug: 1979353 c258cf85f78fb3d 7ebd2c17eb9
Signed-off-by: Thiago Brito <email address hidden>
Change-Id: I45d9992f3e9380