Skip to content

🚀 Feat run retry policy #602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

baptman21
Copy link
Contributor

@baptman21 baptman21 commented Apr 29, 2025

Description

Add a retry policy to allow the operator to retry runs that failed.

Usage Example

apiVersion: app.terraform.io/v1alpha2
kind: Workspace
metadata:
  name: tmp
spec:
  allowDestroyPlan: false
  applyMethod: auto
  description: "Example with Retry enabled"
  executionMode: agent
  name: example
  organization: test
  project:
    name: Default Project
  tags:
  - test
  terraformVariables:
    - hcl: false
      name: env
      sensitive: false
      value: dev
  retryPolicy:
    backoffLimit:  3
  token:
    secretKeyRef:
      key: token
      name: example-token
  versionControl:
    branch: main
    oAuthTokenID: ot-XXXXXXXXXXX
    repository: example
  workingDirectory: example/test

References

Fixes GH-163
Dependent on PR GH-594

Requires

Community Note

  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

@baptman21 baptman21 requested a review from a team as a code owner April 29, 2025 13:39
@baptman21 baptman21 changed the title Feat run retry policy 🚀 Feat run retry policy Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🚀 [FWD v1] Add retry logic
1 participant