Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: Separate the provisionerd server into it's own package#4940

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
kylecarbs merged 6 commits intomainfromprovisionerserver
Nov 8, 2022

Conversation

kylecarbs
Copy link
Member

@kylecarbskylecarbs commentedNov 7, 2022
edited
Loading

This code should be thoroughly tested now that we understand the abstraction.

I separated it to make our lives a bit easier for external provisioner daemons as well!

  • Add a boatload of tests!

This code should be thoroughly tested now that we understand the abstraction.I separated it to make our lives a bit easier for external provisioner daemonsas well!
@kylecarbskylecarbs self-assigned thisNov 7, 2022
@kylecarbskylecarbs marked this pull request as ready for reviewNovember 8, 2022 00:23
Comment on lines +914 to +932
// WorkspaceProvisionJob is the payload for the "workspace_provision" job type.
type WorkspaceProvisionJob struct {
WorkspaceBuildID uuid.UUID `json:"workspace_build_id"`
DryRun bool `json:"dry_run"`
}

// TemplateVersionDryRunJob is the payload for the "template_version_dry_run" job type.
type TemplateVersionDryRunJob struct {
TemplateVersionID uuid.UUID `json:"template_version_id"`
WorkspaceName string `json:"workspace_name"`
ParameterValues []database.ParameterValue `json:"parameter_values"`
}

// ProvisionerJobLogsNotifyMessage is the payload published on
// the provisioner job logs notify channel.
type ProvisionerJobLogsNotifyMessage struct {
CreatedAfter int64 `json:"created_after"`
EndOfLogs bool `json:"end_of_logs,omitempty"`
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

random nit; it feels weird that these are at the bottom

Copy link
MemberAuthor

@kylecarbskylecarbsNov 8, 2022
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

i had them at the top and it felt weird too... tbh they are weird structs

@kylecarbskylecarbsenabled auto-merge (squash)November 8, 2022 00:45
@kylecarbskylecarbs merged commitda05bbb intomainNov 8, 2022
@kylecarbskylecarbs deleted the provisionerserver branchNovember 8, 2022 01:10
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsNov 8, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@coadlercoadlercoadler approved these changes

Assignees

@kylecarbskylecarbs

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@kylecarbs@coadler

[8]ページ先頭

©2009-2025 Movatter.jp