Skip to content

Commit d6603a2

Browse files
committed
fix: generate doc
1 parent 0554250 commit d6603a2

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

engine/worker/internal/action/builtin_release_test.go

+7-7
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func TestRunRelease(t *testing.T) {
6666
Value: "999",
6767
},
6868
}...)
69-
res, err := RunRelease(ctx, wk,
69+
res, err := RunReleaseVCS(ctx, wk,
7070
sdk.Action{
7171
Parameters: []sdk.Parameter{
7272
{
@@ -110,7 +110,7 @@ func TestRunReleaseMissingTag(t *testing.T) {
110110
Value: "999",
111111
},
112112
}...)
113-
res, err := RunRelease(ctx, wk,
113+
res, err := RunReleaseVCS(ctx, wk,
114114
sdk.Action{
115115
Parameters: []sdk.Parameter{
116116
{
@@ -150,7 +150,7 @@ func TestRunReleaseMissingTitle(t *testing.T) {
150150
Value: "999",
151151
},
152152
}...)
153-
res, err := RunRelease(ctx, wk,
153+
res, err := RunReleaseVCS(ctx, wk,
154154
sdk.Action{
155155
Parameters: []sdk.Parameter{
156156
{
@@ -190,7 +190,7 @@ func TestRunReleaseMissingReleaseNote(t *testing.T) {
190190
Value: "999",
191191
},
192192
}...)
193-
res, err := RunRelease(ctx, wk,
193+
res, err := RunReleaseVCS(ctx, wk,
194194
sdk.Action{
195195
Parameters: []sdk.Parameter{
196196
{
@@ -226,7 +226,7 @@ func TestRunReleaseMissingProjectKey(t *testing.T) {
226226
Value: "999",
227227
},
228228
}...)
229-
res, err := RunRelease(ctx, wk,
229+
res, err := RunReleaseVCS(ctx, wk,
230230
sdk.Action{
231231
Parameters: []sdk.Parameter{
232232
{
@@ -266,7 +266,7 @@ func TestRunReleaseMissingWorkflowName(t *testing.T) {
266266
Value: "999",
267267
},
268268
}...)
269-
res, err := RunRelease(ctx, wk,
269+
res, err := RunReleaseVCS(ctx, wk,
270270
sdk.Action{
271271
Parameters: []sdk.Parameter{
272272
{
@@ -306,7 +306,7 @@ func TestRunReleaseMissingWorkflowRunNumber(t *testing.T) {
306306
Value: "workflow Name",
307307
},
308308
}...)
309-
res, err := RunRelease(ctx, wk,
309+
res, err := RunReleaseVCS(ctx, wk,
310310
sdk.Action{
311311
Parameters: []sdk.Parameter{
312312
{

sdk/exportentities/step.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ type Step struct {
335335
ServeStaticFiles *StepServeStaticFiles `json:"serveStaticFiles,omitempty" yaml:"serveStaticFiles,omitempty" jsonschema:"oneof_required=actionServeStaticFiles" jsonschema_description:"Serve static files.\nhttps://ovh.github.io/cds/docs/actions/builtin-serve-static-files"`
336336
GitClone *StepGitClone `json:"gitClone,omitempty" yaml:"gitClone,omitempty" jsonschema:"oneof_required=actionGitClone" jsonschema_description:"Clone a git repository.\nhttps://ovh.github.io/cds/docs/actions/builtin-gitclone"`
337337
GitTag *StepGitTag `json:"gitTag,omitempty" yaml:"gitTag,omitempty" jsonschema:"oneof_required=actionGitTag" jsonschema_description:"Create a git tag.\nhttps://ovh.github.io/cds/docs/actions/builtin-gittag"`
338-
ReleaseVCS *StepReleaseVCS `json:"releaseVCS,omitempty" yaml:"releaseVCS,omitempty" jsonschema:"oneof_required=actionReleaseVCS" jsonschema_description:"Release an application.\nhttps://ovh.github.io/cds/docs/actions/builtin-release-vcs"`
338+
ReleaseVCS *StepReleaseVCS `json:"releaseVCS,omitempty" yaml:"releaseVCS,omitempty" jsonschema:"oneof_required=actionReleaseVCS" jsonschema_description:"Release an application.\nhttps://ovh.github.io/cds/docs/actions/builtin-releasevcs"`
339339
JUnitReport *StepJUnitReport `json:"jUnitReport,omitempty" yaml:"jUnitReport,omitempty" jsonschema:"oneof_required=actionJUNit" jsonschema_description:"Parse JUnit report.\nhttps://ovh.github.io/cds/docs/actions/builtin-junit"`
340340
Checkout *StepCheckout `json:"checkout,omitempty" yaml:"checkout,omitempty" jsonschema:"oneof_required=actionCheckout" jsonschema_description:"Checkout repository for an application.\nhttps://ovh.github.io/cds/docs/actions/builtin-checkoutapplication"`
341341
InstallKey *StepInstallKey `json:"installKey,omitempty" yaml:"installKey,omitempty" jsonschema:"oneof_required=actionInstallKey" jsonschema_description:"Install a key (GPG, SSH) in your current workspace.\nhttps://ovh.github.io/cds/docs/actions/builtin-installkey"`

0 commit comments

Comments
 (0)