@firestartr/cli 1.51.1-snapshot-03 → 1.51.1-snapshot-04
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 +11 -6
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -365469,11 +365469,16 @@ class GroupGithubDecanter extends GithubDecanter {
|
|
|
365469
365469
|
});
|
|
365470
365470
|
}
|
|
365471
365471
|
__decantMembers() {
|
|
365472
|
-
this.
|
|
365473
|
-
|
|
365474
|
-
|
|
365475
|
-
|
|
365476
|
-
|
|
365472
|
+
if (this.data.groupDetails.name.includes(`${this.org}-all`)) {
|
|
365473
|
+
importer_src_logger.debug(`Skipping adding members for virtual ${this.data.groupDetails.name} group`);
|
|
365474
|
+
}
|
|
365475
|
+
else {
|
|
365476
|
+
this.__patchClaim({
|
|
365477
|
+
op: 'add',
|
|
365478
|
+
value: this.data.members.map((member) => `user:${member.name}`),
|
|
365479
|
+
path: '/members',
|
|
365480
|
+
});
|
|
365481
|
+
}
|
|
365477
365482
|
}
|
|
365478
365483
|
__decantProviders() {
|
|
365479
365484
|
this.__patchClaim({
|
|
@@ -366166,7 +366171,7 @@ async function moveCRsAndClaims(crs, org, claimsPath, resourcesPath) {
|
|
|
366166
366171
|
const failedImportedResources = [];
|
|
366167
366172
|
for (const k of Object.keys(crs)) {
|
|
366168
366173
|
if (crs[k].kind === 'FirestartrGithubGroup' &&
|
|
366169
|
-
crs[k].metadata.name
|
|
366174
|
+
crs[k].metadata.name === `${org}-all`) {
|
|
366170
366175
|
importer_src_logger.info(`⚡ SKIP IMPORT: CR is the all group, skipping import with kind: ${crs[k].kind} and name: ${crs[k].metadata.name}`);
|
|
366171
366176
|
continue;
|
|
366172
366177
|
}
|