@firestartr/cli 2.9.0-snapshot-02 → 2.9.0-snapshot-org-variables-section-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 +527 -2841
- package/build/packages/cdk8s_renderer/imports/firestartr.dev.d.ts +262 -0
- package/build/packages/cdk8s_renderer/src/charts/github/index.d.ts +1 -0
- package/build/packages/cdk8s_renderer/src/charts/github/orgVariableSectionChart.d.ts +8 -0
- package/build/packages/cdk8s_renderer/src/charts/index.d.ts +2 -1
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/index.d.ts +46 -0
- package/build/packages/cdk8s_renderer/src/claims/github/index.d.ts +46 -0
- package/build/packages/cdk8s_renderer/src/claims/github/orgSettings.d.ts +6 -0
- package/build/packages/cdk8s_renderer/src/claims/github/orgsettings.schema.d.ts +46 -0
- package/build/packages/cdk8s_renderer/src/renderer/previous-crs-extractor.d.ts +1 -1
- package/build/packages/cdk8s_renderer/src/validations/githubOrgVariableSection.d.ts +4 -0
- package/build/packages/cli/src/subcommands/index.d.ts +0 -2
- package/build/packages/github/index.d.ts +2 -0
- package/build/packages/github/src/repository.d.ts +20 -0
- package/package.json +1 -4
- package/build/packages/cli/src/version.d.ts +0 -3
|
@@ -903,6 +903,268 @@ export declare enum FirestartrGithubOrganizationSettingsSpecContextProviderRefKi
|
|
|
903
903
|
/** FirestartrProviderConfig */
|
|
904
904
|
FIRESTARTR_PROVIDER_CONFIG = "FirestartrProviderConfig"
|
|
905
905
|
}
|
|
906
|
+
/**
|
|
907
|
+
* A resource to handle GitHub Organization Actions Variables.
|
|
908
|
+
*
|
|
909
|
+
* @schema FirestartrGithubOrganizationVariableSection
|
|
910
|
+
*/
|
|
911
|
+
export declare class FirestartrGithubOrganizationVariableSection extends ApiObject {
|
|
912
|
+
/**
|
|
913
|
+
* Returns the apiVersion and kind for "FirestartrGithubOrganizationVariableSection"
|
|
914
|
+
*/
|
|
915
|
+
static readonly GVK: GroupVersionKind;
|
|
916
|
+
/**
|
|
917
|
+
* Renders a Kubernetes manifest for "FirestartrGithubOrganizationVariableSection".
|
|
918
|
+
*
|
|
919
|
+
* This can be used to inline resource manifests inside other objects (e.g. as templates).
|
|
920
|
+
*
|
|
921
|
+
* @param props initialization props
|
|
922
|
+
*/
|
|
923
|
+
static manifest(props: FirestartrGithubOrganizationVariableSectionProps): any;
|
|
924
|
+
/**
|
|
925
|
+
* Defines a "FirestartrGithubOrganizationVariableSection" API object
|
|
926
|
+
* @param scope the scope in which to define this object
|
|
927
|
+
* @param id a scope-local name for the object
|
|
928
|
+
* @param props initialization props
|
|
929
|
+
*/
|
|
930
|
+
constructor(scope: Construct, id: string, props: FirestartrGithubOrganizationVariableSectionProps);
|
|
931
|
+
/**
|
|
932
|
+
* Renders the object to Kubernetes JSON.
|
|
933
|
+
*/
|
|
934
|
+
toJson(): any;
|
|
935
|
+
}
|
|
936
|
+
/**
|
|
937
|
+
* A resource to handle GitHub Organization Actions Variables.
|
|
938
|
+
*
|
|
939
|
+
* @schema FirestartrGithubOrganizationVariableSection
|
|
940
|
+
*/
|
|
941
|
+
export interface FirestartrGithubOrganizationVariableSectionProps {
|
|
942
|
+
/**
|
|
943
|
+
* @schema FirestartrGithubOrganizationVariableSection#metadata
|
|
944
|
+
*/
|
|
945
|
+
readonly metadata: ApiObjectMetadata;
|
|
946
|
+
/**
|
|
947
|
+
* @schema FirestartrGithubOrganizationVariableSection#spec
|
|
948
|
+
*/
|
|
949
|
+
readonly spec: FirestartrGithubOrganizationVariableSectionSpec;
|
|
950
|
+
}
|
|
951
|
+
/**
|
|
952
|
+
* Converts an object of type 'FirestartrGithubOrganizationVariableSectionProps' to JSON representation.
|
|
953
|
+
*/
|
|
954
|
+
export declare function toJson_FirestartrGithubOrganizationVariableSectionProps(obj: FirestartrGithubOrganizationVariableSectionProps | undefined): Record<string, any> | undefined;
|
|
955
|
+
/**
|
|
956
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpec
|
|
957
|
+
*/
|
|
958
|
+
export interface FirestartrGithubOrganizationVariableSectionSpec {
|
|
959
|
+
/**
|
|
960
|
+
* GitHub organization targeted by this resource
|
|
961
|
+
*
|
|
962
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpec#org
|
|
963
|
+
*/
|
|
964
|
+
readonly org: string;
|
|
965
|
+
/**
|
|
966
|
+
* GitHub Actions organization-level variables
|
|
967
|
+
*
|
|
968
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpec#actionsVariables
|
|
969
|
+
*/
|
|
970
|
+
readonly actionsVariables?: FirestartrGithubOrganizationVariableSectionSpecActionsVariables[];
|
|
971
|
+
/**
|
|
972
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpec#context
|
|
973
|
+
*/
|
|
974
|
+
readonly context: FirestartrGithubOrganizationVariableSectionSpecContext;
|
|
975
|
+
/**
|
|
976
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpec#firestartr
|
|
977
|
+
*/
|
|
978
|
+
readonly firestartr: FirestartrGithubOrganizationVariableSectionSpecFirestartr;
|
|
979
|
+
/**
|
|
980
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpec#writeConnectionSecretToRef
|
|
981
|
+
*/
|
|
982
|
+
readonly writeConnectionSecretToRef: FirestartrGithubOrganizationVariableSectionSpecWriteConnectionSecretToRef;
|
|
983
|
+
}
|
|
984
|
+
/**
|
|
985
|
+
* Converts an object of type 'FirestartrGithubOrganizationVariableSectionSpec' to JSON representation.
|
|
986
|
+
*/
|
|
987
|
+
export declare function toJson_FirestartrGithubOrganizationVariableSectionSpec(obj: FirestartrGithubOrganizationVariableSectionSpec | undefined): Record<string, any> | undefined;
|
|
988
|
+
/**
|
|
989
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecActionsVariables
|
|
990
|
+
*/
|
|
991
|
+
export interface FirestartrGithubOrganizationVariableSectionSpecActionsVariables {
|
|
992
|
+
/**
|
|
993
|
+
* Variable name matching GitHub Actions naming rules
|
|
994
|
+
*
|
|
995
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecActionsVariables#name
|
|
996
|
+
*/
|
|
997
|
+
readonly name: string;
|
|
998
|
+
/**
|
|
999
|
+
* Variable value
|
|
1000
|
+
*
|
|
1001
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecActionsVariables#value
|
|
1002
|
+
*/
|
|
1003
|
+
readonly value: string;
|
|
1004
|
+
/**
|
|
1005
|
+
* Visibility of the variable
|
|
1006
|
+
*
|
|
1007
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecActionsVariables#visibility
|
|
1008
|
+
*/
|
|
1009
|
+
readonly visibility: FirestartrGithubOrganizationVariableSectionSpecActionsVariablesVisibility;
|
|
1010
|
+
/**
|
|
1011
|
+
* Repository names in org/repo format
|
|
1012
|
+
*
|
|
1013
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecActionsVariables#selectedRepositories
|
|
1014
|
+
*/
|
|
1015
|
+
readonly selectedRepositories?: string[];
|
|
1016
|
+
}
|
|
1017
|
+
/**
|
|
1018
|
+
* Converts an object of type 'FirestartrGithubOrganizationVariableSectionSpecActionsVariables' to JSON representation.
|
|
1019
|
+
*/
|
|
1020
|
+
export declare function toJson_FirestartrGithubOrganizationVariableSectionSpecActionsVariables(obj: FirestartrGithubOrganizationVariableSectionSpecActionsVariables | undefined): Record<string, any> | undefined;
|
|
1021
|
+
/**
|
|
1022
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecContext
|
|
1023
|
+
*/
|
|
1024
|
+
export interface FirestartrGithubOrganizationVariableSectionSpecContext {
|
|
1025
|
+
/**
|
|
1026
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecContext#backend
|
|
1027
|
+
*/
|
|
1028
|
+
readonly backend: FirestartrGithubOrganizationVariableSectionSpecContextBackend;
|
|
1029
|
+
/**
|
|
1030
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecContext#provider
|
|
1031
|
+
*/
|
|
1032
|
+
readonly provider: FirestartrGithubOrganizationVariableSectionSpecContextProvider;
|
|
1033
|
+
}
|
|
1034
|
+
/**
|
|
1035
|
+
* Converts an object of type 'FirestartrGithubOrganizationVariableSectionSpecContext' to JSON representation.
|
|
1036
|
+
*/
|
|
1037
|
+
export declare function toJson_FirestartrGithubOrganizationVariableSectionSpecContext(obj: FirestartrGithubOrganizationVariableSectionSpecContext | undefined): Record<string, any> | undefined;
|
|
1038
|
+
/**
|
|
1039
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecFirestartr
|
|
1040
|
+
*/
|
|
1041
|
+
export interface FirestartrGithubOrganizationVariableSectionSpecFirestartr {
|
|
1042
|
+
/**
|
|
1043
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecFirestartr#tfStateKey
|
|
1044
|
+
*/
|
|
1045
|
+
readonly tfStateKey: string;
|
|
1046
|
+
}
|
|
1047
|
+
/**
|
|
1048
|
+
* Converts an object of type 'FirestartrGithubOrganizationVariableSectionSpecFirestartr' to JSON representation.
|
|
1049
|
+
*/
|
|
1050
|
+
export declare function toJson_FirestartrGithubOrganizationVariableSectionSpecFirestartr(obj: FirestartrGithubOrganizationVariableSectionSpecFirestartr | undefined): Record<string, any> | undefined;
|
|
1051
|
+
/**
|
|
1052
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecWriteConnectionSecretToRef
|
|
1053
|
+
*/
|
|
1054
|
+
export interface FirestartrGithubOrganizationVariableSectionSpecWriteConnectionSecretToRef {
|
|
1055
|
+
/**
|
|
1056
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecWriteConnectionSecretToRef#name
|
|
1057
|
+
*/
|
|
1058
|
+
readonly name: string;
|
|
1059
|
+
/**
|
|
1060
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecWriteConnectionSecretToRef#outputs
|
|
1061
|
+
*/
|
|
1062
|
+
readonly outputs: FirestartrGithubOrganizationVariableSectionSpecWriteConnectionSecretToRefOutputs[];
|
|
1063
|
+
}
|
|
1064
|
+
/**
|
|
1065
|
+
* Converts an object of type 'FirestartrGithubOrganizationVariableSectionSpecWriteConnectionSecretToRef' to JSON representation.
|
|
1066
|
+
*/
|
|
1067
|
+
export declare function toJson_FirestartrGithubOrganizationVariableSectionSpecWriteConnectionSecretToRef(obj: FirestartrGithubOrganizationVariableSectionSpecWriteConnectionSecretToRef | undefined): Record<string, any> | undefined;
|
|
1068
|
+
/**
|
|
1069
|
+
* Visibility of the variable
|
|
1070
|
+
*
|
|
1071
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecActionsVariablesVisibility
|
|
1072
|
+
*/
|
|
1073
|
+
export declare enum FirestartrGithubOrganizationVariableSectionSpecActionsVariablesVisibility {
|
|
1074
|
+
/** all */
|
|
1075
|
+
ALL = "all",
|
|
1076
|
+
/** private */
|
|
1077
|
+
PRIVATE = "private",
|
|
1078
|
+
/** selected */
|
|
1079
|
+
SELECTED = "selected"
|
|
1080
|
+
}
|
|
1081
|
+
/**
|
|
1082
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecContextBackend
|
|
1083
|
+
*/
|
|
1084
|
+
export interface FirestartrGithubOrganizationVariableSectionSpecContextBackend {
|
|
1085
|
+
/**
|
|
1086
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecContextBackend#ref
|
|
1087
|
+
*/
|
|
1088
|
+
readonly ref: FirestartrGithubOrganizationVariableSectionSpecContextBackendRef;
|
|
1089
|
+
}
|
|
1090
|
+
/**
|
|
1091
|
+
* Converts an object of type 'FirestartrGithubOrganizationVariableSectionSpecContextBackend' to JSON representation.
|
|
1092
|
+
*/
|
|
1093
|
+
export declare function toJson_FirestartrGithubOrganizationVariableSectionSpecContextBackend(obj: FirestartrGithubOrganizationVariableSectionSpecContextBackend | undefined): Record<string, any> | undefined;
|
|
1094
|
+
/**
|
|
1095
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecContextProvider
|
|
1096
|
+
*/
|
|
1097
|
+
export interface FirestartrGithubOrganizationVariableSectionSpecContextProvider {
|
|
1098
|
+
/**
|
|
1099
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecContextProvider#ref
|
|
1100
|
+
*/
|
|
1101
|
+
readonly ref: FirestartrGithubOrganizationVariableSectionSpecContextProviderRef;
|
|
1102
|
+
}
|
|
1103
|
+
/**
|
|
1104
|
+
* Converts an object of type 'FirestartrGithubOrganizationVariableSectionSpecContextProvider' to JSON representation.
|
|
1105
|
+
*/
|
|
1106
|
+
export declare function toJson_FirestartrGithubOrganizationVariableSectionSpecContextProvider(obj: FirestartrGithubOrganizationVariableSectionSpecContextProvider | undefined): Record<string, any> | undefined;
|
|
1107
|
+
/**
|
|
1108
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecWriteConnectionSecretToRefOutputs
|
|
1109
|
+
*/
|
|
1110
|
+
export interface FirestartrGithubOrganizationVariableSectionSpecWriteConnectionSecretToRefOutputs {
|
|
1111
|
+
/**
|
|
1112
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecWriteConnectionSecretToRefOutputs#key
|
|
1113
|
+
*/
|
|
1114
|
+
readonly key: string;
|
|
1115
|
+
}
|
|
1116
|
+
/**
|
|
1117
|
+
* Converts an object of type 'FirestartrGithubOrganizationVariableSectionSpecWriteConnectionSecretToRefOutputs' to JSON representation.
|
|
1118
|
+
*/
|
|
1119
|
+
export declare function toJson_FirestartrGithubOrganizationVariableSectionSpecWriteConnectionSecretToRefOutputs(obj: FirestartrGithubOrganizationVariableSectionSpecWriteConnectionSecretToRefOutputs | undefined): Record<string, any> | undefined;
|
|
1120
|
+
/**
|
|
1121
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecContextBackendRef
|
|
1122
|
+
*/
|
|
1123
|
+
export interface FirestartrGithubOrganizationVariableSectionSpecContextBackendRef {
|
|
1124
|
+
/**
|
|
1125
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecContextBackendRef#kind
|
|
1126
|
+
*/
|
|
1127
|
+
readonly kind: FirestartrGithubOrganizationVariableSectionSpecContextBackendRefKind;
|
|
1128
|
+
/**
|
|
1129
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecContextBackendRef#name
|
|
1130
|
+
*/
|
|
1131
|
+
readonly name: string;
|
|
1132
|
+
}
|
|
1133
|
+
/**
|
|
1134
|
+
* Converts an object of type 'FirestartrGithubOrganizationVariableSectionSpecContextBackendRef' to JSON representation.
|
|
1135
|
+
*/
|
|
1136
|
+
export declare function toJson_FirestartrGithubOrganizationVariableSectionSpecContextBackendRef(obj: FirestartrGithubOrganizationVariableSectionSpecContextBackendRef | undefined): Record<string, any> | undefined;
|
|
1137
|
+
/**
|
|
1138
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecContextProviderRef
|
|
1139
|
+
*/
|
|
1140
|
+
export interface FirestartrGithubOrganizationVariableSectionSpecContextProviderRef {
|
|
1141
|
+
/**
|
|
1142
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecContextProviderRef#kind
|
|
1143
|
+
*/
|
|
1144
|
+
readonly kind: FirestartrGithubOrganizationVariableSectionSpecContextProviderRefKind;
|
|
1145
|
+
/**
|
|
1146
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecContextProviderRef#name
|
|
1147
|
+
*/
|
|
1148
|
+
readonly name: string;
|
|
1149
|
+
}
|
|
1150
|
+
/**
|
|
1151
|
+
* Converts an object of type 'FirestartrGithubOrganizationVariableSectionSpecContextProviderRef' to JSON representation.
|
|
1152
|
+
*/
|
|
1153
|
+
export declare function toJson_FirestartrGithubOrganizationVariableSectionSpecContextProviderRef(obj: FirestartrGithubOrganizationVariableSectionSpecContextProviderRef | undefined): Record<string, any> | undefined;
|
|
1154
|
+
/**
|
|
1155
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecContextBackendRefKind
|
|
1156
|
+
*/
|
|
1157
|
+
export declare enum FirestartrGithubOrganizationVariableSectionSpecContextBackendRefKind {
|
|
1158
|
+
/** FirestartrProviderConfig */
|
|
1159
|
+
FIRESTARTR_PROVIDER_CONFIG = "FirestartrProviderConfig"
|
|
1160
|
+
}
|
|
1161
|
+
/**
|
|
1162
|
+
* @schema FirestartrGithubOrganizationVariableSectionSpecContextProviderRefKind
|
|
1163
|
+
*/
|
|
1164
|
+
export declare enum FirestartrGithubOrganizationVariableSectionSpecContextProviderRefKind {
|
|
1165
|
+
/** FirestartrProviderConfig */
|
|
1166
|
+
FIRESTARTR_PROVIDER_CONFIG = "FirestartrProviderConfig"
|
|
1167
|
+
}
|
|
906
1168
|
/**
|
|
907
1169
|
* A resource to handle GitHub Organization Webhooks
|
|
908
1170
|
*
|
|
@@ -3,3 +3,4 @@ export { GithubMembershipChart } from './membershipChart';
|
|
|
3
3
|
export { GithubRepositoryChart } from './repositoryChart';
|
|
4
4
|
export { GithubOrgWebhookChart } from './orgWebhookChart';
|
|
5
5
|
export { GithubOrgSettingsChart } from './orgSettingsChart';
|
|
6
|
+
export { GithubOrgVariableSectionChart } from './orgVariableSectionChart';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FirestartrGithubOrganizationVariableSection, FirestartrGithubOrganizationVariableSectionProps } from '../../../imports/firestartr.dev';
|
|
2
|
+
import { IUnitializedStateKey } from '../../claims/base';
|
|
3
|
+
import { BaseGithubChart } from './base';
|
|
4
|
+
export declare class GithubOrgVariableSectionChart extends BaseGithubChart {
|
|
5
|
+
template(): FirestartrGithubOrganizationVariableSectionProps | IUnitializedStateKey;
|
|
6
|
+
gvk(): import("cdk8s").GroupVersionKind;
|
|
7
|
+
instanceApiObject(template: any): FirestartrGithubOrganizationVariableSection;
|
|
8
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GithubGroupChart, GithubMembershipChart, GithubRepositoryChart, GithubOrgWebhookChart, GithubOrgSettingsChart } from './github';
|
|
1
|
+
import { GithubGroupChart, GithubMembershipChart, GithubRepositoryChart, GithubOrgWebhookChart, GithubOrgSettingsChart, GithubOrgVariableSectionChart } from './github';
|
|
2
2
|
import { CatalogComponentChart, CatalogDomainChart, CatalogGroupChart, CatalogSystemChart, CatalogUserChart, CatalogTFWorkspaceChart, CatalogArgoDeployChart, CatalogSecretsChart, CatalogOrgWebhookChart, CatalogApiChart } from './catalog';
|
|
3
3
|
import { TFWorkspaceChart } from './workspaces/tfworkspaceChart';
|
|
4
4
|
import { ArgoDeployChart } from './argocd/argodeployChart';
|
|
@@ -22,5 +22,6 @@ declare const _default: {
|
|
|
22
22
|
SecretsChart: typeof SecretsChart;
|
|
23
23
|
GithubOrgWebhookChart: typeof GithubOrgWebhookChart;
|
|
24
24
|
GithubOrgSettingsChart: typeof GithubOrgSettingsChart;
|
|
25
|
+
GithubOrgVariableSectionChart: typeof GithubOrgVariableSectionChart;
|
|
25
26
|
};
|
|
26
27
|
export default _default;
|
|
@@ -974,6 +974,52 @@ declare const schemas: {
|
|
|
974
974
|
secret_scanning_push_protection_enabled_for_new_repositories: {
|
|
975
975
|
type: string;
|
|
976
976
|
};
|
|
977
|
+
actions_variables: {
|
|
978
|
+
type: string;
|
|
979
|
+
items: {
|
|
980
|
+
type: string;
|
|
981
|
+
properties: {
|
|
982
|
+
name: {
|
|
983
|
+
type: string;
|
|
984
|
+
pattern: string;
|
|
985
|
+
};
|
|
986
|
+
value: {
|
|
987
|
+
type: string;
|
|
988
|
+
};
|
|
989
|
+
visibility: {
|
|
990
|
+
type: string;
|
|
991
|
+
enum: string[];
|
|
992
|
+
};
|
|
993
|
+
selected_repositories: {
|
|
994
|
+
type: string;
|
|
995
|
+
items: {
|
|
996
|
+
$ref: string;
|
|
997
|
+
};
|
|
998
|
+
};
|
|
999
|
+
};
|
|
1000
|
+
required: string[];
|
|
1001
|
+
additionalProperties: boolean;
|
|
1002
|
+
allOf: {
|
|
1003
|
+
if: {
|
|
1004
|
+
properties: {
|
|
1005
|
+
visibility: {
|
|
1006
|
+
const: string;
|
|
1007
|
+
};
|
|
1008
|
+
};
|
|
1009
|
+
required: string[];
|
|
1010
|
+
};
|
|
1011
|
+
then: {};
|
|
1012
|
+
else: {
|
|
1013
|
+
properties: {
|
|
1014
|
+
selected_repositories: {
|
|
1015
|
+
type: string;
|
|
1016
|
+
maxItems: number;
|
|
1017
|
+
};
|
|
1018
|
+
};
|
|
1019
|
+
};
|
|
1020
|
+
}[];
|
|
1021
|
+
};
|
|
1022
|
+
};
|
|
977
1023
|
};
|
|
978
1024
|
additionalProperties: boolean;
|
|
979
1025
|
required: string[];
|
|
@@ -505,6 +505,52 @@ export declare const GithubSchemas: ({
|
|
|
505
505
|
secret_scanning_push_protection_enabled_for_new_repositories: {
|
|
506
506
|
type: string;
|
|
507
507
|
};
|
|
508
|
+
actions_variables: {
|
|
509
|
+
type: string;
|
|
510
|
+
items: {
|
|
511
|
+
type: string;
|
|
512
|
+
properties: {
|
|
513
|
+
name: {
|
|
514
|
+
type: string;
|
|
515
|
+
pattern: string;
|
|
516
|
+
};
|
|
517
|
+
value: {
|
|
518
|
+
type: string;
|
|
519
|
+
};
|
|
520
|
+
visibility: {
|
|
521
|
+
type: string;
|
|
522
|
+
enum: string[];
|
|
523
|
+
};
|
|
524
|
+
selected_repositories: {
|
|
525
|
+
type: string;
|
|
526
|
+
items: {
|
|
527
|
+
$ref: string;
|
|
528
|
+
};
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
required: string[];
|
|
532
|
+
additionalProperties: boolean;
|
|
533
|
+
allOf: {
|
|
534
|
+
if: {
|
|
535
|
+
properties: {
|
|
536
|
+
visibility: {
|
|
537
|
+
const: string;
|
|
538
|
+
};
|
|
539
|
+
};
|
|
540
|
+
required: string[];
|
|
541
|
+
};
|
|
542
|
+
then: {};
|
|
543
|
+
else: {
|
|
544
|
+
properties: {
|
|
545
|
+
selected_repositories: {
|
|
546
|
+
type: string;
|
|
547
|
+
maxItems: number;
|
|
548
|
+
};
|
|
549
|
+
};
|
|
550
|
+
};
|
|
551
|
+
}[];
|
|
552
|
+
};
|
|
553
|
+
};
|
|
508
554
|
};
|
|
509
555
|
additionalProperties: boolean;
|
|
510
556
|
required: string[];
|
|
@@ -29,6 +29,12 @@ export interface IGithubOrgSettingsClaim extends IOrgSettingsClaim {
|
|
|
29
29
|
dependency_graph_enabled_for_new_repositories?: boolean;
|
|
30
30
|
secret_scanning_enabled_for_new_repositories?: boolean;
|
|
31
31
|
secret_scanning_push_protection_enabled_for_new_repositories?: boolean;
|
|
32
|
+
actions_variables?: {
|
|
33
|
+
name: string;
|
|
34
|
+
value: string;
|
|
35
|
+
visibility: 'all' | 'private' | 'selected';
|
|
36
|
+
selected_repositories?: string[];
|
|
37
|
+
}[];
|
|
32
38
|
};
|
|
33
39
|
};
|
|
34
40
|
}
|
|
@@ -100,6 +100,52 @@ declare const _default: {
|
|
|
100
100
|
secret_scanning_push_protection_enabled_for_new_repositories: {
|
|
101
101
|
type: string;
|
|
102
102
|
};
|
|
103
|
+
actions_variables: {
|
|
104
|
+
type: string;
|
|
105
|
+
items: {
|
|
106
|
+
type: string;
|
|
107
|
+
properties: {
|
|
108
|
+
name: {
|
|
109
|
+
type: string;
|
|
110
|
+
pattern: string;
|
|
111
|
+
};
|
|
112
|
+
value: {
|
|
113
|
+
type: string;
|
|
114
|
+
};
|
|
115
|
+
visibility: {
|
|
116
|
+
type: string;
|
|
117
|
+
enum: string[];
|
|
118
|
+
};
|
|
119
|
+
selected_repositories: {
|
|
120
|
+
type: string;
|
|
121
|
+
items: {
|
|
122
|
+
$ref: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
required: string[];
|
|
127
|
+
additionalProperties: boolean;
|
|
128
|
+
allOf: {
|
|
129
|
+
if: {
|
|
130
|
+
properties: {
|
|
131
|
+
visibility: {
|
|
132
|
+
const: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
required: string[];
|
|
136
|
+
};
|
|
137
|
+
then: {};
|
|
138
|
+
else: {
|
|
139
|
+
properties: {
|
|
140
|
+
selected_repositories: {
|
|
141
|
+
type: string;
|
|
142
|
+
maxItems: number;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
}[];
|
|
147
|
+
};
|
|
148
|
+
};
|
|
103
149
|
};
|
|
104
150
|
additionalProperties: boolean;
|
|
105
151
|
required: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getPreviousCRfromClaim(claim: any, previousCRs: any): any;
|
|
1
|
+
export declare function getPreviousCRfromClaim(claim: any, previousCRs: any, expectedKind?: string): any;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { RenderClaims, RenderedCrMap } from '../renderer/types';
|
|
2
|
+
export declare function validateGithubOrgVariableSectionSingleton(crs: RenderedCrMap): void;
|
|
3
|
+
export declare function validateActionsVariablesUniqueness(crs: RenderedCrMap): void;
|
|
4
|
+
export declare function validateActionsVariablesSelectedRepositories(renderClaims: RenderClaims): void;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { Subcommand } from '../types';
|
|
2
|
-
import { validateVersionConstraint } from '../version';
|
|
3
|
-
export { validateVersionConstraint };
|
|
4
2
|
export declare function validateAndGetSubcommand(name: string): Subcommand;
|
|
5
3
|
export declare function showSubcommandsHelp(): void;
|
|
6
4
|
export declare function showCliVersion(): void;
|
|
@@ -36,6 +36,8 @@ declare const _default: {
|
|
|
36
36
|
addStatusCheck: typeof import("./src/repository").addStatusCheck;
|
|
37
37
|
addCommitStatus: typeof import("./src/repository").addCommitStatus;
|
|
38
38
|
getRepoIssuesLabels: typeof import("./src/repository").getRepoIssuesLabels;
|
|
39
|
+
createRepoLabel: typeof import("./src/repository").createRepoLabel;
|
|
40
|
+
updateRepoLabel: typeof import("./src/repository").updateRepoLabel;
|
|
39
41
|
isEmptyRepo: typeof import("./src/repository").isEmptyRepo;
|
|
40
42
|
};
|
|
41
43
|
team: {
|
|
@@ -1332,6 +1332,24 @@ export declare function getRepoIssuesLabels(owner: string, repo: string): Promis
|
|
|
1332
1332
|
description: string;
|
|
1333
1333
|
color: string;
|
|
1334
1334
|
}[]>;
|
|
1335
|
+
export declare function createRepoLabel(owner: string, repo: string, name: string, color: string, description?: string): Promise<{
|
|
1336
|
+
id: number;
|
|
1337
|
+
node_id: string;
|
|
1338
|
+
url: string;
|
|
1339
|
+
name: string;
|
|
1340
|
+
description: string;
|
|
1341
|
+
color: string;
|
|
1342
|
+
default: boolean;
|
|
1343
|
+
}>;
|
|
1344
|
+
export declare function updateRepoLabel(owner: string, repo: string, name: string, color: string, description?: string): Promise<{
|
|
1345
|
+
id: number;
|
|
1346
|
+
node_id: string;
|
|
1347
|
+
url: string;
|
|
1348
|
+
name: string;
|
|
1349
|
+
description: string;
|
|
1350
|
+
color: string;
|
|
1351
|
+
default: boolean;
|
|
1352
|
+
}>;
|
|
1335
1353
|
export declare function isEmptyRepo(owner: string, name: string): Promise<boolean>;
|
|
1336
1354
|
declare const _default: {
|
|
1337
1355
|
listReleases: typeof listReleases;
|
|
@@ -1351,6 +1369,8 @@ declare const _default: {
|
|
|
1351
1369
|
addStatusCheck: typeof addStatusCheck;
|
|
1352
1370
|
addCommitStatus: typeof addCommitStatus;
|
|
1353
1371
|
getRepoIssuesLabels: typeof getRepoIssuesLabels;
|
|
1372
|
+
createRepoLabel: typeof createRepoLabel;
|
|
1373
|
+
updateRepoLabel: typeof updateRepoLabel;
|
|
1354
1374
|
isEmptyRepo: typeof isEmptyRepo;
|
|
1355
1375
|
};
|
|
1356
1376
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firestartr/cli",
|
|
3
|
-
"version": "2.9.0-snapshot-
|
|
3
|
+
"version": "2.9.0-snapshot-org-variables-section-2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Commandline tool",
|
|
6
6
|
"main": "build/main.js",
|
|
@@ -22,9 +22,6 @@
|
|
|
22
22
|
},
|
|
23
23
|
"author": "Víctor Rodríguez",
|
|
24
24
|
"license": "ISC",
|
|
25
|
-
"dependencies": {
|
|
26
|
-
"semver": "^7.7.2"
|
|
27
|
-
},
|
|
28
25
|
"devDependencies": {
|
|
29
26
|
"@types/command-line-args": "^5.2.0",
|
|
30
27
|
"catalog_common": "file:../catalog_common",
|