chocolatey / chocolatey-licensed-issues

Issues for Licensed Editions of Chocolatey
19 stars 13 forks source link

Deployments - Recurring Deployment Plans are missing Deployment Steps #322

Closed sync-by-unito[bot] closed 1 year ago

sync-by-unito[bot] commented 1 year ago

Description

Recently created a daily recurring deployment with 2 deployments steps. The first deployment step attempts attempts to install a non-existent package. I expect this to fail as I am seeing if the second deployment step still runs as I am setting Fail overall deployment if not successful to true and Only run other deployment steps if successful to False for both deployment steps. The second deployment step is an upgrade of googlechrome which should result in success.

The first time the deployment ran it did everything as expected. First deployment step failed. The second step ran and succeeded, and the overall deployment was marked as failing.

Now the next day when the recurring deployment got run it ran and failed the first step. But never tried to execute the second deployment step.

Pictures of recurring deployment run:

image

image

As shown in the second image. This modal is when clicking on View Additional Deployment Plan Detail. It shows the second deployment step, however the larger view does not show it nor a status for that step.

Below images are from the initial deployment that was created manually. Notice date is day before from recurring

image

image

Steps To Reproduce

  1. Create a multi-step deployment and set it to daily recurrence.
  2. I set up my first deployment step as shown here:

image

  1. I configured my second deployment step as shown here:

image

Output Log

Have agent logs as well as backup of CCM DB if needed.

Workarounds

Currently none

Proposed Solution

Currently none. Thing to fix is make sure when recurring deployment plan is created it copies all deployment steps and not just the first.

Related Issues and Tickets

Zendesk Ticket

Done Checklist

┆Issue is synchronized with this Gitlab issue by Unito ┆Milestone: 0.10.1