Skip to content

Commit

Permalink
chore: remove dryBranch (#81)
Browse files Browse the repository at this point in the history
remove dryBranch

Signed-off-by: Zach Aller <[email protected]>
  • Loading branch information
zachaller authored Oct 24, 2024
1 parent 180609f commit c932c3b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions api/v1alpha1/promotionstrategy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ type PromotionStrategySpec struct {
// +kubebuilder:validation:Required
RepositoryReference ObjectReference `json:"gitRepositoryRef"`

// +kubebuilder:validation:Required
DryBanch string `json:"dryBranch"`

// +kubebuilder:validation:Optional
ActiveCommitStatuses []CommitStatusSelector `json:"activeCommitStatuses"`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ spec:
- key
type: object
type: array
dryBranch:
type: string
environments:
items:
properties:
Expand Down Expand Up @@ -109,7 +107,6 @@ spec:
type: object
type: array
required:
- dryBranch
- environments
- gitRepositoryRef
type: object
Expand Down
1 change: 0 additions & 1 deletion internal/controller/promotionstrategy_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,6 @@ func promotionStrategyResource(ctx context.Context, name, namespace string) (str
Namespace: namespace,
},
Spec: promoterv1alpha1.PromotionStrategySpec{
DryBanch: "main",
RepositoryReference: promoterv1alpha1.ObjectReference{
Name: name,
},
Expand Down

0 comments on commit c932c3b

Please sign in to comment.