Skip to content

Commit 550241e

Browse files
author
Oleg Sucharevich
committed
add annotations
1 parent 3112575 commit 550241e

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.16.0
1+
0.17.0

go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ require (
1313
golang.org/x/sys v0.0.0-20181228144115-9a3f9b0469bb // indirect
1414
gopkg.in/yaml.v2 v2.2.2
1515
)
16+
17+
go 1.13

pkg/codefresh/runtime_enrionment.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ type (
7979
RunnerType string
8080
DockerDaemonParams string
8181
NodeSelector map[string]string
82+
Annotations map[string]string
8283
}
8384

8485
ValidateRuntimeOptions struct {
@@ -118,6 +119,7 @@ func (r *runtimeEnvironment) Create(opt *CreateRuntimeOptions) (*RuntimeEnvironm
118119
"runnerType": opt.RunnerType,
119120
"dockerDaemonParams": opt.DockerDaemonParams,
120121
"nodeSelector": opt.NodeSelector,
122+
"annotations": opt.Annotations,
121123
}
122124
if opt.HasAgent {
123125
body["agent"] = true

0 commit comments

Comments
 (0)