Skip to content

Commit 455b1d0

Browse files
authored
chore: support ConsecutiveSuccessLimit from Argo Rollouts 1.8.0 (#3654)
Signed-off-by: Hidde Beydals <[email protected]>
1 parent 1e623df commit 455b1d0

File tree

9 files changed

+290
-222
lines changed

9 files changed

+290
-222
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SHELL ?= /bin/bash
44
EXTENDED_PATH ?= $(CURDIR)/hack/bin:$(PATH)
55

66
ARGO_CD_CHART_VERSION := 7.7.0
7-
ARGO_ROLLOUTS_CHART_VERSION := 2.37.7
7+
ARGO_ROLLOUTS_CHART_VERSION := 2.39.1
88
CERT_MANAGER_CHART_VERSION := 1.16.1
99

1010
BUF_LINT_ERROR_FORMAT ?= text

api/stubs/rollouts/v1alpha1/analysis_types.go

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,17 @@ func (d DurationString) Duration() (time.Duration, error) {
5555
}
5656

5757
type Metric struct {
58-
Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
59-
Interval DurationString `json:"interval,omitempty" protobuf:"bytes,2,opt,name=interval,casttype=DurationString"`
60-
InitialDelay DurationString `json:"initialDelay,omitempty" protobuf:"bytes,3,opt,name=initialDelay,casttype=DurationString"`
61-
Count *intstrutil.IntOrString `json:"count,omitempty" protobuf:"bytes,4,opt,name=count"`
62-
SuccessCondition string `json:"successCondition,omitempty" protobuf:"bytes,5,opt,name=successCondition"`
63-
FailureCondition string `json:"failureCondition,omitempty" protobuf:"bytes,6,opt,name=failureCondition"`
64-
FailureLimit *intstrutil.IntOrString `json:"failureLimit,omitempty" protobuf:"bytes,7,opt,name=failureLimit"`
65-
InconclusiveLimit *intstrutil.IntOrString `json:"inconclusiveLimit,omitempty" protobuf:"bytes,8,opt,name=inconclusiveLimit"`
66-
ConsecutiveErrorLimit *intstrutil.IntOrString `json:"consecutiveErrorLimit,omitempty" protobuf:"bytes,9,opt,name=consecutiveErrorLimit"`
67-
Provider MetricProvider `json:"provider" protobuf:"bytes,10,opt,name=provider"`
58+
Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
59+
Interval DurationString `json:"interval,omitempty" protobuf:"bytes,2,opt,name=interval,casttype=DurationString"`
60+
InitialDelay DurationString `json:"initialDelay,omitempty" protobuf:"bytes,3,opt,name=initialDelay,casttype=DurationString"`
61+
Count *intstrutil.IntOrString `json:"count,omitempty" protobuf:"bytes,4,opt,name=count"`
62+
SuccessCondition string `json:"successCondition,omitempty" protobuf:"bytes,5,opt,name=successCondition"`
63+
FailureCondition string `json:"failureCondition,omitempty" protobuf:"bytes,6,opt,name=failureCondition"`
64+
FailureLimit *intstrutil.IntOrString `json:"failureLimit,omitempty" protobuf:"bytes,7,opt,name=failureLimit"`
65+
InconclusiveLimit *intstrutil.IntOrString `json:"inconclusiveLimit,omitempty" protobuf:"bytes,8,opt,name=inconclusiveLimit"`
66+
ConsecutiveErrorLimit *intstrutil.IntOrString `json:"consecutiveErrorLimit,omitempty" protobuf:"bytes,9,opt,name=consecutiveErrorLimit"`
67+
Provider MetricProvider `json:"provider" protobuf:"bytes,10,opt,name=provider"`
68+
ConsecutiveSuccessLimit *intstrutil.IntOrString `json:"consecutiveSuccessLimit,omitempty" protobuf:"bytes,11,opt,name=consecutiveSuccessLimit"`
6869
}
6970

7071
type DryRun struct {

api/stubs/rollouts/v1alpha1/generated.pb.go

Lines changed: 262 additions & 207 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/stubs/rollouts/v1alpha1/generated.proto

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/stubs/rollouts/v1alpha1/zz_generated.deepcopy.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hack/quickstart/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -x
44

55
argo_cd_chart_version=7.7.0
6-
argo_rollouts_chart_version=2.37.7
6+
argo_rollouts_chart_version=2.39.1
77
cert_manager_chart_version=1.16.1
88

99
helm install cert-manager cert-manager \

hack/quickstart/k3d.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -x
44

55
argo_cd_chart_version=7.7.0
6-
argo_rollouts_chart_version=2.37.7
6+
argo_rollouts_chart_version=2.39.1
77
cert_manager_chart_version=1.16.1
88

99
k3d cluster create kargo-quickstart \

hack/quickstart/kind.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -x
44

55
argo_cd_chart_version=7.7.0
6-
argo_rollouts_chart_version=2.37.7
6+
argo_rollouts_chart_version=2.39.1
77
cert_manager_chart_version=1.16.1
88

99
kind create cluster \

ui/src/gen/api/stubs/rollouts/v1alpha1/generated_pb.ts

Lines changed: 6 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)