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

Update plugin deployment api #5110

Merged
merged 1 commit into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
183 changes: 109 additions & 74 deletions pkg/plugin/api/v1alpha1/deployment/api.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 16 additions & 1 deletion pkg/plugin/api/v1alpha1/deployment/api.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 11 additions & 2 deletions pkg/plugin/api/v1alpha1/deployment/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,19 @@ message DetermineStrategyResponse {

message BuildStagesRequest {
message StageConfig {
// The stage identifier.
// If it's not set, plugin should set it under pattern:
// `pluginname-stage-index`.
string id = 1;
// The stage name.
string name = 1;
string name = 2 [(validate.rules).string.min_len = 1];
// The stage description.
string desc = 3;
// The stage timeout.
// It should be a duration string (aka. 1m/10s/...).
string timeout = 4;
// The configuration of the stage.
bytes config = 2;
bytes config = 5;
}
repeated StageConfig stages = 1;
}
Expand Down
Loading