diff options
author | Patrick Liu <patrick.liu@canonical.com> | 2021-03-02 15:33:06 +0800 |
---|---|---|
committer | Patrick Liu <patrick.liu@canonical.com> | 2021-03-02 15:33:06 +0800 |
commit | b1f445d9b8fd04e45a4890e9bc66380f6b6bccde (patch) | |
tree | ffcf211f684dab79be2e81ee3364d82ebc05b8e0 | |
parent | 06eb578f53e0aff61b1348cd1710868679baf2b0 (diff) |
add a step to remove unused reverted version in os-revert
-rw-r--r-- | units/snapd/snapd.pxu | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/units/snapd/snapd.pxu b/units/snapd/snapd.pxu index a30614d..b7ca202 100644 --- a/units/snapd/snapd.pxu +++ b/units/snapd/snapd.pxu @@ -188,7 +188,7 @@ _summary: Rollback system update using the snap tool _purpose: Check core can be reverted by snap revert _steps: - 1. Check version number + 1. Check version number (Note the version number) snap list core 2. Revert snap revert core @@ -196,8 +196,10 @@ _steps: sudo reboot 4. Check version number snap list core + 5. Remove reverted version (and associated data) to make system clean + snap remove core --revision=<edge_revision> _verification: - Check core version is back to its stable version + Check core version at step4 is back to its stable version plugin: manual depends: snappy/os-refresh category_id: snapd @@ -208,7 +210,7 @@ _summary: Rollback system update using the snap tool _purpose: Check core can be reverted by snap revert _steps: - 1. Check version number + 1. Check version number (Note the version number) snap list core 2. Revert snap revert core @@ -216,8 +218,10 @@ _steps: sudo reboot 4. Check version number snap list core + 5. Remove reverted version (and associated data) to make system clean + snap remove core --revision=<edge_revision> _verification: - Check core version is back to its stable version + Check core version at step4 is back to its stable version plugin: manual depends: snappy/os-refresh-with-refresh-control category_id: snapd |