Skip to content

Commit

Permalink
chore: try to match previous behavior
Browse files Browse the repository at this point in the history
Signed-off-by: Hidde Beydals <[email protected]>
  • Loading branch information
hiddeco committed Nov 20, 2024
1 parent 62d4712 commit 174f60a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/directives/argocd_updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ func (a *argocdUpdater) Name() string {
return "argocd-update"
}

// DefaultAttempts implements the RetryableStepRunner interface.
func (a *argocdUpdater) DefaultAttempts() int64 {
return -1

Check warning on line 132 in internal/directives/argocd_updater.go

View check run for this annotation

Codecov / codecov/patch

internal/directives/argocd_updater.go#L131-L132

Added lines #L131 - L132 were not covered by tests
}

// RunPromotionStep implements the PromotionStepRunner interface.
func (a *argocdUpdater) RunPromotionStep(
ctx context.Context,
Expand Down
5 changes: 5 additions & 0 deletions internal/directives/git_pr_waiter.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ func (g *gitPRWaiter) Name() string {
return "git-wait-for-pr"
}

// DefaultAttempts implements the RetryableStepRunner interface.
func (g *gitPRWaiter) DefaultAttempts() int64 {
return -1

Check warning on line 43 in internal/directives/git_pr_waiter.go

View check run for this annotation

Codecov / codecov/patch

internal/directives/git_pr_waiter.go#L42-L43

Added lines #L42 - L43 were not covered by tests
}

// RunPromotionStep implements the PromotionStepRunner interface.
func (g *gitPRWaiter) RunPromotionStep(
ctx context.Context,
Expand Down

0 comments on commit 174f60a

Please sign in to comment.