-
Notifications
You must be signed in to change notification settings - Fork 8
/
k8s.dsl
132 lines (132 loc) · 9.66 KB
/
k8s.dsl
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
xld {
scope(
forInfrastructure: 'Infrastructure/K8S'
) {
infrastructure('local', 'overthere.LocalHost') {
os = com.xebialabs.overthere.OperatingSystemFamily.UNIX
infrastructure('test runner', 'smoketest.Runner') {
host = ref('Infrastructure/K8S/local')
// no Deployfile renderer found for 'Infrastructure/K8S/local/test runner/smoke test petclinic ui' [type: smoketest.ExecutedHttpRequestTest]
}
}
infrastructure('minikube', 'k8s.Master') {
apiServerURL = 'https://192.168.99.100:8443'
skipTLS = true
tlsCert = '-----BEGIN CERTIFICATE-----\n' +
'MIIDhDCCAmygAwIBAgIBAjANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwptaW5p\n' +
'a3ViZUNBMB4XDTE4MDEwODE0MzE0NFoXDTE5MDEwODE0MzE0NFowLDEXMBUGA1UE\n' +
'ChMOc3lzdGVtOm1hc3RlcnMxETAPBgNVBAMTCG1pbmlrdWJlMIIBIjANBgkqhkiG\n' +
'9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4/8thXZNV1PP554gjE6MRFBH5tHuIvbStZN9\n' +
'9EHEpCNnFhWgrD+8M/b5KvhemumNXDNsl6VPBBfQDx28Nbb57LgeTtTzNyDyHTWu\n' +
'pLgRopnjFISGHo8T2NhD96+2NiJGS1z1ClotA9/w4Phi+8eLjQ8+k2Rcar80zBQn\n' +
'kMLJUIfAZHv1p76hc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5T0r/wzHPlL2TZqrarrNmk34jhbUgLi1qzU4EZXFd/knIyhd268x\n' +
'tKS+TCdISswEUHijzepYRIkzQc5TTQFPLAB4b3srOU8Thc/SjMGGkUJXyaeWO/uM\n' +
'whGuWzclVbJVBV3o6dYOXFECgYEAm5RFRn8S5iZ89e1wdigb3qAUqDNiO2hX0BTk\n' +
'Y1OqANGLw2A0biEvIfv18nIcYsMTVok8UECI7ostSwrjqSxQeFf+Ikd0jmGgEZA9\n' +
'9dCxUoVCLUP3UfAVzw7mx7247ZANm4M1wqXU8C2kOKKzzZErKVuMjp62eE6yRRy5\n' +
'+xhxk4ECgYEAt66RQb49O5TcY+++Y80cRIELiY3W732vchnVtTK0l/wnbK0wIzsa\n' +
'8ZFibDXBo97CF8pAaZKFS2n6Iqqo3uVzy7z8ayXDa+b4Br3EKxeE8DA4KHBzZquU\n' +
'agnGFpzL8viMR0PW4AFCUqPcdsPLetl+JoXSM4ddW0RScaozgYokJmU=\n' +
'-----END RSA PRIVATE KEY-----'
// no Deployfile renderer found for 'Infrastructure/K8S/minikube/default' [type: k8s.Namespace]
// no Deployfile renderer found for 'Infrastructure/K8S/minikube/dev' [type: k8s.Namespace]
}
}
scope(
forInfrastructure: 'Infrastructure/K8S'
) {
infrastructure('local', 'overthere.LocalHost') {
os = com.xebialabs.overthere.OperatingSystemFamily.UNIX
infrastructure('test runner', 'smoketest.Runner') {
host = ref('Infrastructure/K8S/local')
// no Deployfile renderer found for 'Infrastructure/K8S/local/test runner/smoke test petclinic ui' [type: smoketest.ExecutedHttpRequestTest]
}
}
infrastructure('minikube', 'k8s.Master') {
apiServerURL = 'https://192.168.99.100:8443'
skipTLS = true
tlsCert = '-----BEGIN CERTIFICATE-----\n' +
'MIIDhDCCAmygAwIBAgIBAjANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwptaW5p\n' +
'a3ViZUNBMB4XDTE4MDEwODE0MzE0NFoXDTE5MDEwODE0MzE0NFowLDEXMBUGA1UE\n' +
'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n' +
'1tp/GKqG8sTdvJxUwXAoqjz4nI+lsNyphHMbp3TksJsIt0E1slWs2gx5AoGBAOQa\n' +
'TbiBWR7GFTFKGVtuIba3VLGKFQXbOk3Szf4TdO02bvM3jSyWuIV7OSWjfVvthml+\n' +
'83pKC9x4SlmeRA+T1iZ9Egq1D3Ng6oHkRzvOSLqxv9NRdxaPreRO1oFdrP/MqGVx\n' +
'SempfvgchelzvDFrMScY1/Ii5UKrddbOH5zGdVAhAoGAAtWm1IQH9e9CiZAErR/a\n' +
'flCPGxhM6BZD5T0r/wzHPlL2TZqrarrNmk34jhbUgLi1qzU4EZXFd/knIyhd268x\n' +
'tKS+TCdISswEUHijzepYRIkzQc5TTQFPLAB4b3srOU8Thc/SjMGGkUJXyaeWO/uM\n' +
'whGuWzclVbJVBV3o6dYOXFECgYEAm5RFRn8S5iZ89e1wdigb3qAUqDNiO2hX0BTk\n' +
'Y1OqANGLw2A0biEvIfv18nIcYsMTVok8UECI7ostSwrjqSxQeFf+Ikd0jmGgEZA9\n' +
'9dCxUoVCLUP3UfAVzw7mx7247ZANm4M1wqXU8C2kOKKzzZErKVuMjp62eE6yRRy5\n' +
'+xhxk4ECgYEAt66RQb49O5TcY+++Y80cRIELiY3W732vchnVtTK0l/wnbK0wIzsa\n' +
'8ZFibDXBo97CF8pAaZKFS2n6Iqqo3uVzy7z8ayXDa+b4Br3EKxeE8DA4KHBzZquU\n' +
'agnGFpzL8viMR0PW4AFCUqPcdsPLetl+JoXSM4ddW0RScaozgYokJmU=\n' +
'-----END RSA PRIVATE KEY-----'
// no Deployfile renderer found for 'Infrastructure/K8S/minikube/default' [type: k8s.Namespace]
// no Deployfile renderer found for 'Infrastructure/K8S/minikube/dev' [type: k8s.Namespace]
}
}
}