Skip to content

Commit 8fb76dd

Browse files
authored
feat: allow setting a build image for a single build (#342)
* Add the ability to set a build image for a single build * Update Go client
1 parent c4f1a84 commit 8fb76dd

File tree

3 files changed

+75
-0
lines changed

3 files changed

+75
-0
lines changed

go/models/build_setup.go

+43
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/plumbing/operations/create_site_build_parameters.go

+21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

swagger.yml

+11
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,12 @@ paths:
713713
post:
714714
operationId: createSiteBuild
715715
tags: [build]
716+
parameters:
717+
- name: build
718+
in: body
719+
schema:
720+
$ref: '#/definitions/buildSetup'
721+
required: false
716722
responses:
717723
'200':
718724
description: OK
@@ -2925,6 +2931,11 @@ definitions:
29252931
type: boolean
29262932
minify:
29272933
type: boolean
2934+
buildSetup:
2935+
type: object
2936+
properties:
2937+
image:
2938+
type: string
29282939
buildHookSetup:
29292940
type: object
29302941
properties:

0 commit comments

Comments
 (0)