Skip to content

feat: add support for template version messages in api and cli #8336

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 13 commits into from
Jul 11, 2023
Prev Previous commit
Next Next commit
fixup! propagate message in api response
  • Loading branch information
mafredri committed Jul 6, 2023
commit ffb7f3ff2f2376a33a7bc982d226df47d491cc89
3 changes: 3 additions & 0 deletions site/src/testHelpers/entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ export const MockTemplateVersion: TypesGen.TemplateVersion = {
template_id: "test-template",
job: MockProvisionerJob,
name: "test-version",
message: "first version",
readme: `---
name:Template test
---
Expand All @@ -369,6 +370,7 @@ export const MockTemplateVersion2: TypesGen.TemplateVersion = {
template_id: "test-template",
job: MockProvisionerJob,
name: "test-version-2",
message: "first version",
readme: `---
name:Template test 2
---
Expand All @@ -386,6 +388,7 @@ export const MockTemplateVersion3: TypesGen.TemplateVersion = {
template_id: "test-template",
job: MockProvisionerJob,
name: "test-version-3",
message: "first version",
readme: "README",
created_by: MockUser,
warnings: ["UNSUPPORTED_WORKSPACES"],
Expand Down