Skip to content

Commit 038e8b3

Browse files
author
Oleg Sucharevich
committed
rename steps-as-pods to runner-type
1 parent 9c29ee5 commit 038e8b3

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.12.0
1+
0.13.0

pkg/codefresh/runtime_enrionment.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ import (
77
"time"
88
)
99

10+
const (
11+
KubernetesRunnerType = "kubernetes"
12+
)
13+
1014
type (
1115
// IRuntimeEnvironmentAPI declers Codefresh runtime environment API
1216
IRuntimeEnvironmentAPI interface {
@@ -72,7 +76,7 @@ type (
7276
Namespace string
7377
HasAgent bool
7478
StorageClass string
75-
StepsAsPods bool
79+
RunnerType string
7680
}
7781

7882
ValidateRuntimeOptions struct {
@@ -109,7 +113,7 @@ func (r *runtimeEnvironment) Create(opt *CreateRuntimeOptions) (*RuntimeEnvironm
109113
"clusterName": opt.Cluster,
110114
"namespace": opt.Namespace,
111115
"storageClassName": opt.StorageClass,
112-
"stepsAsPods": opt.StepsAsPods,
116+
"runnerType": opt.RunnerType,
113117
}
114118
if opt.HasAgent {
115119
body["agent"] = true

0 commit comments

Comments
 (0)