-
Notifications
You must be signed in to change notification settings - Fork 30
/
openshift-golang-template.yaml
155 lines (147 loc) · 8.22 KB
/
openshift-golang-template.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
kind: ImageStream
apiVersion: v1
metadata:
name: golang
annotations:
openshift.io/display-name: Golang
spec:
tags:
- name: latest
annotations:
openshift.io/display-name: Golang (Latest)
description: Build and run Go applications on CentOS 7.
iconClass: icon-go-gopher
tags: builder,golang
supports: nodejs
sampleRepo: https://github.com/amsokol/openshift-golang-template.git
from:
kind: ImageStreamTag
name: '1.9.2'
- name: '1.8.1'
annotations:
openshift.io/display-name: Golang 1.8.1
description: |
Build and run Go 1.8.1 applications on CentOS 7.
IMPORTANT: environment variables GOPROJECT_ROOT and GOPROJECT_CMD must be set by corresponding values in "Build Configuration" section, "Environment Variables (Build and Runtime)" list.
For example, git URL is "https://github.com/amsokol/openshift-golang-template.git", context directory is "/example-golang-dep" and "main()" function of "main" package is located in "/example-golang-dep/cmd/server".
In this case set GOPROJECT_ROOT=github.com/amsokol/openshift-golang-template/example-golang-dep and GOPROJECT_CMD=cmd/server
iconClass: icon-go-gopher
tags: builder,golang
supports: golang:1.8.1,golang
version: '1.8.1'
sampleRepo: https://github.com/amsokol/openshift-golang-template.git
from:
kind: DockerImage
name: docker.io/amsokol/golang-openshift:1.8.1-7
- name: '1.8.2'
annotations:
openshift.io/display-name: Golang 1.8.2
description: |
Build and run Go 1.8.2 applications on CentOS 7.
IMPORTANT: environment variables GOPROJECT_ROOT and GOPROJECT_CMD must be set by corresponding values in "Build Configuration" section, "Environment Variables (Build and Runtime)" list.
For example, git URL is "https://github.com/amsokol/openshift-golang-template.git", context directory is "/example-golang-dep" and "main()" function of "main" package is located in "/example-golang-dep/cmd/server".
In this case set GOPROJECT_ROOT=github.com/amsokol/openshift-golang-template/example-golang-dep and GOPROJECT_CMD=cmd/server
iconClass: icon-go-gopher
tags: builder,golang
supports: golang:1.8.2,golang
version: '1.8.2'
sampleRepo: https://github.com/amsokol/openshift-golang-template.git
from:
kind: DockerImage
name: docker.io/amsokol/golang-openshift:1.8.2-3
- name: '1.8.3'
annotations:
openshift.io/display-name: Golang 1.8.3
description: |
Build and run Go 1.8.3 applications on CentOS 7.
IMPORTANT: environment variables GOPROJECT_ROOT and GOPROJECT_CMD must be set by corresponding values in "Build Configuration" section, "Environment Variables (Build and Runtime)" list.
For example, git URL is "https://github.com/amsokol/openshift-golang-template.git", context directory is "/example-golang-dep" and "main()" function of "main" package is located in "/example-golang-dep/cmd/server".
In this case set GOPROJECT_ROOT=github.com/amsokol/openshift-golang-template/example-golang-dep and GOPROJECT_CMD=cmd/server
iconClass: icon-go-gopher
tags: builder,golang
supports: golang:1.8.3,golang
version: '1.8.3'
sampleRepo: https://github.com/amsokol/openshift-golang-template.git
from:
kind: DockerImage
name: docker.io/amsokol/golang-openshift:1.8.3-3
- name: '1.8.4'
annotations:
openshift.io/display-name: Golang 1.8.4
description: |
Build and run Go 1.8.4 applications on CentOS 7.
IMPORTANT: environment variables GOPROJECT_ROOT and GOPROJECT_CMD must be set by corresponding values in "Build Configuration" section, "Environment Variables (Build and Runtime)" list.
For example, git URL is "https://github.com/amsokol/openshift-golang-template.git", context directory is "/example-golang-dep" and "main()" function of "main" package is located in "/example-golang-dep/cmd/server".
In this case set GOPROJECT_ROOT=github.com/amsokol/openshift-golang-template/example-golang-dep and GOPROJECT_CMD=cmd/server
iconClass: icon-go-gopher
tags: builder,golang
supports: golang:1.8.4,golang
version: '1.8.4'
sampleRepo: https://github.com/amsokol/openshift-golang-template.git
from:
kind: DockerImage
name: docker.io/amsokol/golang-openshift:1.8.4-1
- name: '1.8.5'
annotations:
openshift.io/display-name: Golang 1.8.5
description: |
Build and run Go 1.8.5 applications on CentOS 7.
IMPORTANT: environment variables GOPROJECT_ROOT and GOPROJECT_CMD must be set by corresponding values in "Build Configuration" section, "Environment Variables (Build and Runtime)" list.
For example, git URL is "https://github.com/amsokol/openshift-golang-template.git", context directory is "/example-golang-dep" and "main()" function of "main" package is located in "/example-golang-dep/cmd/server".
In this case set GOPROJECT_ROOT=github.com/amsokol/openshift-golang-template/example-golang-dep and GOPROJECT_CMD=cmd/server
iconClass: icon-go-gopher
tags: builder,golang
supports: golang:1.8.5,golang
version: '1.8.5'
sampleRepo: https://github.com/amsokol/openshift-golang-template.git
from:
kind: DockerImage
name: docker.io/amsokol/golang-openshift:1.8.5-1
- name: '1.9.0'
annotations:
openshift.io/display-name: Golang 1.9.0
description: |
Build and run Go 1.9.0 applications on CentOS 7.
IMPORTANT: environment variables GOPROJECT_ROOT and GOPROJECT_CMD must be set by corresponding values in "Build Configuration" section, "Environment Variables (Build and Runtime)" list.
For example, git URL is "https://github.com/amsokol/openshift-golang-template.git", context directory is "/example-golang-dep" and "main()" function of "main" package is located in "/example-golang-dep/cmd/server".
In this case set GOPROJECT_ROOT=github.com/amsokol/openshift-golang-template/example-golang-dep and GOPROJECT_CMD=cmd/server
iconClass: icon-go-gopher
tags: builder,golang
supports: golang:1.9.0,golang
version: '1.9.0'
sampleRepo: https://github.com/amsokol/openshift-golang-template.git
from:
kind: DockerImage
name: docker.io/amsokol/golang-openshift:1.9.0-1
- name: '1.9.1'
annotations:
openshift.io/display-name: Golang 1.9.1
description: |
Build and run Go 1.9.1 applications on CentOS 7.
IMPORTANT: environment variables GOPROJECT_ROOT and GOPROJECT_CMD must be set by corresponding values in "Build Configuration" section, "Environment Variables (Build and Runtime)" list.
For example, git URL is "https://github.com/amsokol/openshift-golang-template.git", context directory is "/example-golang-dep" and "main()" function of "main" package is located in "/example-golang-dep/cmd/server".
In this case set GOPROJECT_ROOT=github.com/amsokol/openshift-golang-template/example-golang-dep and GOPROJECT_CMD=cmd/server
iconClass: icon-go-gopher
tags: builder,golang
supports: golang:1.9.1,golang
version: '1.9.1'
sampleRepo: https://github.com/amsokol/openshift-golang-template.git
from:
kind: DockerImage
name: docker.io/amsokol/golang-openshift:1.9.2-1
- name: '1.9.2'
annotations:
openshift.io/display-name: Golang 1.9.2
description: |
Build and run Go 1.9.2 applications on CentOS 7.
IMPORTANT: environment variables GOPROJECT_ROOT and GOPROJECT_CMD must be set by corresponding values in "Build Configuration" section, "Environment Variables (Build and Runtime)" list.
For example, git URL is "https://github.com/amsokol/openshift-golang-template.git", context directory is "/example-golang-dep" and "main()" function of "main" package is located in "/example-golang-dep/cmd/server".
In this case set GOPROJECT_ROOT=github.com/amsokol/openshift-golang-template/example-golang-dep and GOPROJECT_CMD=cmd/server
iconClass: icon-go-gopher
tags: builder,golang
supports: golang:1.9.2,golang
version: '1.9.2'
sampleRepo: https://github.com/amsokol/openshift-golang-template.git
from:
kind: DockerImage
name: docker.io/amsokol/golang-openshift:1.9.2-1