Skip to content

Commit

Permalink
unique job id for second reboot
Browse files Browse the repository at this point in the history
  • Loading branch information
jarededwards committed Dec 12, 2024
1 parent feb734f commit 2ad8be2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/deprovision.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func getDeprovisionCommand() *cobra.Command {
err = k8sClient.FetchAndWaitForWorkflow(ctx, k8s.WorkflowWaitRequest{
LabelValue: strings.ReplaceAll(ip, ".", "-"),
Namespace: constants.ColonyNamespace,
WaitTimeout: 300,
WaitTimeout: 480,
RandomSuffix: randomSuffix,
})
if err != nil {
Expand All @@ -167,6 +167,8 @@ func getDeprovisionCommand() *cobra.Command {

var outputBuffer2 bytes.Buffer

randomSuffix = utils.RandomString(6)

err = tmpl2.Execute(&outputBuffer2, RufioPowerCycleRequest{
IP: ip,
EFIBoot: efiBoot,
Expand Down

0 comments on commit 2ad8be2

Please sign in to comment.