@firestartr/cli 1.45.0-snapshot-5 → 1.45.0-snapshot-7
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 +18 -22
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/component.schema.d.ts +4 -0
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/index.d.ts +13 -0
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/system.schema.d.ts +5 -0
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/tfworkspace.schema.d.ts +4 -0
- package/build/packages/github/src/branches.d.ts +4 -4
- package/package.json +1 -1
package/build/index.js
CHANGED
@@ -272541,6 +272541,10 @@ class FirestartrAllClaim {
|
|
272541
272541
|
{
|
272542
272542
|
type: 'object',
|
272543
272543
|
properties: {
|
272544
|
+
system: {
|
272545
|
+
type: 'string',
|
272546
|
+
pattern: '^system:.+$',
|
272547
|
+
},
|
272544
272548
|
providers: {
|
272545
272549
|
type: 'object',
|
272546
272550
|
properties: {
|
@@ -272575,6 +272579,10 @@ class FirestartrAllClaim {
|
|
272575
272579
|
type: 'string',
|
272576
272580
|
},
|
272577
272581
|
},
|
272582
|
+
domain: {
|
272583
|
+
type: 'string',
|
272584
|
+
pattern: '^domain:.+$',
|
272585
|
+
},
|
272578
272586
|
required: ['name'],
|
272579
272587
|
additionalProperties: true,
|
272580
272588
|
},
|
@@ -272629,6 +272637,10 @@ class FirestartrAllClaim {
|
|
272629
272637
|
resourceType: {
|
272630
272638
|
type: 'string',
|
272631
272639
|
},
|
272640
|
+
system: {
|
272641
|
+
type: 'string',
|
272642
|
+
pattern: '^system:.+$',
|
272643
|
+
},
|
272632
272644
|
providers: {
|
272633
272645
|
type: 'object',
|
272634
272646
|
properties: {
|
@@ -273936,11 +273948,13 @@ async function getClaimsByName(name, cwd = '.') {
|
|
273936
273948
|
cwd: cwd,
|
273937
273949
|
});
|
273938
273950
|
const entradas = [];
|
273951
|
+
const chunks = [];
|
273939
273952
|
handler.stdout.on('data', (data) => {
|
273940
|
-
|
273941
|
-
|
273942
|
-
|
273943
|
-
|
273953
|
+
chunks.push(data.toString('utf-8'));
|
273954
|
+
});
|
273955
|
+
handler.on('close', () => {
|
273956
|
+
const dataFinal = chunks.join('');
|
273957
|
+
const fileNameList = dataFinal.split(/\n/).filter((line) => line !== '');
|
273944
273958
|
for (const fileName of fileNameList) {
|
273945
273959
|
// only yaml files
|
273946
273960
|
if (!fileName.match(/\.yml$|\.yaml$/)) {
|
@@ -273952,8 +273966,6 @@ async function getClaimsByName(name, cwd = '.') {
|
|
273952
273966
|
}
|
273953
273967
|
entradas.push(external_path_.join(cwd, fileName));
|
273954
273968
|
}
|
273955
|
-
});
|
273956
|
-
handler.on('close', () => {
|
273957
273969
|
return Promise.all(entradas.map((entrada) => {
|
273958
273970
|
return loadRawClaim(entrada);
|
273959
273971
|
}))
|
@@ -279909,8 +279921,6 @@ async function addLastStateAndLastClaimAnnotations(filePath, lastStatePRLink, la
|
|
279909
279921
|
|
279910
279922
|
|
279911
279923
|
|
279912
|
-
|
279913
|
-
const cdk8s_renderer_log = src_default()('firestartr:run:renderer');
|
279914
279924
|
/* harmony default export */ const cdk8s_renderer = ({
|
279915
279925
|
renderFromImports: renderFromImports,
|
279916
279926
|
render: renderer_render,
|
@@ -279943,20 +279953,6 @@ const cdk8s_renderer_log = src_default()('firestartr:run:renderer');
|
|
279943
279953
|
*
|
279944
279954
|
*/
|
279945
279955
|
async function runRenderer(globalsPath, initializersPath, claimsPath, crsPath, claimsDefaults, outputCatalogDir, outputCrDir, renamesEnabled, provider, excludedPaths = [], validateReferentialIntegrity, claimRefs = '') {
|
279946
|
-
cdk8s_renderer_log(`Running renderer:
|
279947
|
-
------------------------------------------------------------
|
279948
|
-
- globalsPath: ${globalsPath}
|
279949
|
-
- initializersPath: ${initializersPath}
|
279950
|
-
- claimsPath: ${claimsPath}
|
279951
|
-
- crsPath: ${crsPath}
|
279952
|
-
- claimsDefaults: ${claimsDefaults}
|
279953
|
-
- renamesEnabled: ${renamesEnabled ? 'yes' : 'no'}
|
279954
|
-
- provider: ${provider}
|
279955
|
-
- excludedPaths: ${excludedPaths}
|
279956
|
-
- claimRefs: ${claimRefs}
|
279957
|
-
------------------------------------------------------------
|
279958
|
-
|
279959
|
-
`);
|
279960
279956
|
configureProvider(provider);
|
279961
279957
|
setPath('initializers', initializersPath);
|
279962
279958
|
setPath('crs', crsPath);
|
@@ -146,6 +146,10 @@ declare const schemas: {
|
|
146
146
|
} | {
|
147
147
|
type: string;
|
148
148
|
properties: {
|
149
|
+
system: {
|
150
|
+
type: string;
|
151
|
+
pattern: string;
|
152
|
+
};
|
149
153
|
providers: {
|
150
154
|
type: string;
|
151
155
|
properties: {
|
@@ -172,6 +176,7 @@ declare const schemas: {
|
|
172
176
|
$ref: string;
|
173
177
|
type?: undefined;
|
174
178
|
properties?: undefined;
|
179
|
+
domain?: undefined;
|
175
180
|
required?: undefined;
|
176
181
|
additionalProperties?: undefined;
|
177
182
|
} | {
|
@@ -181,6 +186,10 @@ declare const schemas: {
|
|
181
186
|
type: string;
|
182
187
|
};
|
183
188
|
};
|
189
|
+
domain: {
|
190
|
+
type: string;
|
191
|
+
pattern: string;
|
192
|
+
};
|
184
193
|
required: string[];
|
185
194
|
additionalProperties: boolean;
|
186
195
|
$ref?: undefined;
|
@@ -236,6 +245,10 @@ declare const schemas: {
|
|
236
245
|
resourceType: {
|
237
246
|
type: string;
|
238
247
|
};
|
248
|
+
system: {
|
249
|
+
type: string;
|
250
|
+
pattern: string;
|
251
|
+
};
|
239
252
|
providers: {
|
240
253
|
type: string;
|
241
254
|
properties: {
|
@@ -10,6 +10,7 @@ declare const _default: {
|
|
10
10
|
$ref: string;
|
11
11
|
type?: undefined;
|
12
12
|
properties?: undefined;
|
13
|
+
domain?: undefined;
|
13
14
|
required?: undefined;
|
14
15
|
additionalProperties?: undefined;
|
15
16
|
} | {
|
@@ -19,6 +20,10 @@ declare const _default: {
|
|
19
20
|
type: string;
|
20
21
|
};
|
21
22
|
};
|
23
|
+
domain: {
|
24
|
+
type: string;
|
25
|
+
pattern: string;
|
26
|
+
};
|
22
27
|
required: string[];
|
23
28
|
additionalProperties: boolean;
|
24
29
|
$ref?: undefined;
|
@@ -428,7 +428,7 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
|
|
428
428
|
verified_at: string;
|
429
429
|
};
|
430
430
|
};
|
431
|
-
author:
|
431
|
+
author: {
|
432
432
|
name?: string;
|
433
433
|
email?: string;
|
434
434
|
login: string;
|
@@ -451,8 +451,8 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
|
|
451
451
|
site_admin: boolean;
|
452
452
|
starred_at?: string;
|
453
453
|
user_view_type?: string;
|
454
|
-
}
|
455
|
-
committer:
|
454
|
+
} | Record<string, never>;
|
455
|
+
committer: {
|
456
456
|
name?: string;
|
457
457
|
email?: string;
|
458
458
|
login: string;
|
@@ -475,7 +475,7 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
|
|
475
475
|
site_admin: boolean;
|
476
476
|
starred_at?: string;
|
477
477
|
user_view_type?: string;
|
478
|
-
}
|
478
|
+
} | Record<string, never>;
|
479
479
|
parents: {
|
480
480
|
sha: string;
|
481
481
|
url: string;
|