Skip to content

Commit

Permalink
Allow for Jobs instead of AnsibleEE CR in kuttl
Browse files Browse the repository at this point in the history
Signed-off-by: Brendan Shephard <[email protected]>
  • Loading branch information
bshephar committed Sep 9, 2024
1 parent b54fc03 commit 0ac1288
Show file tree
Hide file tree
Showing 14 changed files with 4,383 additions and 2,325 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@ var _ = Describe("Dataplane Deployment Test", func() {
Namespace: dataplaneMultiNodesetDeploymentName.Namespace,
}
ansibleEE := GetAnsibleee(ansibleeeName)
ansibleEE.Status.JobStatus = ansibleeev1.JobStatusSucceeded
ansibleEE.Status.Succeeded = 1
g.Expect(th.K8sClient.Status().Update(th.Ctx, ansibleEE)).To(Succeed())
}, th.Timeout, th.Interval).Should(Succeed())
}
Expand Down Expand Up @@ -1424,7 +1424,7 @@ var _ = Describe("Dataplane Deployment Test", func() {
Namespace: dataplaneMultiNodesetDeploymentName.Namespace,
}
ansibleEE := GetAnsibleee(ansibleeeName)
ansibleEE.Status.JobStatus = ansibleeev1.JobStatusSucceeded
ansibleEE.Status.Succeeded = 1
g.Expect(th.K8sClient.Status().Update(th.Ctx, ansibleEE)).To(Succeed())
}, th.Timeout, th.Interval).Should(Succeed())
}
Expand All @@ -1449,7 +1449,7 @@ var _ = Describe("Dataplane Deployment Test", func() {
Namespace: dataplaneMultiNodesetDeploymentName.Namespace,
}
ansibleEE := GetAnsibleee(ansibleeeName)
ansibleEE.Status.JobStatus = ansibleeev1.JobStatusSucceeded
ansibleEE.Status.Succeeded = 1
g.Expect(th.K8sClient.Status().Update(th.Ctx, ansibleEE)).To(Succeed())
}, th.Timeout, th.Interval).Should(Succeed())
}
Expand Down
Loading

0 comments on commit 0ac1288

Please sign in to comment.