projen-pipelines 0.3.23 → 0.3.25

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/.jsii CHANGED
@@ -945,7 +945,7 @@
945
945
  },
946
946
  "locationInModule": {
947
947
  "filename": "src/awscdk/base.ts",
948
- "line": 262
948
+ "line": 272
949
949
  },
950
950
  "parameters": [
951
951
  {
@@ -965,7 +965,7 @@
965
965
  "kind": "class",
966
966
  "locationInModule": {
967
967
  "filename": "src/awscdk/base.ts",
968
- "line": 249
968
+ "line": 259
969
969
  },
970
970
  "methods": [
971
971
  {
@@ -975,7 +975,7 @@
975
975
  },
976
976
  "locationInModule": {
977
977
  "filename": "src/awscdk/base.ts",
978
- "line": 504
978
+ "line": 513
979
979
  },
980
980
  "name": "createApplicationEntrypoint",
981
981
  "protected": true
@@ -987,7 +987,7 @@
987
987
  },
988
988
  "locationInModule": {
989
989
  "filename": "src/awscdk/base.ts",
990
- "line": 710
990
+ "line": 722
991
991
  },
992
992
  "name": "createFeatureStage",
993
993
  "protected": true
@@ -999,7 +999,7 @@
999
999
  },
1000
1000
  "locationInModule": {
1001
1001
  "filename": "src/awscdk/base.ts",
1002
- "line": 759
1002
+ "line": 771
1003
1003
  },
1004
1004
  "name": "createIndependentStage",
1005
1005
  "parameters": [
@@ -1022,7 +1022,7 @@
1022
1022
  },
1023
1023
  "locationInModule": {
1024
1024
  "filename": "src/awscdk/base.ts",
1025
- "line": 687
1025
+ "line": 699
1026
1026
  },
1027
1027
  "name": "createPersonalStage",
1028
1028
  "protected": true
@@ -1034,7 +1034,7 @@
1034
1034
  },
1035
1035
  "locationInModule": {
1036
1036
  "filename": "src/awscdk/base.ts",
1037
- "line": 733
1037
+ "line": 745
1038
1038
  },
1039
1039
  "name": "createPipelineStage",
1040
1040
  "parameters": [
@@ -1057,7 +1057,7 @@
1057
1057
  },
1058
1058
  "locationInModule": {
1059
1059
  "filename": "src/awscdk/base.ts",
1060
- "line": 632
1060
+ "line": 641
1061
1061
  },
1062
1062
  "name": "createReleaseTasks",
1063
1063
  "protected": true
@@ -1068,7 +1068,7 @@
1068
1068
  },
1069
1069
  "locationInModule": {
1070
1070
  "filename": "src/awscdk/base.ts",
1071
- "line": 490
1071
+ "line": 499
1072
1072
  },
1073
1073
  "name": "createSafeStageName",
1074
1074
  "parameters": [
@@ -1093,7 +1093,7 @@
1093
1093
  },
1094
1094
  "locationInModule": {
1095
1095
  "filename": "src/awscdk/base.ts",
1096
- "line": 792
1096
+ "line": 804
1097
1097
  },
1098
1098
  "name": "createVersionFetchTask",
1099
1099
  "parameters": [
@@ -1113,7 +1113,7 @@
1113
1113
  },
1114
1114
  "locationInModule": {
1115
1115
  "filename": "src/awscdk/base.ts",
1116
- "line": 324
1116
+ "line": 333
1117
1117
  },
1118
1118
  "name": "engineType",
1119
1119
  "returns": {
@@ -1129,7 +1129,7 @@
1129
1129
  },
1130
1130
  "locationInModule": {
1131
1131
  "filename": "src/awscdk/base.ts",
1132
- "line": 838
1132
+ "line": 850
1133
1133
  },
1134
1134
  "name": "generateVersioningAppCode",
1135
1135
  "parameters": [
@@ -1153,7 +1153,7 @@
1153
1153
  },
1154
1154
  "locationInModule": {
1155
1155
  "filename": "src/awscdk/base.ts",
1156
- "line": 852
1156
+ "line": 864
1157
1157
  },
1158
1158
  "name": "generateVersioningImports",
1159
1159
  "returns": {
@@ -1169,7 +1169,7 @@
1169
1169
  },
1170
1170
  "locationInModule": {
1171
1171
  "filename": "src/awscdk/base.ts",
1172
- "line": 865
1172
+ "line": 877
1173
1173
  },
1174
1174
  "name": "generateVersioningUtilities",
1175
1175
  "returns": {
@@ -1184,7 +1184,7 @@
1184
1184
  },
1185
1185
  "locationInModule": {
1186
1186
  "filename": "src/awscdk/base.ts",
1187
- "line": 781
1187
+ "line": 793
1188
1188
  },
1189
1189
  "name": "getCliStackPattern",
1190
1190
  "parameters": [
@@ -1208,7 +1208,7 @@
1208
1208
  },
1209
1209
  "locationInModule": {
1210
1210
  "filename": "src/awscdk/base.ts",
1211
- "line": 432
1211
+ "line": 441
1212
1212
  },
1213
1213
  "name": "provideAssemblyUploadStep",
1214
1214
  "protected": true,
@@ -1224,7 +1224,7 @@
1224
1224
  },
1225
1225
  "locationInModule": {
1226
1226
  "filename": "src/awscdk/base.ts",
1227
- "line": 398
1227
+ "line": 407
1228
1228
  },
1229
1229
  "name": "provideAssetUploadStep",
1230
1230
  "parameters": [
@@ -1249,7 +1249,7 @@
1249
1249
  },
1250
1250
  "locationInModule": {
1251
1251
  "filename": "src/awscdk/base.ts",
1252
- "line": 442
1252
+ "line": 451
1253
1253
  },
1254
1254
  "name": "provideDeployStep",
1255
1255
  "parameters": [
@@ -1273,7 +1273,7 @@
1273
1273
  },
1274
1274
  "locationInModule": {
1275
1275
  "filename": "src/awscdk/base.ts",
1276
- "line": 454
1276
+ "line": 463
1277
1277
  },
1278
1278
  "name": "provideDiffStep",
1279
1279
  "parameters": [
@@ -1304,7 +1304,7 @@
1304
1304
  },
1305
1305
  "locationInModule": {
1306
1306
  "filename": "src/awscdk/base.ts",
1307
- "line": 326
1307
+ "line": 335
1308
1308
  },
1309
1309
  "name": "provideInstallStep",
1310
1310
  "protected": true,
@@ -1320,7 +1320,7 @@
1320
1320
  },
1321
1321
  "locationInModule": {
1322
1322
  "filename": "src/awscdk/base.ts",
1323
- "line": 348
1323
+ "line": 357
1324
1324
  },
1325
1325
  "name": "provideSynthStep",
1326
1326
  "protected": true,
@@ -1336,7 +1336,7 @@
1336
1336
  },
1337
1337
  "locationInModule": {
1338
1338
  "filename": "src/awscdk/base.ts",
1339
- "line": 468
1339
+ "line": 477
1340
1340
  },
1341
1341
  "name": "renderInstallPackageCommands",
1342
1342
  "parameters": [
@@ -1376,7 +1376,7 @@
1376
1376
  "immutable": true,
1377
1377
  "locationInModule": {
1378
1378
  "filename": "src/awscdk/base.ts",
1379
- "line": 251
1379
+ "line": 261
1380
1380
  },
1381
1381
  "name": "branchName",
1382
1382
  "type": {
@@ -1391,7 +1391,7 @@
1391
1391
  "immutable": true,
1392
1392
  "locationInModule": {
1393
1393
  "filename": "src/awscdk/base.ts",
1394
- "line": 254
1394
+ "line": 264
1395
1395
  },
1396
1396
  "name": "namePrefix",
1397
1397
  "protected": true,
@@ -1406,7 +1406,7 @@
1406
1406
  "immutable": true,
1407
1407
  "locationInModule": {
1408
1408
  "filename": "src/awscdk/base.ts",
1409
- "line": 250
1409
+ "line": 260
1410
1410
  },
1411
1411
  "name": "stackPrefix",
1412
1412
  "type": {
@@ -1422,7 +1422,7 @@
1422
1422
  "immutable": true,
1423
1423
  "locationInModule": {
1424
1424
  "filename": "src/awscdk/base.ts",
1425
- "line": 260
1425
+ "line": 270
1426
1426
  },
1427
1427
  "name": "workingDirectory",
1428
1428
  "optional": true,
@@ -1437,7 +1437,7 @@
1437
1437
  },
1438
1438
  "locationInModule": {
1439
1439
  "filename": "src/awscdk/base.ts",
1440
- "line": 262
1440
+ "line": 272
1441
1441
  },
1442
1442
  "name": "app",
1443
1443
  "protected": true,
@@ -1451,7 +1451,7 @@
1451
1451
  },
1452
1452
  "locationInModule": {
1453
1453
  "filename": "src/awscdk/base.ts",
1454
- "line": 262
1454
+ "line": 272
1455
1455
  },
1456
1456
  "name": "baseOptions",
1457
1457
  "protected": true,
@@ -1515,6 +1515,25 @@
1515
1515
  }
1516
1516
  }
1517
1517
  },
1518
+ {
1519
+ "abstract": true,
1520
+ "docs": {
1521
+ "default": "- the CLI default (4)",
1522
+ "remarks": "Passed through as `--concurrency`. Higher values speed\nup publishing for stacks with many assets at the cost of more concurrent\nuploads.",
1523
+ "stability": "stable",
1524
+ "summary": "The number of asset uploads the `cdk publish-assets` subcommand runs in parallel per stage."
1525
+ },
1526
+ "immutable": true,
1527
+ "locationInModule": {
1528
+ "filename": "src/awscdk/base.ts",
1529
+ "line": 252
1530
+ },
1531
+ "name": "assetPublishingConcurrency",
1532
+ "optional": true,
1533
+ "type": {
1534
+ "primitive": "number"
1535
+ }
1536
+ },
1518
1537
  {
1519
1538
  "abstract": true,
1520
1539
  "docs": {
@@ -9000,6 +9019,6 @@
9000
9019
  "symbolId": "src/versioning/types:VersioningStrategyComponents"
9001
9020
  }
9002
9021
  },
9003
- "version": "0.3.23",
9004
- "fingerprint": "Zf7ScHeurKTI6tmpvSiW3PYEqx2p6LNbhaLJjOLJIR0="
9022
+ "version": "0.3.25",
9023
+ "fingerprint": "oVyKVWPabyNBeXanBrkDhRyTOs1jvC2j4dtII33Q1kY="
9005
9024
  }
package/API.md CHANGED
@@ -3040,6 +3040,7 @@ const bashCDKPipelineOptions: BashCDKPipelineOptions = { ... }
3040
3040
  | --- | --- | --- |
3041
3041
  | <code><a href="#projen-pipelines.BashCDKPipelineOptions.property.iamRoleArns">iamRoleArns</a></code> | <code><a href="#projen-pipelines.IamRoleConfig">IamRoleConfig</a></code> | IAM config. |
3042
3042
  | <code><a href="#projen-pipelines.BashCDKPipelineOptions.property.stages">stages</a></code> | <code><a href="#projen-pipelines.DeploymentStage">DeploymentStage</a>[]</code> | This field specifies a list of stages that should be deployed using a CI/CD pipeline. |
3043
+ | <code><a href="#projen-pipelines.BashCDKPipelineOptions.property.assetPublishingConcurrency">assetPublishingConcurrency</a></code> | <code>number</code> | The number of asset uploads the `cdk publish-assets` subcommand runs in parallel per stage. |
3043
3044
  | <code><a href="#projen-pipelines.BashCDKPipelineOptions.property.branchName">branchName</a></code> | <code>string</code> | the name of the branch to deploy from. |
3044
3045
  | <code><a href="#projen-pipelines.BashCDKPipelineOptions.property.deploySubStacks">deploySubStacks</a></code> | <code>boolean</code> | If set to true all CDK actions will also include <stackName>/* to deploy/diff/destroy sub stacks of the main stack. |
3045
3046
  | <code><a href="#projen-pipelines.BashCDKPipelineOptions.property.featureStages">featureStages</a></code> | <code><a href="#projen-pipelines.StageOptions">StageOptions</a></code> | This specifies details for feature stages. |
@@ -3085,6 +3086,23 @@ This field specifies a list of stages that should be deployed using a CI/CD pipe
3085
3086
 
3086
3087
  ---
3087
3088
 
3089
+ ##### `assetPublishingConcurrency`<sup>Optional</sup> <a name="assetPublishingConcurrency" id="projen-pipelines.BashCDKPipelineOptions.property.assetPublishingConcurrency"></a>
3090
+
3091
+ ```typescript
3092
+ public readonly assetPublishingConcurrency: number;
3093
+ ```
3094
+
3095
+ - *Type:* number
3096
+ - *Default:* the CLI default (4)
3097
+
3098
+ The number of asset uploads the `cdk publish-assets` subcommand runs in parallel per stage.
3099
+
3100
+ Passed through as `--concurrency`. Higher values speed
3101
+ up publishing for stacks with many assets at the cost of more concurrent
3102
+ uploads.
3103
+
3104
+ ---
3105
+
3088
3106
  ##### `branchName`<sup>Optional</sup> <a name="branchName" id="projen-pipelines.BashCDKPipelineOptions.property.branchName"></a>
3089
3107
 
3090
3108
  ```typescript
@@ -3559,6 +3577,7 @@ const cDKPipelineOptions: CDKPipelineOptions = { ... }
3559
3577
  | --- | --- | --- |
3560
3578
  | <code><a href="#projen-pipelines.CDKPipelineOptions.property.iamRoleArns">iamRoleArns</a></code> | <code><a href="#projen-pipelines.IamRoleConfig">IamRoleConfig</a></code> | IAM config. |
3561
3579
  | <code><a href="#projen-pipelines.CDKPipelineOptions.property.stages">stages</a></code> | <code><a href="#projen-pipelines.DeploymentStage">DeploymentStage</a>[]</code> | This field specifies a list of stages that should be deployed using a CI/CD pipeline. |
3580
+ | <code><a href="#projen-pipelines.CDKPipelineOptions.property.assetPublishingConcurrency">assetPublishingConcurrency</a></code> | <code>number</code> | The number of asset uploads the `cdk publish-assets` subcommand runs in parallel per stage. |
3562
3581
  | <code><a href="#projen-pipelines.CDKPipelineOptions.property.branchName">branchName</a></code> | <code>string</code> | the name of the branch to deploy from. |
3563
3582
  | <code><a href="#projen-pipelines.CDKPipelineOptions.property.deploySubStacks">deploySubStacks</a></code> | <code>boolean</code> | If set to true all CDK actions will also include <stackName>/* to deploy/diff/destroy sub stacks of the main stack. |
3564
3583
  | <code><a href="#projen-pipelines.CDKPipelineOptions.property.featureStages">featureStages</a></code> | <code><a href="#projen-pipelines.StageOptions">StageOptions</a></code> | This specifies details for feature stages. |
@@ -3604,6 +3623,23 @@ This field specifies a list of stages that should be deployed using a CI/CD pipe
3604
3623
 
3605
3624
  ---
3606
3625
 
3626
+ ##### `assetPublishingConcurrency`<sup>Optional</sup> <a name="assetPublishingConcurrency" id="projen-pipelines.CDKPipelineOptions.property.assetPublishingConcurrency"></a>
3627
+
3628
+ ```typescript
3629
+ public readonly assetPublishingConcurrency: number;
3630
+ ```
3631
+
3632
+ - *Type:* number
3633
+ - *Default:* the CLI default (4)
3634
+
3635
+ The number of asset uploads the `cdk publish-assets` subcommand runs in parallel per stage.
3636
+
3637
+ Passed through as `--concurrency`. Higher values speed
3638
+ up publishing for stacks with many assets at the cost of more concurrent
3639
+ uploads.
3640
+
3641
+ ---
3642
+
3607
3643
  ##### `branchName`<sup>Optional</sup> <a name="branchName" id="projen-pipelines.CDKPipelineOptions.property.branchName"></a>
3608
3644
 
3609
3645
  ```typescript
@@ -4939,6 +4975,7 @@ const githubCDKPipelineOptions: GithubCDKPipelineOptions = { ... }
4939
4975
  | --- | --- | --- |
4940
4976
  | <code><a href="#projen-pipelines.GithubCDKPipelineOptions.property.iamRoleArns">iamRoleArns</a></code> | <code><a href="#projen-pipelines.IamRoleConfig">IamRoleConfig</a></code> | IAM config. |
4941
4977
  | <code><a href="#projen-pipelines.GithubCDKPipelineOptions.property.stages">stages</a></code> | <code><a href="#projen-pipelines.DeploymentStage">DeploymentStage</a>[]</code> | This field specifies a list of stages that should be deployed using a CI/CD pipeline. |
4978
+ | <code><a href="#projen-pipelines.GithubCDKPipelineOptions.property.assetPublishingConcurrency">assetPublishingConcurrency</a></code> | <code>number</code> | The number of asset uploads the `cdk publish-assets` subcommand runs in parallel per stage. |
4942
4979
  | <code><a href="#projen-pipelines.GithubCDKPipelineOptions.property.branchName">branchName</a></code> | <code>string</code> | the name of the branch to deploy from. |
4943
4980
  | <code><a href="#projen-pipelines.GithubCDKPipelineOptions.property.deploySubStacks">deploySubStacks</a></code> | <code>boolean</code> | If set to true all CDK actions will also include <stackName>/* to deploy/diff/destroy sub stacks of the main stack. |
4944
4981
  | <code><a href="#projen-pipelines.GithubCDKPipelineOptions.property.featureStages">featureStages</a></code> | <code><a href="#projen-pipelines.StageOptions">StageOptions</a></code> | This specifies details for feature stages. |
@@ -4988,6 +5025,23 @@ This field specifies a list of stages that should be deployed using a CI/CD pipe
4988
5025
 
4989
5026
  ---
4990
5027
 
5028
+ ##### `assetPublishingConcurrency`<sup>Optional</sup> <a name="assetPublishingConcurrency" id="projen-pipelines.GithubCDKPipelineOptions.property.assetPublishingConcurrency"></a>
5029
+
5030
+ ```typescript
5031
+ public readonly assetPublishingConcurrency: number;
5032
+ ```
5033
+
5034
+ - *Type:* number
5035
+ - *Default:* the CLI default (4)
5036
+
5037
+ The number of asset uploads the `cdk publish-assets` subcommand runs in parallel per stage.
5038
+
5039
+ Passed through as `--concurrency`. Higher values speed
5040
+ up publishing for stacks with many assets at the cost of more concurrent
5041
+ uploads.
5042
+
5043
+ ---
5044
+
4991
5045
  ##### `branchName`<sup>Optional</sup> <a name="branchName" id="projen-pipelines.GithubCDKPipelineOptions.property.branchName"></a>
4992
5046
 
4993
5047
  ```typescript
@@ -5696,6 +5750,7 @@ const gitlabCDKPipelineOptions: GitlabCDKPipelineOptions = { ... }
5696
5750
  | --- | --- | --- |
5697
5751
  | <code><a href="#projen-pipelines.GitlabCDKPipelineOptions.property.iamRoleArns">iamRoleArns</a></code> | <code><a href="#projen-pipelines.IamRoleConfig">IamRoleConfig</a></code> | IAM config. |
5698
5752
  | <code><a href="#projen-pipelines.GitlabCDKPipelineOptions.property.stages">stages</a></code> | <code><a href="#projen-pipelines.DeploymentStage">DeploymentStage</a>[]</code> | This field specifies a list of stages that should be deployed using a CI/CD pipeline. |
5753
+ | <code><a href="#projen-pipelines.GitlabCDKPipelineOptions.property.assetPublishingConcurrency">assetPublishingConcurrency</a></code> | <code>number</code> | The number of asset uploads the `cdk publish-assets` subcommand runs in parallel per stage. |
5699
5754
  | <code><a href="#projen-pipelines.GitlabCDKPipelineOptions.property.branchName">branchName</a></code> | <code>string</code> | the name of the branch to deploy from. |
5700
5755
  | <code><a href="#projen-pipelines.GitlabCDKPipelineOptions.property.deploySubStacks">deploySubStacks</a></code> | <code>boolean</code> | If set to true all CDK actions will also include <stackName>/* to deploy/diff/destroy sub stacks of the main stack. |
5701
5756
  | <code><a href="#projen-pipelines.GitlabCDKPipelineOptions.property.featureStages">featureStages</a></code> | <code><a href="#projen-pipelines.StageOptions">StageOptions</a></code> | This specifies details for feature stages. |
@@ -5743,6 +5798,23 @@ This field specifies a list of stages that should be deployed using a CI/CD pipe
5743
5798
 
5744
5799
  ---
5745
5800
 
5801
+ ##### `assetPublishingConcurrency`<sup>Optional</sup> <a name="assetPublishingConcurrency" id="projen-pipelines.GitlabCDKPipelineOptions.property.assetPublishingConcurrency"></a>
5802
+
5803
+ ```typescript
5804
+ public readonly assetPublishingConcurrency: number;
5805
+ ```
5806
+
5807
+ - *Type:* number
5808
+ - *Default:* the CLI default (4)
5809
+
5810
+ The number of asset uploads the `cdk publish-assets` subcommand runs in parallel per stage.
5811
+
5812
+ Passed through as `--concurrency`. Higher values speed
5813
+ up publishing for stacks with many assets at the cost of more concurrent
5814
+ uploads.
5815
+
5816
+ ---
5817
+
5746
5818
  ##### `branchName`<sup>Optional</sup> <a name="branchName" id="projen-pipelines.GitlabCDKPipelineOptions.property.branchName"></a>
5747
5819
 
5748
5820
  ```typescript
@@ -5,7 +5,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
5
5
  const projen_1 = require("projen");
6
6
  class AssignApprover extends projen_1.Component {
7
7
  baseOptions;
8
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen-pipelines.AssignApprover", version: "0.3.23" };
8
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen-pipelines.AssignApprover", version: "0.3.25" };
9
9
  constructor(scope, baseOptions) {
10
10
  super(scope);
11
11
  this.baseOptions = baseOptions;
@@ -5,7 +5,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
5
5
  const workflows_model_1 = require("projen/lib/github/workflows-model");
6
6
  const base_1 = require("./base");
7
7
  class GitHubAssignApprover extends base_1.AssignApprover {
8
- static [JSII_RTTI_SYMBOL_1] = { fqn: "projen-pipelines.GitHubAssignApprover", version: "0.3.23" };
8
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "projen-pipelines.GitHubAssignApprover", version: "0.3.25" };
9
9
  workflow;
10
10
  options;
11
11
  constructor(scope, options) {
@@ -199,6 +199,15 @@ export interface CDKPipelineOptions {
199
199
  * Versioning configuration
200
200
  */
201
201
  readonly versioning?: VersioningConfig;
202
+ /**
203
+ * The number of asset uploads the `cdk publish-assets` subcommand runs in
204
+ * parallel per stage. Passed through as `--concurrency`. Higher values speed
205
+ * up publishing for stacks with many assets at the cost of more concurrent
206
+ * uploads.
207
+ *
208
+ * @default - the CLI default (4)
209
+ */
210
+ readonly assetPublishingConcurrency?: number;
202
211
  }
203
212
  /**
204
213
  * The CDKPipeline class extends the Component class and sets up the necessary configuration for deploying AWS CDK (Cloud Development Kit) applications across multiple stages.