@firestartr/cli 1.57.0 → 1.57.1-snapshot-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +47 -60
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/argodeploy.schema.d.ts +1 -2
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/common-meta.schema.d.ts +18 -1
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/component.schema.d.ts +2 -4
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/domain.schema.d.ts +1 -2
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/group.schema.d.ts +2 -3
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/index.d.ts +27 -21
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/system.schema.d.ts +1 -5
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/tfworkspace.schema.d.ts +2 -4
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -357795,6 +357795,8 @@ const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createReq
|
|
|
357795
357795
|
properties: {
|
|
357796
357796
|
name: {
|
|
357797
357797
|
type: 'string',
|
|
357798
|
+
pattern: '^[a-z0-9]([a-z0-9._-]*[a-z0-9])?$',
|
|
357799
|
+
maxLength: 63,
|
|
357798
357800
|
},
|
|
357799
357801
|
kind: {
|
|
357800
357802
|
type: 'string',
|
|
@@ -357853,20 +357855,35 @@ const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createReq
|
|
|
357853
357855
|
},
|
|
357854
357856
|
additionalProperties: false,
|
|
357855
357857
|
},
|
|
357856
|
-
|
|
357857
|
-
$id: 'firestartr.dev://common/
|
|
357858
|
+
DomainReference: {
|
|
357859
|
+
$id: 'firestartr.dev://common/FirestartrDomainRef',
|
|
357858
357860
|
type: 'string',
|
|
357859
|
-
pattern: '^[
|
|
357861
|
+
pattern: '^domain:([a-z0-9]([a-z0-9._-]*[a-z0-9])?/)?[a-z0-9]([a-z0-9._-]*[a-z0-9])?$',
|
|
357860
357862
|
},
|
|
357861
357863
|
SystemReference: {
|
|
357862
357864
|
$id: 'firestartr.dev://common/FirestartrSystemRef',
|
|
357863
357865
|
type: 'string',
|
|
357864
|
-
pattern: '^system:[
|
|
357866
|
+
pattern: '^system:([a-z0-9]([a-z0-9._-]*[a-z0-9])?/)?[a-z0-9]([a-z0-9._-]*[a-z0-9])?$',
|
|
357865
357867
|
},
|
|
357866
357868
|
ComponentReference: {
|
|
357867
357869
|
$id: 'firestartr.dev://common/FirestartrComponentRef',
|
|
357868
357870
|
type: 'string',
|
|
357869
|
-
pattern: '^component:[
|
|
357871
|
+
pattern: '^component:([a-z0-9]([a-z0-9._-]*[a-z0-9])?/)?[a-z0-9]([a-z0-9._-]*[a-z0-9])?$',
|
|
357872
|
+
},
|
|
357873
|
+
UserReference: {
|
|
357874
|
+
$id: 'firestartr.dev://common/FirestartrUserRef',
|
|
357875
|
+
type: 'string',
|
|
357876
|
+
pattern: '^user:([a-z0-9]([a-z0-9._-]*[a-z0-9])?/)?[a-z0-9]([a-z0-9._-]*[a-z0-9])?$',
|
|
357877
|
+
},
|
|
357878
|
+
GroupReference: {
|
|
357879
|
+
$id: 'firestartr.dev://common/FirestartrGroupRef',
|
|
357880
|
+
type: 'string',
|
|
357881
|
+
pattern: '^group:([a-z0-9]([a-z0-9._-]*[a-z0-9])?/)?[a-z0-9]([a-z0-9._-]*[a-z0-9])?$',
|
|
357882
|
+
},
|
|
357883
|
+
OwnerReference: {
|
|
357884
|
+
$id: 'firestartr.dev://common/FirestartrOwnerRef',
|
|
357885
|
+
type: 'string',
|
|
357886
|
+
pattern: '^(user|group|collaborator):([a-z0-9]([a-z0-9._-]*[a-z0-9])?/)?[a-z0-9]([a-z0-9._-]*[a-z0-9])?$',
|
|
357870
357887
|
},
|
|
357871
357888
|
Annotations: {
|
|
357872
357889
|
$id: 'firestartr.dev://common/FirestartrAnnotations',
|
|
@@ -357897,19 +357914,12 @@ const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createReq
|
|
|
357897
357914
|
properties: {
|
|
357898
357915
|
children: {
|
|
357899
357916
|
type: 'array',
|
|
357900
|
-
items: {
|
|
357901
|
-
type: 'string',
|
|
357902
|
-
},
|
|
357903
|
-
},
|
|
357904
|
-
parent: {
|
|
357905
|
-
$ref: 'firestartr.dev://common/FirestartrRef',
|
|
357917
|
+
items: { $ref: 'firestartr.dev://common/FirestartrGroupRef' },
|
|
357906
357918
|
},
|
|
357919
|
+
parent: { $ref: 'firestartr.dev://common/FirestartrGroupRef' },
|
|
357907
357920
|
members: {
|
|
357908
357921
|
type: 'array',
|
|
357909
|
-
items: {
|
|
357910
|
-
type: 'string',
|
|
357911
|
-
pattern: '^user:[a-zA-Z0-9_-]+$',
|
|
357912
|
-
},
|
|
357922
|
+
items: { $ref: 'firestartr.dev://common/FirestartrUserRef' },
|
|
357913
357923
|
},
|
|
357914
357924
|
providers: {
|
|
357915
357925
|
type: 'object',
|
|
@@ -357973,22 +357983,16 @@ const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createReq
|
|
|
357973
357983
|
{
|
|
357974
357984
|
type: 'object',
|
|
357975
357985
|
properties: {
|
|
357976
|
-
system: {
|
|
357977
|
-
|
|
357978
|
-
pattern: '^system:.+$',
|
|
357979
|
-
},
|
|
357980
|
-
owner: {
|
|
357981
|
-
type: 'string',
|
|
357982
|
-
pattern: '^[^:]+:[^:]+$',
|
|
357983
|
-
},
|
|
357986
|
+
system: { $ref: 'firestartr.dev://common/FirestartrSystemRef' },
|
|
357987
|
+
owner: { $ref: 'firestartr.dev://common/FirestartrOwnerRef' },
|
|
357984
357988
|
maintainedBy: {
|
|
357985
357989
|
type: 'array',
|
|
357986
357990
|
items: {
|
|
357987
|
-
$ref: 'firestartr.dev://common/
|
|
357991
|
+
$ref: 'firestartr.dev://common/FirestartrOwnerRef',
|
|
357988
357992
|
},
|
|
357989
357993
|
},
|
|
357990
357994
|
platformOwner: {
|
|
357991
|
-
$ref: 'firestartr.dev://common/
|
|
357995
|
+
$ref: 'firestartr.dev://common/FirestartrOwnerRef',
|
|
357992
357996
|
},
|
|
357993
357997
|
subComponentOf: {
|
|
357994
357998
|
$ref: 'firestartr.dev://common/FirestartrComponentRef',
|
|
@@ -358025,16 +358029,8 @@ const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createReq
|
|
|
358025
358029
|
{
|
|
358026
358030
|
type: 'object',
|
|
358027
358031
|
properties: {
|
|
358028
|
-
|
|
358029
|
-
|
|
358030
|
-
},
|
|
358031
|
-
domain: {
|
|
358032
|
-
type: 'string',
|
|
358033
|
-
pattern: '^domain:.+$',
|
|
358034
|
-
},
|
|
358035
|
-
owner: {
|
|
358036
|
-
$ref: 'firestartr.dev://common/FirestartrRef',
|
|
358037
|
-
},
|
|
358032
|
+
domain: { $ref: 'firestartr.dev://common/FirestartrDomainRef' },
|
|
358033
|
+
owner: { $ref: 'firestartr.dev://common/FirestartrOwnerRef' },
|
|
358038
358034
|
},
|
|
358039
358035
|
required: ['name'],
|
|
358040
358036
|
},
|
|
@@ -358062,10 +358058,7 @@ const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createReq
|
|
|
358062
358058
|
description: {
|
|
358063
358059
|
type: 'string',
|
|
358064
358060
|
},
|
|
358065
|
-
owner: {
|
|
358066
|
-
type: 'string',
|
|
358067
|
-
pattern: '^(user|group):[a-zA-Z0-9_&-]+$',
|
|
358068
|
-
},
|
|
358061
|
+
owner: { $ref: 'firestartr.dev://common/FirestartrOwnerRef' },
|
|
358069
358062
|
},
|
|
358070
358063
|
required: ['description', 'owner'],
|
|
358071
358064
|
},
|
|
@@ -358081,7 +358074,7 @@ const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createReq
|
|
|
358081
358074
|
TFWorkspaceClaim: {
|
|
358082
358075
|
$id: 'firestartr.dev://common/TFWorkspaceClaim',
|
|
358083
358076
|
type: 'object',
|
|
358084
|
-
description: 'A TF
|
|
358077
|
+
description: 'A TF Workspace claim',
|
|
358085
358078
|
unevaluatedProperties: false,
|
|
358086
358079
|
allOf: [
|
|
358087
358080
|
{ $ref: 'firestartr.dev://common/ClaimEnvelope' },
|
|
@@ -358091,14 +358084,8 @@ const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createReq
|
|
|
358091
358084
|
resourceType: {
|
|
358092
358085
|
type: 'string',
|
|
358093
358086
|
},
|
|
358094
|
-
system: {
|
|
358095
|
-
|
|
358096
|
-
pattern: '^system:.+$',
|
|
358097
|
-
},
|
|
358098
|
-
owner: {
|
|
358099
|
-
type: 'string',
|
|
358100
|
-
pattern: '^[^:]+:[^:]+$',
|
|
358101
|
-
},
|
|
358087
|
+
system: { $ref: 'firestartr.dev://common/FirestartrSystemRef' },
|
|
358088
|
+
owner: { $ref: 'firestartr.dev://common/FirestartrOwnerRef' },
|
|
358102
358089
|
providers: {
|
|
358103
358090
|
type: 'object',
|
|
358104
358091
|
properties: {
|
|
@@ -358132,10 +358119,7 @@ const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createReq
|
|
|
358132
358119
|
{
|
|
358133
358120
|
type: 'object',
|
|
358134
358121
|
properties: {
|
|
358135
|
-
system: {
|
|
358136
|
-
type: 'string',
|
|
358137
|
-
pattern: '^system:.+$',
|
|
358138
|
-
},
|
|
358122
|
+
system: { $ref: 'firestartr.dev://common/FirestartrSystemRef' },
|
|
358139
358123
|
project: {
|
|
358140
358124
|
type: 'string',
|
|
358141
358125
|
},
|
|
@@ -358171,9 +358155,7 @@ const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createReq
|
|
|
358171
358155
|
{
|
|
358172
358156
|
type: 'object',
|
|
358173
358157
|
properties: {
|
|
358174
|
-
system: {
|
|
358175
|
-
$ref: 'firestartr.dev://common/FirestartrSystemRef',
|
|
358176
|
-
},
|
|
358158
|
+
system: { $ref: 'firestartr.dev://common/FirestartrSystemRef' },
|
|
358177
358159
|
providers: {
|
|
358178
358160
|
type: 'object',
|
|
358179
358161
|
properties: {
|
|
@@ -359164,7 +359146,7 @@ async function loadClaim(claimRef, org, defaults = loadClaimDefaults(), patchCla
|
|
|
359164
359146
|
try {
|
|
359165
359147
|
const claimData = await lazyGetClaim(claimRef.split(/-/)[0], claimRef.replace(/^[^-]+-/, ''), org, cwd);
|
|
359166
359148
|
const claim = patchClaim(catalog_common.io.fromYaml(claimData), defaults);
|
|
359167
|
-
cdk8s_renderer_src_logger.silly(`Patched claim is:
|
|
359149
|
+
cdk8s_renderer_src_logger.silly(`Patched claim is:
|
|
359168
359150
|
---
|
|
359169
359151
|
${catalog_common.io.toYaml(claim)}`);
|
|
359170
359152
|
try {
|
|
@@ -359173,9 +359155,14 @@ async function loadClaim(claimRef, org, defaults = loadClaimDefaults(), patchCla
|
|
|
359173
359155
|
}
|
|
359174
359156
|
catch (error) {
|
|
359175
359157
|
let errorMsg = '';
|
|
359176
|
-
|
|
359177
|
-
|
|
359178
|
-
|
|
359158
|
+
if (Array.isArray(error)) {
|
|
359159
|
+
for (const data of error) {
|
|
359160
|
+
errorMsg = `${errorMsg}
|
|
359161
|
+
- ${data.instancePath}: ${data.message}`;
|
|
359162
|
+
}
|
|
359163
|
+
}
|
|
359164
|
+
else {
|
|
359165
|
+
errorMsg = error instanceof Error ? error.message : String(error);
|
|
359179
359166
|
}
|
|
359180
359167
|
throw new Error(`Error when validating claim ${claimRef}: ${errorMsg}`);
|
|
359181
359168
|
}
|
|
@@ -376452,7 +376439,7 @@ const crs_analyzerSubcommand = {
|
|
|
376452
376439
|
};
|
|
376453
376440
|
|
|
376454
376441
|
;// CONCATENATED MODULE: ./package.json
|
|
376455
|
-
const package_namespaceObject = {"i8":"1.57.
|
|
376442
|
+
const package_namespaceObject = JSON.parse('{"i8":"1.57.1-snapshot-2"}');
|
|
376456
376443
|
;// CONCATENATED MODULE: ../../package.json
|
|
376457
376444
|
const package_namespaceObject_1 = {"i8":"1.57.0"};
|
|
376458
376445
|
;// CONCATENATED MODULE: ./src/subcommands/index.ts
|
|
@@ -8,6 +8,8 @@ declare const _default: {
|
|
|
8
8
|
properties: {
|
|
9
9
|
name: {
|
|
10
10
|
type: string;
|
|
11
|
+
pattern: string;
|
|
12
|
+
maxLength: number;
|
|
11
13
|
};
|
|
12
14
|
kind: {
|
|
13
15
|
type: string;
|
|
@@ -66,7 +68,7 @@ declare const _default: {
|
|
|
66
68
|
};
|
|
67
69
|
additionalProperties: boolean;
|
|
68
70
|
};
|
|
69
|
-
|
|
71
|
+
DomainReference: {
|
|
70
72
|
$id: string;
|
|
71
73
|
type: string;
|
|
72
74
|
pattern: string;
|
|
@@ -81,6 +83,21 @@ declare const _default: {
|
|
|
81
83
|
type: string;
|
|
82
84
|
pattern: string;
|
|
83
85
|
};
|
|
86
|
+
UserReference: {
|
|
87
|
+
$id: string;
|
|
88
|
+
type: string;
|
|
89
|
+
pattern: string;
|
|
90
|
+
};
|
|
91
|
+
GroupReference: {
|
|
92
|
+
$id: string;
|
|
93
|
+
type: string;
|
|
94
|
+
pattern: string;
|
|
95
|
+
};
|
|
96
|
+
OwnerReference: {
|
|
97
|
+
$id: string;
|
|
98
|
+
type: string;
|
|
99
|
+
pattern: string;
|
|
100
|
+
};
|
|
84
101
|
Annotations: {
|
|
85
102
|
$id: string;
|
|
86
103
|
type: string;
|
|
@@ -17,7 +17,7 @@ declare const _default: {
|
|
|
17
17
|
children: {
|
|
18
18
|
type: string;
|
|
19
19
|
items: {
|
|
20
|
-
|
|
20
|
+
$ref: string;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
parent: {
|
|
@@ -26,8 +26,7 @@ declare const _default: {
|
|
|
26
26
|
members: {
|
|
27
27
|
type: string;
|
|
28
28
|
items: {
|
|
29
|
-
|
|
30
|
-
pattern: string;
|
|
29
|
+
$ref: string;
|
|
31
30
|
};
|
|
32
31
|
};
|
|
33
32
|
providers: {
|
|
@@ -12,6 +12,8 @@ declare const schemas: {
|
|
|
12
12
|
properties: {
|
|
13
13
|
name: {
|
|
14
14
|
type: string;
|
|
15
|
+
pattern: string;
|
|
16
|
+
maxLength: number;
|
|
15
17
|
};
|
|
16
18
|
kind: {
|
|
17
19
|
type: string;
|
|
@@ -70,7 +72,7 @@ declare const schemas: {
|
|
|
70
72
|
};
|
|
71
73
|
additionalProperties: boolean;
|
|
72
74
|
};
|
|
73
|
-
|
|
75
|
+
DomainReference: {
|
|
74
76
|
$id: string;
|
|
75
77
|
type: string;
|
|
76
78
|
pattern: string;
|
|
@@ -85,6 +87,21 @@ declare const schemas: {
|
|
|
85
87
|
type: string;
|
|
86
88
|
pattern: string;
|
|
87
89
|
};
|
|
90
|
+
UserReference: {
|
|
91
|
+
$id: string;
|
|
92
|
+
type: string;
|
|
93
|
+
pattern: string;
|
|
94
|
+
};
|
|
95
|
+
GroupReference: {
|
|
96
|
+
$id: string;
|
|
97
|
+
type: string;
|
|
98
|
+
pattern: string;
|
|
99
|
+
};
|
|
100
|
+
OwnerReference: {
|
|
101
|
+
$id: string;
|
|
102
|
+
type: string;
|
|
103
|
+
pattern: string;
|
|
104
|
+
};
|
|
88
105
|
Annotations: {
|
|
89
106
|
$id: string;
|
|
90
107
|
type: string;
|
|
@@ -115,7 +132,7 @@ declare const schemas: {
|
|
|
115
132
|
children: {
|
|
116
133
|
type: string;
|
|
117
134
|
items: {
|
|
118
|
-
|
|
135
|
+
$ref: string;
|
|
119
136
|
};
|
|
120
137
|
};
|
|
121
138
|
parent: {
|
|
@@ -124,8 +141,7 @@ declare const schemas: {
|
|
|
124
141
|
members: {
|
|
125
142
|
type: string;
|
|
126
143
|
items: {
|
|
127
|
-
|
|
128
|
-
pattern: string;
|
|
144
|
+
$ref: string;
|
|
129
145
|
};
|
|
130
146
|
};
|
|
131
147
|
providers: {
|
|
@@ -188,12 +204,10 @@ declare const schemas: {
|
|
|
188
204
|
type: string;
|
|
189
205
|
properties: {
|
|
190
206
|
system: {
|
|
191
|
-
|
|
192
|
-
pattern: string;
|
|
207
|
+
$ref: string;
|
|
193
208
|
};
|
|
194
209
|
owner: {
|
|
195
|
-
|
|
196
|
-
pattern: string;
|
|
210
|
+
$ref: string;
|
|
197
211
|
};
|
|
198
212
|
maintainedBy: {
|
|
199
213
|
type: string;
|
|
@@ -238,12 +252,8 @@ declare const schemas: {
|
|
|
238
252
|
} | {
|
|
239
253
|
type: string;
|
|
240
254
|
properties: {
|
|
241
|
-
name: {
|
|
242
|
-
type: string;
|
|
243
|
-
};
|
|
244
255
|
domain: {
|
|
245
|
-
|
|
246
|
-
pattern: string;
|
|
256
|
+
$ref: string;
|
|
247
257
|
};
|
|
248
258
|
owner: {
|
|
249
259
|
$ref: string;
|
|
@@ -275,8 +285,7 @@ declare const schemas: {
|
|
|
275
285
|
type: string;
|
|
276
286
|
};
|
|
277
287
|
owner: {
|
|
278
|
-
|
|
279
|
-
pattern: string;
|
|
288
|
+
$ref: string;
|
|
280
289
|
};
|
|
281
290
|
};
|
|
282
291
|
required: string[];
|
|
@@ -304,12 +313,10 @@ declare const schemas: {
|
|
|
304
313
|
type: string;
|
|
305
314
|
};
|
|
306
315
|
system: {
|
|
307
|
-
|
|
308
|
-
pattern: string;
|
|
316
|
+
$ref: string;
|
|
309
317
|
};
|
|
310
318
|
owner: {
|
|
311
|
-
|
|
312
|
-
pattern: string;
|
|
319
|
+
$ref: string;
|
|
313
320
|
};
|
|
314
321
|
providers: {
|
|
315
322
|
type: string;
|
|
@@ -343,8 +350,7 @@ declare const schemas: {
|
|
|
343
350
|
type: string;
|
|
344
351
|
properties: {
|
|
345
352
|
system: {
|
|
346
|
-
|
|
347
|
-
pattern: string;
|
|
353
|
+
$ref: string;
|
|
348
354
|
};
|
|
349
355
|
project: {
|
|
350
356
|
type: string;
|