Skip to content

Commit

Permalink
Wait for docker PR builds (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
aajimal committed Jun 8, 2024
1 parent 918203d commit 4f3ef05
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions argocd/appset/spamooor-applicationset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ spec:
value: pr-{{.number}}
syncPolicy:
automated: {}
retry: # Retry/wait because sync will probably fail until the docker image is built and pushed
limit: 5
backoff:
duration: 15s
factor: 2 # a factor to multiply the base duration after each failed retry
maxDuration: 5m # the maximum amount of time allowed for the backoff strategy (15s, 30s, 1m, 2m, 4m < 5m)
syncOptions:
- CreateNamespace=true
managedNamespaceMetadata:
Expand Down

0 comments on commit 4f3ef05

Please sign in to comment.