@firestartr/cli 1.54.0-snapshot-0 → 1.54.0-snapshot-1
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 +431 -131
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/common-meta.schema.d.ts +6 -0
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/index.d.ts +77 -34
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/sync-config.schema.d.ts +47 -0
- package/build/packages/cdk8s_renderer/src/claims/github/component.schema.d.ts +6 -0
- package/build/packages/cdk8s_renderer/src/claims/github/group.schema.d.ts +6 -0
- package/build/packages/cdk8s_renderer/src/claims/github/index.d.ts +24 -0
- package/build/packages/cdk8s_renderer/src/claims/github/orgwebhook.schema.d.ts +6 -0
- package/build/packages/cdk8s_renderer/src/claims/github/user.schema.d.ts +6 -0
- package/build/packages/cdk8s_renderer/src/claims/tfworkspaces/index.d.ts +2 -34
- package/build/packages/cdk8s_renderer/src/claims/tfworkspaces/terraform.schema.d.ts +2 -34
- package/build/packages/features_renderer/src/auxiliar.d.ts +0 -2
- package/build/packages/operator/src/utils/index.d.ts +7 -0
- package/build/packages/provisioner/src/resources/resource.d.ts +4 -1
- package/package.json +1 -1
|
@@ -95,6 +95,57 @@ declare const schemas: {
|
|
|
95
95
|
};
|
|
96
96
|
additionalProperties: boolean;
|
|
97
97
|
};
|
|
98
|
+
PolicyType: {
|
|
99
|
+
$id: string;
|
|
100
|
+
type: string;
|
|
101
|
+
description: string;
|
|
102
|
+
enum: string[];
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
} | {
|
|
106
|
+
$id: string;
|
|
107
|
+
definitions: {
|
|
108
|
+
SyncConfig: {
|
|
109
|
+
$id: string;
|
|
110
|
+
type: string;
|
|
111
|
+
description: string;
|
|
112
|
+
properties: {
|
|
113
|
+
enabled: {
|
|
114
|
+
type: string;
|
|
115
|
+
description: string;
|
|
116
|
+
};
|
|
117
|
+
period: {
|
|
118
|
+
type: string;
|
|
119
|
+
pattern: string;
|
|
120
|
+
description: string;
|
|
121
|
+
};
|
|
122
|
+
schedule: {
|
|
123
|
+
type: string;
|
|
124
|
+
description: string;
|
|
125
|
+
};
|
|
126
|
+
schedule_timezone: {
|
|
127
|
+
type: string;
|
|
128
|
+
description: string;
|
|
129
|
+
};
|
|
130
|
+
policy: {
|
|
131
|
+
type: string;
|
|
132
|
+
description: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
additionalProperties: boolean;
|
|
136
|
+
required: string[];
|
|
137
|
+
oneOf: ({
|
|
138
|
+
required: string[];
|
|
139
|
+
not?: undefined;
|
|
140
|
+
} | {
|
|
141
|
+
not: {
|
|
142
|
+
anyOf: {
|
|
143
|
+
required: string[];
|
|
144
|
+
}[];
|
|
145
|
+
};
|
|
146
|
+
required?: undefined;
|
|
147
|
+
})[];
|
|
148
|
+
};
|
|
98
149
|
};
|
|
99
150
|
} | {
|
|
100
151
|
$schema: string;
|
|
@@ -379,6 +430,9 @@ declare const schemas: {
|
|
|
379
430
|
} | {
|
|
380
431
|
type: string;
|
|
381
432
|
properties: {
|
|
433
|
+
policy: {
|
|
434
|
+
$ref: string;
|
|
435
|
+
};
|
|
382
436
|
privacy: {
|
|
383
437
|
type: string;
|
|
384
438
|
enum: string[];
|
|
@@ -389,6 +443,9 @@ declare const schemas: {
|
|
|
389
443
|
org: {
|
|
390
444
|
type: string;
|
|
391
445
|
};
|
|
446
|
+
sync: {
|
|
447
|
+
$ref: string;
|
|
448
|
+
};
|
|
392
449
|
};
|
|
393
450
|
required: string[];
|
|
394
451
|
$ref?: undefined;
|
|
@@ -411,6 +468,9 @@ declare const schemas: {
|
|
|
411
468
|
} | {
|
|
412
469
|
type: string;
|
|
413
470
|
properties: {
|
|
471
|
+
policy: {
|
|
472
|
+
$ref: string;
|
|
473
|
+
};
|
|
414
474
|
role: {
|
|
415
475
|
type: string;
|
|
416
476
|
enum: string[];
|
|
@@ -418,6 +478,9 @@ declare const schemas: {
|
|
|
418
478
|
org: {
|
|
419
479
|
type: string;
|
|
420
480
|
};
|
|
481
|
+
sync: {
|
|
482
|
+
$ref: string;
|
|
483
|
+
};
|
|
421
484
|
};
|
|
422
485
|
required: string[];
|
|
423
486
|
$ref?: undefined;
|
|
@@ -485,6 +548,9 @@ declare const schemas: {
|
|
|
485
548
|
} | {
|
|
486
549
|
type: string;
|
|
487
550
|
properties: {
|
|
551
|
+
policy: {
|
|
552
|
+
$ref: string;
|
|
553
|
+
};
|
|
488
554
|
org: {
|
|
489
555
|
type: string;
|
|
490
556
|
description: string;
|
|
@@ -493,6 +559,9 @@ declare const schemas: {
|
|
|
493
559
|
type: string;
|
|
494
560
|
enum: string[];
|
|
495
561
|
};
|
|
562
|
+
sync: {
|
|
563
|
+
$ref: string;
|
|
564
|
+
};
|
|
496
565
|
features: {
|
|
497
566
|
type: string;
|
|
498
567
|
items: {
|
|
@@ -527,6 +596,9 @@ declare const schemas: {
|
|
|
527
596
|
} | {
|
|
528
597
|
type: string;
|
|
529
598
|
properties: {
|
|
599
|
+
policy: {
|
|
600
|
+
$ref: string;
|
|
601
|
+
};
|
|
530
602
|
orgName: {
|
|
531
603
|
type: string;
|
|
532
604
|
description: string;
|
|
@@ -560,6 +632,9 @@ declare const schemas: {
|
|
|
560
632
|
};
|
|
561
633
|
required: string[];
|
|
562
634
|
};
|
|
635
|
+
sync: {
|
|
636
|
+
$ref: string;
|
|
637
|
+
};
|
|
563
638
|
};
|
|
564
639
|
required: string[];
|
|
565
640
|
$ref?: undefined;
|
|
@@ -664,8 +739,7 @@ declare const schemas: {
|
|
|
664
739
|
type: string;
|
|
665
740
|
properties: {
|
|
666
741
|
policy: {
|
|
667
|
-
|
|
668
|
-
enum: string[];
|
|
742
|
+
$ref: string;
|
|
669
743
|
};
|
|
670
744
|
name: {
|
|
671
745
|
type: string;
|
|
@@ -675,38 +749,7 @@ declare const schemas: {
|
|
|
675
749
|
enum: string[];
|
|
676
750
|
};
|
|
677
751
|
sync: {
|
|
678
|
-
|
|
679
|
-
properties: {
|
|
680
|
-
enabled: {
|
|
681
|
-
type: string;
|
|
682
|
-
};
|
|
683
|
-
period: {
|
|
684
|
-
type: string;
|
|
685
|
-
pattern: string;
|
|
686
|
-
};
|
|
687
|
-
schedule: {
|
|
688
|
-
type: string;
|
|
689
|
-
};
|
|
690
|
-
schedule_timezone: {
|
|
691
|
-
type: string;
|
|
692
|
-
};
|
|
693
|
-
policy: {
|
|
694
|
-
type: string;
|
|
695
|
-
};
|
|
696
|
-
};
|
|
697
|
-
additionalProperties: boolean;
|
|
698
|
-
required: string[];
|
|
699
|
-
oneOf: ({
|
|
700
|
-
required: string[];
|
|
701
|
-
not?: undefined;
|
|
702
|
-
} | {
|
|
703
|
-
not: {
|
|
704
|
-
anyOf: {
|
|
705
|
-
required: string[];
|
|
706
|
-
}[];
|
|
707
|
-
};
|
|
708
|
-
required?: undefined;
|
|
709
|
-
})[];
|
|
752
|
+
$ref: string;
|
|
710
753
|
};
|
|
711
754
|
valuesSchema: {
|
|
712
755
|
type: string;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
$id: string;
|
|
3
|
+
definitions: {
|
|
4
|
+
SyncConfig: {
|
|
5
|
+
$id: string;
|
|
6
|
+
type: string;
|
|
7
|
+
description: string;
|
|
8
|
+
properties: {
|
|
9
|
+
enabled: {
|
|
10
|
+
type: string;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
period: {
|
|
14
|
+
type: string;
|
|
15
|
+
pattern: string;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
schedule: {
|
|
19
|
+
type: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
schedule_timezone: {
|
|
23
|
+
type: string;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
policy: {
|
|
27
|
+
type: string;
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
additionalProperties: boolean;
|
|
32
|
+
required: string[];
|
|
33
|
+
oneOf: ({
|
|
34
|
+
required: string[];
|
|
35
|
+
not?: undefined;
|
|
36
|
+
} | {
|
|
37
|
+
not: {
|
|
38
|
+
anyOf: {
|
|
39
|
+
required: string[];
|
|
40
|
+
}[];
|
|
41
|
+
};
|
|
42
|
+
required?: undefined;
|
|
43
|
+
})[];
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export default _default;
|
|
@@ -15,6 +15,9 @@ declare const _default: {
|
|
|
15
15
|
} | {
|
|
16
16
|
type: string;
|
|
17
17
|
properties: {
|
|
18
|
+
policy: {
|
|
19
|
+
$ref: string;
|
|
20
|
+
};
|
|
18
21
|
org: {
|
|
19
22
|
type: string;
|
|
20
23
|
description: string;
|
|
@@ -23,6 +26,9 @@ declare const _default: {
|
|
|
23
26
|
type: string;
|
|
24
27
|
enum: string[];
|
|
25
28
|
};
|
|
29
|
+
sync: {
|
|
30
|
+
$ref: string;
|
|
31
|
+
};
|
|
26
32
|
features: {
|
|
27
33
|
type: string;
|
|
28
34
|
items: {
|
|
@@ -14,6 +14,9 @@ declare const _default: {
|
|
|
14
14
|
} | {
|
|
15
15
|
type: string;
|
|
16
16
|
properties: {
|
|
17
|
+
policy: {
|
|
18
|
+
$ref: string;
|
|
19
|
+
};
|
|
17
20
|
privacy: {
|
|
18
21
|
type: string;
|
|
19
22
|
enum: string[];
|
|
@@ -24,6 +27,9 @@ declare const _default: {
|
|
|
24
27
|
org: {
|
|
25
28
|
type: string;
|
|
26
29
|
};
|
|
30
|
+
sync: {
|
|
31
|
+
$ref: string;
|
|
32
|
+
};
|
|
27
33
|
};
|
|
28
34
|
required: string[];
|
|
29
35
|
$ref?: undefined;
|
|
@@ -14,6 +14,9 @@ export declare const GithubSchemas: ({
|
|
|
14
14
|
} | {
|
|
15
15
|
type: string;
|
|
16
16
|
properties: {
|
|
17
|
+
policy: {
|
|
18
|
+
$ref: string;
|
|
19
|
+
};
|
|
17
20
|
privacy: {
|
|
18
21
|
type: string;
|
|
19
22
|
enum: string[];
|
|
@@ -24,6 +27,9 @@ export declare const GithubSchemas: ({
|
|
|
24
27
|
org: {
|
|
25
28
|
type: string;
|
|
26
29
|
};
|
|
30
|
+
sync: {
|
|
31
|
+
$ref: string;
|
|
32
|
+
};
|
|
27
33
|
};
|
|
28
34
|
required: string[];
|
|
29
35
|
$ref?: undefined;
|
|
@@ -46,6 +52,9 @@ export declare const GithubSchemas: ({
|
|
|
46
52
|
} | {
|
|
47
53
|
type: string;
|
|
48
54
|
properties: {
|
|
55
|
+
policy: {
|
|
56
|
+
$ref: string;
|
|
57
|
+
};
|
|
49
58
|
role: {
|
|
50
59
|
type: string;
|
|
51
60
|
enum: string[];
|
|
@@ -53,6 +62,9 @@ export declare const GithubSchemas: ({
|
|
|
53
62
|
org: {
|
|
54
63
|
type: string;
|
|
55
64
|
};
|
|
65
|
+
sync: {
|
|
66
|
+
$ref: string;
|
|
67
|
+
};
|
|
56
68
|
};
|
|
57
69
|
required: string[];
|
|
58
70
|
$ref?: undefined;
|
|
@@ -120,6 +132,9 @@ export declare const GithubSchemas: ({
|
|
|
120
132
|
} | {
|
|
121
133
|
type: string;
|
|
122
134
|
properties: {
|
|
135
|
+
policy: {
|
|
136
|
+
$ref: string;
|
|
137
|
+
};
|
|
123
138
|
org: {
|
|
124
139
|
type: string;
|
|
125
140
|
description: string;
|
|
@@ -128,6 +143,9 @@ export declare const GithubSchemas: ({
|
|
|
128
143
|
type: string;
|
|
129
144
|
enum: string[];
|
|
130
145
|
};
|
|
146
|
+
sync: {
|
|
147
|
+
$ref: string;
|
|
148
|
+
};
|
|
131
149
|
features: {
|
|
132
150
|
type: string;
|
|
133
151
|
items: {
|
|
@@ -162,6 +180,9 @@ export declare const GithubSchemas: ({
|
|
|
162
180
|
} | {
|
|
163
181
|
type: string;
|
|
164
182
|
properties: {
|
|
183
|
+
policy: {
|
|
184
|
+
$ref: string;
|
|
185
|
+
};
|
|
165
186
|
orgName: {
|
|
166
187
|
type: string;
|
|
167
188
|
description: string;
|
|
@@ -195,6 +216,9 @@ export declare const GithubSchemas: ({
|
|
|
195
216
|
};
|
|
196
217
|
required: string[];
|
|
197
218
|
};
|
|
219
|
+
sync: {
|
|
220
|
+
$ref: string;
|
|
221
|
+
};
|
|
198
222
|
};
|
|
199
223
|
required: string[];
|
|
200
224
|
$ref?: undefined;
|
|
@@ -14,6 +14,9 @@ declare const _default: {
|
|
|
14
14
|
} | {
|
|
15
15
|
type: string;
|
|
16
16
|
properties: {
|
|
17
|
+
policy: {
|
|
18
|
+
$ref: string;
|
|
19
|
+
};
|
|
17
20
|
orgName: {
|
|
18
21
|
type: string;
|
|
19
22
|
description: string;
|
|
@@ -47,6 +50,9 @@ declare const _default: {
|
|
|
47
50
|
};
|
|
48
51
|
required: string[];
|
|
49
52
|
};
|
|
53
|
+
sync: {
|
|
54
|
+
$ref: string;
|
|
55
|
+
};
|
|
50
56
|
};
|
|
51
57
|
required: string[];
|
|
52
58
|
$ref?: undefined;
|
|
@@ -14,6 +14,9 @@ declare const _default: {
|
|
|
14
14
|
} | {
|
|
15
15
|
type: string;
|
|
16
16
|
properties: {
|
|
17
|
+
policy: {
|
|
18
|
+
$ref: string;
|
|
19
|
+
};
|
|
17
20
|
role: {
|
|
18
21
|
type: string;
|
|
19
22
|
enum: string[];
|
|
@@ -21,6 +24,9 @@ declare const _default: {
|
|
|
21
24
|
org: {
|
|
22
25
|
type: string;
|
|
23
26
|
};
|
|
27
|
+
sync: {
|
|
28
|
+
$ref: string;
|
|
29
|
+
};
|
|
24
30
|
};
|
|
25
31
|
required: string[];
|
|
26
32
|
$ref?: undefined;
|
|
@@ -14,8 +14,7 @@ export declare const TerraformSchemas: {
|
|
|
14
14
|
type: string;
|
|
15
15
|
properties: {
|
|
16
16
|
policy: {
|
|
17
|
-
|
|
18
|
-
enum: string[];
|
|
17
|
+
$ref: string;
|
|
19
18
|
};
|
|
20
19
|
name: {
|
|
21
20
|
type: string;
|
|
@@ -25,38 +24,7 @@ export declare const TerraformSchemas: {
|
|
|
25
24
|
enum: string[];
|
|
26
25
|
};
|
|
27
26
|
sync: {
|
|
28
|
-
|
|
29
|
-
properties: {
|
|
30
|
-
enabled: {
|
|
31
|
-
type: string;
|
|
32
|
-
};
|
|
33
|
-
period: {
|
|
34
|
-
type: string;
|
|
35
|
-
pattern: string;
|
|
36
|
-
};
|
|
37
|
-
schedule: {
|
|
38
|
-
type: string;
|
|
39
|
-
};
|
|
40
|
-
schedule_timezone: {
|
|
41
|
-
type: string;
|
|
42
|
-
};
|
|
43
|
-
policy: {
|
|
44
|
-
type: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
additionalProperties: boolean;
|
|
48
|
-
required: string[];
|
|
49
|
-
oneOf: ({
|
|
50
|
-
required: string[];
|
|
51
|
-
not?: undefined;
|
|
52
|
-
} | {
|
|
53
|
-
not: {
|
|
54
|
-
anyOf: {
|
|
55
|
-
required: string[];
|
|
56
|
-
}[];
|
|
57
|
-
};
|
|
58
|
-
required?: undefined;
|
|
59
|
-
})[];
|
|
27
|
+
$ref: string;
|
|
60
28
|
};
|
|
61
29
|
valuesSchema: {
|
|
62
30
|
type: string;
|
|
@@ -14,8 +14,7 @@ declare const _default: {
|
|
|
14
14
|
type: string;
|
|
15
15
|
properties: {
|
|
16
16
|
policy: {
|
|
17
|
-
|
|
18
|
-
enum: string[];
|
|
17
|
+
$ref: string;
|
|
19
18
|
};
|
|
20
19
|
name: {
|
|
21
20
|
type: string;
|
|
@@ -25,38 +24,7 @@ declare const _default: {
|
|
|
25
24
|
enum: string[];
|
|
26
25
|
};
|
|
27
26
|
sync: {
|
|
28
|
-
|
|
29
|
-
properties: {
|
|
30
|
-
enabled: {
|
|
31
|
-
type: string;
|
|
32
|
-
};
|
|
33
|
-
period: {
|
|
34
|
-
type: string;
|
|
35
|
-
pattern: string;
|
|
36
|
-
};
|
|
37
|
-
schedule: {
|
|
38
|
-
type: string;
|
|
39
|
-
};
|
|
40
|
-
schedule_timezone: {
|
|
41
|
-
type: string;
|
|
42
|
-
};
|
|
43
|
-
policy: {
|
|
44
|
-
type: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
additionalProperties: boolean;
|
|
48
|
-
required: string[];
|
|
49
|
-
oneOf: ({
|
|
50
|
-
required: string[];
|
|
51
|
-
not?: undefined;
|
|
52
|
-
} | {
|
|
53
|
-
not: {
|
|
54
|
-
anyOf: {
|
|
55
|
-
required: string[];
|
|
56
|
-
}[];
|
|
57
|
-
};
|
|
58
|
-
required?: undefined;
|
|
59
|
-
})[];
|
|
27
|
+
$ref: string;
|
|
60
28
|
};
|
|
61
29
|
valuesSchema: {
|
|
62
30
|
type: string;
|
|
@@ -5,7 +5,6 @@ export interface ConfigFile {
|
|
|
5
5
|
dest: string;
|
|
6
6
|
src: string;
|
|
7
7
|
user_managed: boolean;
|
|
8
|
-
target_branch: string;
|
|
9
8
|
}
|
|
10
9
|
export interface FeatureConfig {
|
|
11
10
|
files?: ConfigFile[];
|
|
@@ -15,7 +14,6 @@ export interface ExpectedFile {
|
|
|
15
14
|
localPath: string;
|
|
16
15
|
repoPath: string;
|
|
17
16
|
userManaged: boolean;
|
|
18
|
-
targetBranch: string;
|
|
19
17
|
}
|
|
20
18
|
export interface ExpectedOutput {
|
|
21
19
|
files: ExpectedFile[];
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
export declare function replaceConfigSecrets(config: any, secrets: any): any;
|
|
2
2
|
export declare function replaceInlineSecrets(inline: string, secrets: any): string;
|
|
3
|
+
/**
|
|
4
|
+
* Retrieves a policy annotation value from a custom resource
|
|
5
|
+
* @param item - The CR to get the policy from
|
|
6
|
+
* @param annotation - The annotation key to retrieve
|
|
7
|
+
* @returns The policy value, or undefined if not set
|
|
8
|
+
*/
|
|
9
|
+
export declare function getPolicy(item: any, annotation: string): string | undefined;
|
|
@@ -14,10 +14,13 @@ export declare class Resource {
|
|
|
14
14
|
onTFStreaming(): Promise<void>;
|
|
15
15
|
setLogStream(fnData: Function, fnEnd: Function, reopen?: boolean): void;
|
|
16
16
|
constructor(mainCR: any, operation: string, deps?: any[]);
|
|
17
|
-
run(
|
|
17
|
+
run(options?: {
|
|
18
|
+
planOnly?: boolean;
|
|
19
|
+
}): Promise<void>;
|
|
18
20
|
artifact(): any;
|
|
19
21
|
synth(): Promise<void>;
|
|
20
22
|
log(msg: string): void;
|
|
23
|
+
runTerraformPlanOnly(): Promise<void>;
|
|
21
24
|
runTerraform(): Promise<void>;
|
|
22
25
|
preprocess(): Promise<void>;
|
|
23
26
|
postprocess(): Promise<void>;
|