8000 chore: push proto changes to `v1.6` by dannykopping · Pull Request #17874 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

chore: push proto changes to v1.6 #17874

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

Merged
merged 2 commits into from
May 16, 2025
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
2 changes: 1 addition & 1 deletion cli/testdata/coder_provisioner_list_--output_json.golden
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"last_seen_at": "====[timestamp]=====",
"name": "test",
"version": "v0.0.0-devel",
"api_version": "1.5",
"api_version": "1.6",
"provisioners": [
"echo"
],
Expand Down
13 changes: 8 additions & 5 deletions provisionerd/proto/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,19 @@ import "github.com/coder/coder/v2/apiversion"
//
// API v1.5:
// - Add new field named `prebuilt_workspace_build_stage` enum in the Metadata message.
// - Add `plan` and `module_files` fields to `CompletedJob.TemplateImport`.
// - Add previous parameter values to 'WorkspaceBuild' jobs. Provisioner passes
// the previous values for the `terraform apply` to enforce monotonicity
// in the terraform provider.
// - Add new field named `running_agent_auth_tokens` to provisioner job metadata
// - Add new field named `resource_replacements` in PlanComplete & CompletedJob.WorkspaceBuild.
// - Add new field named `api_key_scope` to WorkspaceAgent to support running without user data access.
// - Add `plan` field to `CompletedJob.TemplateImport`.
//
// API v1.6:
// - Add `module_files` field to `CompletedJob.TemplateImport`.
// - Add previous parameter values to 'WorkspaceBuild' jobs. Provisioner passes
// the previous values for the `terraform apply` to enforce monotonicity
// in the terraform provider.
const (
CurrentMajor = 1
CurrentMinor = 5
CurrentMinor = 6
)

// CurrentVersion is the current provisionerd API version.
Expand Down
28 changes: 14 additions & 14 deletions provisionersdk/proto/provisioner.pb.go

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

4 changes: 2 additions & 2 deletions provisionersdk/proto/provisioner.proto
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,8 @@ message PlanComplete {
repeated Module modules = 7;
repeated Preset presets = 8;
bytes plan = 9;
bytes module_files = 10;
repeated ResourceReplacement resource_replacements = 11;
repeated ResourceReplacement resource_replacements = 10;
bytes module_files = 11;
}

// ApplyRequest asks the provisioner to apply the changes. Apply MUST be preceded by a successful plan request/response
Expand Down
10 changes: 5 additions & 5 deletions site/e2e/provisionerGenerated.ts

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

Loading
0