Skip to content

Commit 58c6148

Browse files
committed
chore(release): v0.26.0-rc2
1 parent 441e1bf commit 58c6148

File tree

15 files changed

+246
-173
lines changed

15 files changed

+246
-173
lines changed

action/pipeline/stage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package pipeline
55
import (
66
"github.com/sirupsen/logrus"
77

8-
"github.com/go-vela/server/compiler/types/yaml"
8+
"github.com/go-vela/server/compiler/types/yaml/yaml"
99
)
1010

1111
func stages(pipelineType string) *yaml.Build {

action/pipeline/stage_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"reflect"
77
"testing"
88

9-
"github.com/go-vela/server/compiler/types/yaml"
9+
"github.com/go-vela/server/compiler/types/yaml/yaml"
1010
)
1111

1212
func TestPipeline_stages(t *testing.T) {

action/pipeline/step.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package pipeline
55
import (
66
"github.com/sirupsen/logrus"
77

8-
"github.com/go-vela/server/compiler/types/yaml"
8+
"github.com/go-vela/server/compiler/types/yaml/yaml"
99
)
1010

1111
func steps(pipelineType string) *yaml.Build {

action/pipeline/step_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"reflect"
77
"testing"
88

9-
"github.com/go-vela/server/compiler/types/yaml"
9+
"github.com/go-vela/server/compiler/types/yaml/yaml"
1010
)
1111

1212
func TestPipeline_steps(t *testing.T) {

action/pipeline/validate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
api "github.com/go-vela/server/api/types"
1717
"github.com/go-vela/server/compiler"
1818
"github.com/go-vela/server/compiler/types/pipeline"
19-
"github.com/go-vela/server/compiler/types/yaml"
19+
"github.com/go-vela/server/compiler/types/yaml/yaml"
2020
"github.com/go-vela/server/constants"
2121
)
2222

action/secret/view.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/go-vela/cli/internal/output"
1414
"github.com/go-vela/sdk-go/vela"
1515
api "github.com/go-vela/server/api/types"
16-
pyaml "github.com/go-vela/server/compiler/types/yaml"
16+
pyaml "github.com/go-vela/server/compiler/types/yaml/yaml"
1717
"github.com/go-vela/server/constants"
1818
)
1919

action/settings/settings.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type Config struct {
2929
type Compiler struct {
3030
CloneImage *string
3131
TemplateDepth *int
32-
StarlarkExecLimit *uint64
32+
StarlarkExecLimit *int64
3333
}
3434

3535
// Queue represents the compiler configurations used

action/settings/update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ func (c *Config) UpdateFromFile(client *vela.Client) error {
224224
}
225225

226226
if f.Compiler.StarlarkExecLimit != nil {
227-
s.Compiler.StarlarkExecLimit = vela.UInt64(f.Compiler.GetStarlarkExecLimit())
227+
s.Compiler.StarlarkExecLimit = vela.Int64(f.Compiler.GetStarlarkExecLimit())
228228
}
229229
}
230230

action/settings/update_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func TestSettings_Config_Update(t *testing.T) {
4444
Compiler: Compiler{
4545
CloneImage: vela.String("test"),
4646
TemplateDepth: vela.Int(1),
47-
StarlarkExecLimit: vela.UInt64(1),
47+
StarlarkExecLimit: vela.Int64(1),
4848
},
4949
},
5050
},

action/settings/validate_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func TestSettings_Config_Validate(t *testing.T) {
3939
config: &Config{
4040
Action: "update",
4141
Compiler: Compiler{
42-
StarlarkExecLimit: vela.UInt64(1),
42+
StarlarkExecLimit: vela.Int64(1),
4343
},
4444
Output: "",
4545
},

0 commit comments

Comments
 (0)