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

Environment Destruction is not Logged

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: r10k 1.5.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Master/Agent: CentOS6.5

    • Template:
    • Story Points:
      1
    • Sprint:
      CODEMGMT 2015-04-08

      Description

      Description

      If a user deletes a branch from a Git source no message is logged by r10k even with the verbose flag set.

      Attachments

      • None

      Repro Steps

      1. Install PE monolithic master.
      2. Verify master is operational.
      3. Install and configure local Git repository.
      4. Install the r10k gem.
      5. Configure r10k with a Git source that has two branches.
      6. Deploy environments with r10k:

        r10k deploy environment -v -p

      7. Delete one of the branches on the Git source.
      8. Deploy environments with r10k again:

        r10k deploy environment -v -p

      Expect

      The r10k deployment should succeed and the deleted environment should no longer exist on disk. A message should be logged to the console indicating that an environment has been deleted.

      Actual

      The environment is successfully deleted from disk, but no message is logged (at any log level) in the console indicating that an environment has been destroyed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ryan.gard Ryan Gard
                Reporter:
                ryan.gard Ryan Gard
                QA Contact:
                Ryan Gard
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support