Uploaded image for project: 'R10K'
  1. R10K
  2. RK-247

Test - Refactor post-deploy purging to include control-repo level content

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Template:
    • Acceptance Criteria:
      Hide
      • Automate cases outlined in TestRail
      • Should be able to configure on/off
      • Off by default
      • Items on whitelist are not purged when purging is turned on.
      • Items are purged
      Show
      Automate cases outlined in TestRail purging tests Should be able to configure on/off Off by default Items on whitelist are not purged when purging is turned on. Items are purged
    • Story Points:
      5

      Description

      Currently r10k purges unrecognized content in the moduledir and unrecognized environments in the environmentdir, but it does not purge unrecognized content in an environment outside of the moduledir. As we are introducing the concept of multiple moduledirs in RK-222, we will need a way to purge things at the control-repo level.

      This should probably be a configurable option with the default as "off" until the next major release.

      There should also be a configurable "whitelist" of files/globs to skip over when purging and we should make sure we don't purge the .r10k-deploy.json file.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              zach.reichert Zach Reichert
              Reporter:
              craig.gomes Craig Gomes
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support