-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uses config to toggle between Persister and DisabledPersister
Based on the config option, if the feature is enabled, we will use the real Persister to create the directory and manifests. Otherwise, use the DisabledPersister which will do nothing. For the cleaner, we always use the Persister - this means we can always clean up old manifests when an instance is deleted, even if the feature is disabled after being previously enabled [#186826718](https://www.pivotaltracker.com/story/show/186826718) Co-authored-by: Ryan Wittrup <[email protected]> Co-authored-by: Andrew Garner <[email protected]>
- Loading branch information
1 parent
3177d71
commit 8aaf120
Showing
8 changed files
with
27 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
system_tests/pending_changes_blocked_tests/fixtures/add_persisted_manifests.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
- type: replace | ||
path: /instance_groups/name=broker/jobs/name=broker/properties/persist_manifests? | ||
value: true | ||
path: /instance_groups/name=broker/jobs/name=broker/properties/enable_persist_manifest? | ||
value: true |