Skip to content
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

Option to delay Freight verification in a Stage #2069

Open
jessesuen opened this issue May 29, 2024 · 0 comments
Open

Option to delay Freight verification in a Stage #2069

jessesuen opened this issue May 29, 2024 · 0 comments

Comments

@jessesuen
Copy link
Contributor

jessesuen commented May 29, 2024

Proposed Feature

As soon as a Freight is successfully promoted into a Stage, it is immediately verified to go to downstream Stages. This is often too fast for users. Instead, they wish for there to be a minimum "soak" or "bake" time before it can automatically go downstream (e.g. 1h, 1d).

We could introduce a verificationDelay option in a Stage where a Freight must be running in a Stage for some minimum amount of time, before it is qualified to downstream

Motivation

Users want automated promotions, but don't want for it to be immediate.

Suggested Implementation

Delay the marking of a Freight to be verifiedIn a stage until it passes the user specified time.

There is a workaround for now, which is to reference an AnalysisTemplate that has an initialDelay. e.g.:

apiVersion: argoproj.io/v1alpha1
kind: AnalysisTemplate
metadata:
  name: soak
spec:
  metrics:
    - name: soak
      count: 1
      initialDelay: 1h
      provider:
        web:
          url: https://example.com # Choose a URL that will return 200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants