projen-pipelines 0.3.10 → 0.3.12

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.
Files changed (46) hide show
  1. package/.jsii +126 -308
  2. package/API.md +55 -205
  3. package/CODING_SPEC.md +2 -20
  4. package/documentation/overview.excalidraw +0 -72
  5. package/documentation/overview.png +0 -0
  6. package/lib/assign-approver/base.js +1 -1
  7. package/lib/assign-approver/github.js +1 -1
  8. package/lib/awscdk/base.d.ts +7 -0
  9. package/lib/awscdk/base.js +2 -2
  10. package/lib/awscdk/bash.js +1 -1
  11. package/lib/awscdk/github.d.ts +1 -1
  12. package/lib/awscdk/github.js +7 -7
  13. package/lib/awscdk/gitlab.js +1 -1
  14. package/lib/awscdk/index.js +1 -2
  15. package/lib/drift/base.js +1 -1
  16. package/lib/drift/bash.js +1 -1
  17. package/lib/drift/github.js +1 -1
  18. package/lib/drift/gitlab.js +1 -1
  19. package/lib/drift/step.js +1 -1
  20. package/lib/engine.d.ts +1 -2
  21. package/lib/engine.js +2 -4
  22. package/lib/steps/amplify-deploy.step.d.ts +1 -2
  23. package/lib/steps/amplify-deploy.step.js +2 -5
  24. package/lib/steps/artifact-steps.d.ts +1 -9
  25. package/lib/steps/artifact-steps.js +3 -23
  26. package/lib/steps/aws-assume-role.step.d.ts +1 -2
  27. package/lib/steps/aws-assume-role.step.js +2 -10
  28. package/lib/steps/github-summary.step.js +1 -1
  29. package/lib/steps/package-manager-setup.step.js +1 -1
  30. package/lib/steps/registries.js +3 -3
  31. package/lib/steps/set-env.step.d.ts +1 -2
  32. package/lib/steps/set-env.step.js +1 -8
  33. package/lib/steps/step.d.ts +0 -25
  34. package/lib/steps/step.js +5 -40
  35. package/lib/versioning/computation.js +3 -3
  36. package/lib/versioning/config.js +2 -2
  37. package/lib/versioning/outputs.js +5 -5
  38. package/lib/versioning/setup.js +1 -1
  39. package/lib/versioning/strategy.js +1 -1
  40. package/lib/versioning/version-info.js +2 -2
  41. package/package.json +1 -1
  42. package/.codecatalyst/workflows/options.json +0 -3
  43. package/lib/awscdk/codecatalyst/blueprint.d.ts +0 -0
  44. package/lib/awscdk/codecatalyst/blueprint.js +0 -29
  45. package/lib/awscdk/codecatalyst.d.ts +0 -0
  46. package/lib/awscdk/codecatalyst.js +0 -273
package/.jsii CHANGED
@@ -179,24 +179,6 @@
179
179
  }
180
180
  }
181
181
  },
182
- {
183
- "docs": {
184
- "remarks": "Should be implemented by subclasses.",
185
- "stability": "stable",
186
- "summary": "Generates a configuration for a CodeCatalyst Actions step."
187
- },
188
- "locationInModule": {
189
- "filename": "src/steps/amplify-deploy.step.ts",
190
- "line": 181
191
- },
192
- "name": "toCodeCatalyst",
193
- "overrides": "projen-pipelines.PipelineStep",
194
- "returns": {
195
- "type": {
196
- "fqn": "projen-pipelines.CodeCatalystStepConfig"
197
- }
198
- }
199
- },
200
182
  {
201
183
  "docs": {
202
184
  "remarks": "Should be implemented by subclasses.",
@@ -537,7 +519,7 @@
537
519
  },
538
520
  "locationInModule": {
539
521
  "filename": "src/steps/aws-assume-role.step.ts",
540
- "line": 31
522
+ "line": 30
541
523
  },
542
524
  "parameters": [
543
525
  {
@@ -560,7 +542,7 @@
560
542
  "kind": "class",
561
543
  "locationInModule": {
562
544
  "filename": "src/steps/aws-assume-role.step.ts",
563
- "line": 30
545
+ "line": 29
564
546
  },
565
547
  "methods": [
566
548
  {
@@ -571,7 +553,7 @@
571
553
  },
572
554
  "locationInModule": {
573
555
  "filename": "src/steps/aws-assume-role.step.ts",
574
- "line": 97
556
+ "line": 96
575
557
  },
576
558
  "name": "toBash",
577
559
  "overrides": "projen-pipelines.PipelineStep",
@@ -581,24 +563,6 @@
581
563
  }
582
564
  }
583
565
  },
584
- {
585
- "docs": {
586
- "remarks": "Should be implemented by subclasses.",
587
- "stability": "stable",
588
- "summary": "Generates a configuration for a CodeCatalyst Actions step."
589
- },
590
- "locationInModule": {
591
- "filename": "src/steps/aws-assume-role.step.ts",
592
- "line": 107
593
- },
594
- "name": "toCodeCatalyst",
595
- "overrides": "projen-pipelines.PipelineStep",
596
- "returns": {
597
- "type": {
598
- "fqn": "projen-pipelines.CodeCatalystStepConfig"
599
- }
600
- }
601
- },
602
566
  {
603
567
  "docs": {
604
568
  "remarks": "Should be implemented by subclasses.",
@@ -607,7 +571,7 @@
607
571
  },
608
572
  "locationInModule": {
609
573
  "filename": "src/steps/aws-assume-role.step.ts",
610
- "line": 54
574
+ "line": 53
611
575
  },
612
576
  "name": "toGithub",
613
577
  "overrides": "projen-pipelines.PipelineStep",
@@ -625,7 +589,7 @@
625
589
  },
626
590
  "locationInModule": {
627
591
  "filename": "src/steps/aws-assume-role.step.ts",
628
- "line": 38
592
+ "line": 37
629
593
  },
630
594
  "name": "toGitlab",
631
595
  "overrides": "projen-pipelines.PipelineStep",
@@ -650,7 +614,7 @@
650
614
  "kind": "interface",
651
615
  "locationInModule": {
652
616
  "filename": "src/steps/aws-assume-role.step.ts",
653
- "line": 14
617
+ "line": 13
654
618
  },
655
619
  "name": "AwsAssumeRoleStepConfig",
656
620
  "properties": [
@@ -663,7 +627,7 @@
663
627
  "immutable": true,
664
628
  "locationInModule": {
665
629
  "filename": "src/steps/aws-assume-role.step.ts",
666
- "line": 16
630
+ "line": 15
667
631
  },
668
632
  "name": "roleArn",
669
633
  "type": {
@@ -679,7 +643,7 @@
679
643
  "immutable": true,
680
644
  "locationInModule": {
681
645
  "filename": "src/steps/aws-assume-role.step.ts",
682
- "line": 24
646
+ "line": 23
683
647
  },
684
648
  "name": "jumpRoleArn",
685
649
  "optional": true,
@@ -696,7 +660,7 @@
696
660
  "immutable": true,
697
661
  "locationInModule": {
698
662
  "filename": "src/steps/aws-assume-role.step.ts",
699
- "line": 20
663
+ "line": 19
700
664
  },
701
665
  "name": "region",
702
666
  "optional": true,
@@ -713,7 +677,7 @@
713
677
  "immutable": true,
714
678
  "locationInModule": {
715
679
  "filename": "src/steps/aws-assume-role.step.ts",
716
- "line": 18
680
+ "line": 17
717
681
  },
718
682
  "name": "sessionName",
719
683
  "optional": true,
@@ -885,7 +849,7 @@
885
849
  "kind": "interface",
886
850
  "locationInModule": {
887
851
  "filename": "src/steps/step.ts",
888
- "line": 61
852
+ "line": 45
889
853
  },
890
854
  "name": "BashStepConfig",
891
855
  "properties": [
@@ -898,7 +862,7 @@
898
862
  "immutable": true,
899
863
  "locationInModule": {
900
864
  "filename": "src/steps/step.ts",
901
- "line": 64
865
+ "line": 48
902
866
  },
903
867
  "name": "commands",
904
868
  "type": {
@@ -978,7 +942,7 @@
978
942
  },
979
943
  "locationInModule": {
980
944
  "filename": "src/awscdk/base.ts",
981
- "line": 197
945
+ "line": 206
982
946
  },
983
947
  "parameters": [
984
948
  {
@@ -998,7 +962,7 @@
998
962
  "kind": "class",
999
963
  "locationInModule": {
1000
964
  "filename": "src/awscdk/base.ts",
1001
- "line": 193
965
+ "line": 202
1002
966
  },
1003
967
  "methods": [
1004
968
  {
@@ -1008,7 +972,7 @@
1008
972
  },
1009
973
  "locationInModule": {
1010
974
  "filename": "src/awscdk/base.ts",
1011
- "line": 398
975
+ "line": 407
1012
976
  },
1013
977
  "name": "createApplicationEntrypoint",
1014
978
  "protected": true
@@ -1020,7 +984,7 @@
1020
984
  },
1021
985
  "locationInModule": {
1022
986
  "filename": "src/awscdk/base.ts",
1023
- "line": 604
987
+ "line": 613
1024
988
  },
1025
989
  "name": "createFeatureStage",
1026
990
  "protected": true
@@ -1032,7 +996,7 @@
1032
996
  },
1033
997
  "locationInModule": {
1034
998
  "filename": "src/awscdk/base.ts",
1035
- "line": 653
999
+ "line": 662
1036
1000
  },
1037
1001
  "name": "createIndependentStage",
1038
1002
  "parameters": [
@@ -1055,7 +1019,7 @@
1055
1019
  },
1056
1020
  "locationInModule": {
1057
1021
  "filename": "src/awscdk/base.ts",
1058
- "line": 581
1022
+ "line": 590
1059
1023
  },
1060
1024
  "name": "createPersonalStage",
1061
1025
  "protected": true
@@ -1067,7 +1031,7 @@
1067
1031
  },
1068
1032
  "locationInModule": {
1069
1033
  "filename": "src/awscdk/base.ts",
1070
- "line": 627
1034
+ "line": 636
1071
1035
  },
1072
1036
  "name": "createPipelineStage",
1073
1037
  "parameters": [
@@ -1090,7 +1054,7 @@
1090
1054
  },
1091
1055
  "locationInModule": {
1092
1056
  "filename": "src/awscdk/base.ts",
1093
- "line": 526
1057
+ "line": 535
1094
1058
  },
1095
1059
  "name": "createReleaseTasks",
1096
1060
  "protected": true
@@ -1101,7 +1065,7 @@
1101
1065
  },
1102
1066
  "locationInModule": {
1103
1067
  "filename": "src/awscdk/base.ts",
1104
- "line": 384
1068
+ "line": 393
1105
1069
  },
1106
1070
  "name": "createSafeStageName",
1107
1071
  "parameters": [
@@ -1126,7 +1090,7 @@
1126
1090
  },
1127
1091
  "locationInModule": {
1128
1092
  "filename": "src/awscdk/base.ts",
1129
- "line": 686
1093
+ "line": 695
1130
1094
  },
1131
1095
  "name": "createVersionFetchTask",
1132
1096
  "parameters": [
@@ -1146,7 +1110,7 @@
1146
1110
  },
1147
1111
  "locationInModule": {
1148
1112
  "filename": "src/awscdk/base.ts",
1149
- "line": 249
1113
+ "line": 258
1150
1114
  },
1151
1115
  "name": "engineType",
1152
1116
  "returns": {
@@ -1162,7 +1126,7 @@
1162
1126
  },
1163
1127
  "locationInModule": {
1164
1128
  "filename": "src/awscdk/base.ts",
1165
- "line": 732
1129
+ "line": 741
1166
1130
  },
1167
1131
  "name": "generateVersioningAppCode",
1168
1132
  "parameters": [
@@ -1186,7 +1150,7 @@
1186
1150
  },
1187
1151
  "locationInModule": {
1188
1152
  "filename": "src/awscdk/base.ts",
1189
- "line": 746
1153
+ "line": 755
1190
1154
  },
1191
1155
  "name": "generateVersioningImports",
1192
1156
  "returns": {
@@ -1202,7 +1166,7 @@
1202
1166
  },
1203
1167
  "locationInModule": {
1204
1168
  "filename": "src/awscdk/base.ts",
1205
- "line": 759
1169
+ "line": 768
1206
1170
  },
1207
1171
  "name": "generateVersioningUtilities",
1208
1172
  "returns": {
@@ -1217,7 +1181,7 @@
1217
1181
  },
1218
1182
  "locationInModule": {
1219
1183
  "filename": "src/awscdk/base.ts",
1220
- "line": 675
1184
+ "line": 684
1221
1185
  },
1222
1186
  "name": "getCliStackPattern",
1223
1187
  "parameters": [
@@ -1241,7 +1205,7 @@
1241
1205
  },
1242
1206
  "locationInModule": {
1243
1207
  "filename": "src/awscdk/base.ts",
1244
- "line": 326
1208
+ "line": 335
1245
1209
  },
1246
1210
  "name": "provideAssemblyUploadStep",
1247
1211
  "protected": true,
@@ -1257,7 +1221,7 @@
1257
1221
  },
1258
1222
  "locationInModule": {
1259
1223
  "filename": "src/awscdk/base.ts",
1260
- "line": 292
1224
+ "line": 301
1261
1225
  },
1262
1226
  "name": "provideAssetUploadStep",
1263
1227
  "parameters": [
@@ -1282,7 +1246,7 @@
1282
1246
  },
1283
1247
  "locationInModule": {
1284
1248
  "filename": "src/awscdk/base.ts",
1285
- "line": 336
1249
+ "line": 345
1286
1250
  },
1287
1251
  "name": "provideDeployStep",
1288
1252
  "parameters": [
@@ -1306,7 +1270,7 @@
1306
1270
  },
1307
1271
  "locationInModule": {
1308
1272
  "filename": "src/awscdk/base.ts",
1309
- "line": 348
1273
+ "line": 357
1310
1274
  },
1311
1275
  "name": "provideDiffStep",
1312
1276
  "parameters": [
@@ -1337,7 +1301,7 @@
1337
1301
  },
1338
1302
  "locationInModule": {
1339
1303
  "filename": "src/awscdk/base.ts",
1340
- "line": 251
1304
+ "line": 260
1341
1305
  },
1342
1306
  "name": "provideInstallStep",
1343
1307
  "protected": true,
@@ -1353,7 +1317,7 @@
1353
1317
  },
1354
1318
  "locationInModule": {
1355
1319
  "filename": "src/awscdk/base.ts",
1356
- "line": 268
1320
+ "line": 277
1357
1321
  },
1358
1322
  "name": "provideSynthStep",
1359
1323
  "protected": true,
@@ -1369,7 +1333,7 @@
1369
1333
  },
1370
1334
  "locationInModule": {
1371
1335
  "filename": "src/awscdk/base.ts",
1372
- "line": 362
1336
+ "line": 371
1373
1337
  },
1374
1338
  "name": "renderInstallPackageCommands",
1375
1339
  "parameters": [
@@ -1409,7 +1373,7 @@
1409
1373
  "immutable": true,
1410
1374
  "locationInModule": {
1411
1375
  "filename": "src/awscdk/base.ts",
1412
- "line": 195
1376
+ "line": 204
1413
1377
  },
1414
1378
  "name": "branchName",
1415
1379
  "type": {
@@ -1423,7 +1387,7 @@
1423
1387
  "immutable": true,
1424
1388
  "locationInModule": {
1425
1389
  "filename": "src/awscdk/base.ts",
1426
- "line": 194
1390
+ "line": 203
1427
1391
  },
1428
1392
  "name": "stackPrefix",
1429
1393
  "type": {
@@ -1436,7 +1400,7 @@
1436
1400
  },
1437
1401
  "locationInModule": {
1438
1402
  "filename": "src/awscdk/base.ts",
1439
- "line": 197
1403
+ "line": 206
1440
1404
  },
1441
1405
  "name": "app",
1442
1406
  "protected": true,
@@ -1450,7 +1414,7 @@
1450
1414
  },
1451
1415
  "locationInModule": {
1452
1416
  "filename": "src/awscdk/base.ts",
1453
- "line": 197
1417
+ "line": 206
1454
1418
  },
1455
1419
  "name": "baseOptions",
1456
1420
  "protected": true,
@@ -1473,7 +1437,7 @@
1473
1437
  "kind": "interface",
1474
1438
  "locationInModule": {
1475
1439
  "filename": "src/awscdk/base.ts",
1476
- "line": 114
1440
+ "line": 123
1477
1441
  },
1478
1442
  "name": "CDKPipelineOptions",
1479
1443
  "properties": [
@@ -1486,7 +1450,7 @@
1486
1450
  "immutable": true,
1487
1451
  "locationInModule": {
1488
1452
  "filename": "src/awscdk/base.ts",
1489
- "line": 150
1453
+ "line": 159
1490
1454
  },
1491
1455
  "name": "iamRoleArns",
1492
1456
  "type": {
@@ -1502,7 +1466,7 @@
1502
1466
  "immutable": true,
1503
1467
  "locationInModule": {
1504
1468
  "filename": "src/awscdk/base.ts",
1505
- "line": 155
1469
+ "line": 164
1506
1470
  },
1507
1471
  "name": "stages",
1508
1472
  "type": {
@@ -1524,7 +1488,7 @@
1524
1488
  "immutable": true,
1525
1489
  "locationInModule": {
1526
1490
  "filename": "src/awscdk/base.ts",
1527
- "line": 120
1491
+ "line": 129
1528
1492
  },
1529
1493
  "name": "branchName",
1530
1494
  "optional": true,
@@ -1543,7 +1507,7 @@
1543
1507
  "immutable": true,
1544
1508
  "locationInModule": {
1545
1509
  "filename": "src/awscdk/base.ts",
1546
- "line": 136
1510
+ "line": 145
1547
1511
  },
1548
1512
  "name": "deploySubStacks",
1549
1513
  "optional": true,
@@ -1560,7 +1524,7 @@
1560
1524
  "immutable": true,
1561
1525
  "locationInModule": {
1562
1526
  "filename": "src/awscdk/base.ts",
1563
- "line": 164
1527
+ "line": 173
1564
1528
  },
1565
1529
  "name": "featureStages",
1566
1530
  "optional": true,
@@ -1577,7 +1541,7 @@
1577
1541
  "immutable": true,
1578
1542
  "locationInModule": {
1579
1543
  "filename": "src/awscdk/base.ts",
1580
- "line": 158
1544
+ "line": 167
1581
1545
  },
1582
1546
  "name": "independentStages",
1583
1547
  "optional": true,
@@ -1599,7 +1563,7 @@
1599
1563
  "immutable": true,
1600
1564
  "locationInModule": {
1601
1565
  "filename": "src/awscdk/base.ts",
1602
- "line": 161
1566
+ "line": 170
1603
1567
  },
1604
1568
  "name": "personalStage",
1605
1569
  "optional": true,
@@ -1618,7 +1582,7 @@
1618
1582
  "immutable": true,
1619
1583
  "locationInModule": {
1620
1584
  "filename": "src/awscdk/base.ts",
1621
- "line": 147
1585
+ "line": 156
1622
1586
  },
1623
1587
  "name": "pkgNamespace",
1624
1588
  "optional": true,
@@ -1634,7 +1598,7 @@
1634
1598
  "immutable": true,
1635
1599
  "locationInModule": {
1636
1600
  "filename": "src/awscdk/base.ts",
1637
- "line": 177
1601
+ "line": 186
1638
1602
  },
1639
1603
  "name": "postSynthCommands",
1640
1604
  "optional": true,
@@ -1655,7 +1619,7 @@
1655
1619
  "immutable": true,
1656
1620
  "locationInModule": {
1657
1621
  "filename": "src/awscdk/base.ts",
1658
- "line": 181
1622
+ "line": 190
1659
1623
  },
1660
1624
  "name": "postSynthSteps",
1661
1625
  "optional": true,
@@ -1676,7 +1640,7 @@
1676
1640
  "immutable": true,
1677
1641
  "locationInModule": {
1678
1642
  "filename": "src/awscdk/base.ts",
1679
- "line": 175
1643
+ "line": 184
1680
1644
  },
1681
1645
  "name": "preInstallCommands",
1682
1646
  "optional": true,
@@ -1697,7 +1661,7 @@
1697
1661
  "immutable": true,
1698
1662
  "locationInModule": {
1699
1663
  "filename": "src/awscdk/base.ts",
1700
- "line": 179
1664
+ "line": 188
1701
1665
  },
1702
1666
  "name": "preInstallSteps",
1703
1667
  "optional": true,
@@ -1718,7 +1682,7 @@
1718
1682
  "immutable": true,
1719
1683
  "locationInModule": {
1720
1684
  "filename": "src/awscdk/base.ts",
1721
- "line": 176
1685
+ "line": 185
1722
1686
  },
1723
1687
  "name": "preSynthCommands",
1724
1688
  "optional": true,
@@ -1739,7 +1703,7 @@
1739
1703
  "immutable": true,
1740
1704
  "locationInModule": {
1741
1705
  "filename": "src/awscdk/base.ts",
1742
- "line": 180
1706
+ "line": 189
1743
1707
  },
1744
1708
  "name": "preSynthSteps",
1745
1709
  "optional": true,
@@ -1762,7 +1726,7 @@
1762
1726
  "immutable": true,
1763
1727
  "locationInModule": {
1764
1728
  "filename": "src/awscdk/base.ts",
1765
- "line": 128
1729
+ "line": 137
1766
1730
  },
1767
1731
  "name": "stackPrefix",
1768
1732
  "optional": true,
@@ -1779,7 +1743,7 @@
1779
1743
  "immutable": true,
1780
1744
  "locationInModule": {
1781
1745
  "filename": "src/awscdk/base.ts",
1782
- "line": 186
1746
+ "line": 195
1783
1747
  },
1784
1748
  "name": "versioning",
1785
1749
  "optional": true,
@@ -2321,87 +2285,6 @@
2321
2285
  ],
2322
2286
  "symbolId": "src/steps/registries:CodeArtifactLoginStepOptions"
2323
2287
  },
2324
- "projen-pipelines.CodeCatalystStepConfig": {
2325
- "assembly": "projen-pipelines",
2326
- "datatype": true,
2327
- "docs": {
2328
- "stability": "stable",
2329
- "summary": "Configuration interface for a CodeCatalyst Actions step."
2330
- },
2331
- "fqn": "projen-pipelines.CodeCatalystStepConfig",
2332
- "kind": "interface",
2333
- "locationInModule": {
2334
- "filename": "src/steps/step.ts",
2335
- "line": 45
2336
- },
2337
- "name": "CodeCatalystStepConfig",
2338
- "properties": [
2339
- {
2340
- "abstract": true,
2341
- "docs": {
2342
- "stability": "stable",
2343
- "summary": "Commands wrapped as GitHub Action job steps."
2344
- },
2345
- "immutable": true,
2346
- "locationInModule": {
2347
- "filename": "src/steps/step.ts",
2348
- "line": 51
2349
- },
2350
- "name": "commands",
2351
- "type": {
2352
- "collection": {
2353
- "elementtype": {
2354
- "primitive": "string"
2355
- },
2356
- "kind": "array"
2357
- }
2358
- }
2359
- },
2360
- {
2361
- "abstract": true,
2362
- "docs": {
2363
- "stability": "stable",
2364
- "summary": "Additional environment variables to set for this step."
2365
- },
2366
- "immutable": true,
2367
- "locationInModule": {
2368
- "filename": "src/steps/step.ts",
2369
- "line": 54
2370
- },
2371
- "name": "env",
2372
- "type": {
2373
- "collection": {
2374
- "elementtype": {
2375
- "primitive": "string"
2376
- },
2377
- "kind": "map"
2378
- }
2379
- }
2380
- },
2381
- {
2382
- "abstract": true,
2383
- "docs": {
2384
- "stability": "stable",
2385
- "summary": "Dependencies which need to be completed before this step."
2386
- },
2387
- "immutable": true,
2388
- "locationInModule": {
2389
- "filename": "src/steps/step.ts",
2390
- "line": 48
2391
- },
2392
- "name": "needs",
2393
- "type": {
2394
- "collection": {
2395
- "elementtype": {
2396
- "primitive": "string"
2397
- },
2398
- "kind": "array"
2399
- }
2400
- }
2401
- }
2402
- ],
2403
- "symbolId": "src/steps/step:CodeCatalystStepConfig"
2404
- },
2405
2288
  "projen-pipelines.CommitCountConfig": {
2406
2289
  "assembly": "projen-pipelines",
2407
2290
  "datatype": true,
@@ -2882,23 +2765,6 @@
2882
2765
  "line": 9
2883
2766
  },
2884
2767
  "methods": [
2885
- {
2886
- "docs": {
2887
- "stability": "stable",
2888
- "summary": "Converts the step into a CodeCatalyst Actions step configuration."
2889
- },
2890
- "locationInModule": {
2891
- "filename": "src/steps/artifact-steps.ts",
2892
- "line": 42
2893
- },
2894
- "name": "toCodeCatalyst",
2895
- "overrides": "projen-pipelines.PipelineStep",
2896
- "returns": {
2897
- "type": {
2898
- "fqn": "projen-pipelines.CodeCatalystStepConfig"
2899
- }
2900
- }
2901
- },
2902
2768
  {
2903
2769
  "docs": {
2904
2770
  "remarks": "Should be implemented by subclasses.",
@@ -4180,6 +4046,13 @@
4180
4046
  "type": {
4181
4047
  "primitive": "string"
4182
4048
  }
4049
+ },
4050
+ {
4051
+ "name": "githubEnvironment",
4052
+ "optional": true,
4053
+ "type": {
4054
+ "primitive": "string"
4055
+ }
4183
4056
  }
4184
4057
  ]
4185
4058
  },
@@ -5462,7 +5335,7 @@
5462
5335
  "kind": "interface",
5463
5336
  "locationInModule": {
5464
5337
  "filename": "src/awscdk/base.ts",
5465
- "line": 88
5338
+ "line": 97
5466
5339
  },
5467
5340
  "name": "IamRoleConfig",
5468
5341
  "properties": [
@@ -5475,7 +5348,7 @@
5475
5348
  "immutable": true,
5476
5349
  "locationInModule": {
5477
5350
  "filename": "src/awscdk/base.ts",
5478
- "line": 94
5351
+ "line": 103
5479
5352
  },
5480
5353
  "name": "assetPublishing",
5481
5354
  "optional": true,
@@ -5492,7 +5365,7 @@
5492
5365
  "immutable": true,
5493
5366
  "locationInModule": {
5494
5367
  "filename": "src/awscdk/base.ts",
5495
- "line": 96
5368
+ "line": 105
5496
5369
  },
5497
5370
  "name": "assetPublishingPerStage",
5498
5371
  "optional": true,
@@ -5514,7 +5387,7 @@
5514
5387
  "immutable": true,
5515
5388
  "locationInModule": {
5516
5389
  "filename": "src/awscdk/base.ts",
5517
- "line": 90
5390
+ "line": 99
5518
5391
  },
5519
5392
  "name": "default",
5520
5393
  "optional": true,
@@ -5531,7 +5404,7 @@
5531
5404
  "immutable": true,
5532
5405
  "locationInModule": {
5533
5406
  "filename": "src/awscdk/base.ts",
5534
- "line": 100
5407
+ "line": 109
5535
5408
  },
5536
5409
  "name": "deployment",
5537
5410
  "optional": true,
@@ -5553,7 +5426,7 @@
5553
5426
  "immutable": true,
5554
5427
  "locationInModule": {
5555
5428
  "filename": "src/awscdk/base.ts",
5556
- "line": 98
5429
+ "line": 107
5557
5430
  },
5558
5431
  "name": "diff",
5559
5432
  "optional": true,
@@ -5576,7 +5449,7 @@
5576
5449
  "immutable": true,
5577
5450
  "locationInModule": {
5578
5451
  "filename": "src/awscdk/base.ts",
5579
- "line": 105
5452
+ "line": 114
5580
5453
  },
5581
5454
  "name": "jump",
5582
5455
  "optional": true,
@@ -5598,7 +5471,7 @@
5598
5471
  "immutable": true,
5599
5472
  "locationInModule": {
5600
5473
  "filename": "src/awscdk/base.ts",
5601
- "line": 92
5474
+ "line": 101
5602
5475
  },
5603
5476
  "name": "synth",
5604
5477
  "optional": true,
@@ -5689,7 +5562,7 @@
5689
5562
  "immutable": true,
5690
5563
  "locationInModule": {
5691
5564
  "filename": "src/awscdk/base.ts",
5692
- "line": 73
5565
+ "line": 82
5693
5566
  },
5694
5567
  "name": "diffType",
5695
5568
  "optional": true,
@@ -5697,6 +5570,25 @@
5697
5570
  "fqn": "projen-pipelines.CdkDiffType"
5698
5571
  }
5699
5572
  },
5573
+ {
5574
+ "abstract": true,
5575
+ "docs": {
5576
+ "default": "- the stage name",
5577
+ "remarks": "If not specified, the stage name will be used as the GitHub environment name.",
5578
+ "stability": "stable",
5579
+ "summary": "The name of the GitHub environment to use for this stage."
5580
+ },
5581
+ "immutable": true,
5582
+ "locationInModule": {
5583
+ "filename": "src/awscdk/base.ts",
5584
+ "line": 79
5585
+ },
5586
+ "name": "githubEnvironment",
5587
+ "optional": true,
5588
+ "type": {
5589
+ "primitive": "string"
5590
+ }
5591
+ },
5700
5592
  {
5701
5593
  "abstract": true,
5702
5594
  "docs": {
@@ -5705,7 +5597,7 @@
5705
5597
  "immutable": true,
5706
5598
  "locationInModule": {
5707
5599
  "filename": "src/awscdk/base.ts",
5708
- "line": 75
5600
+ "line": 84
5709
5601
  },
5710
5602
  "name": "postDeploySteps",
5711
5603
  "optional": true,
@@ -5726,7 +5618,7 @@
5726
5618
  "immutable": true,
5727
5619
  "locationInModule": {
5728
5620
  "filename": "src/awscdk/base.ts",
5729
- "line": 74
5621
+ "line": 83
5730
5622
  },
5731
5623
  "name": "postDiffSteps",
5732
5624
  "optional": true,
@@ -5747,7 +5639,7 @@
5747
5639
  "immutable": true,
5748
5640
  "locationInModule": {
5749
5641
  "filename": "src/awscdk/base.ts",
5750
- "line": 72
5642
+ "line": 81
5751
5643
  },
5752
5644
  "name": "watchable",
5753
5645
  "optional": true,
@@ -6334,12 +6226,6 @@
6334
6226
  },
6335
6227
  "name": "GITLAB"
6336
6228
  },
6337
- {
6338
- "docs": {
6339
- "stability": "stable"
6340
- },
6341
- "name": "CODE_CATALYST"
6342
- },
6343
6229
  {
6344
6230
  "docs": {
6345
6231
  "stability": "stable",
@@ -6366,7 +6252,7 @@
6366
6252
  },
6367
6253
  "locationInModule": {
6368
6254
  "filename": "src/steps/step.ts",
6369
- "line": 76
6255
+ "line": 60
6370
6256
  },
6371
6257
  "parameters": [
6372
6258
  {
@@ -6383,7 +6269,7 @@
6383
6269
  "kind": "class",
6384
6270
  "locationInModule": {
6385
6271
  "filename": "src/steps/step.ts",
6386
- "line": 70
6272
+ "line": 54
6387
6273
  },
6388
6274
  "methods": [
6389
6275
  {
@@ -6394,7 +6280,7 @@
6394
6280
  },
6395
6281
  "locationInModule": {
6396
6282
  "filename": "src/steps/step.ts",
6397
- "line": 104
6283
+ "line": 81
6398
6284
  },
6399
6285
  "name": "toBash",
6400
6286
  "returns": {
@@ -6403,23 +6289,6 @@
6403
6289
  }
6404
6290
  }
6405
6291
  },
6406
- {
6407
- "docs": {
6408
- "remarks": "Should be implemented by subclasses.",
6409
- "stability": "stable",
6410
- "summary": "Generates a configuration for a CodeCatalyst Actions step."
6411
- },
6412
- "locationInModule": {
6413
- "filename": "src/steps/step.ts",
6414
- "line": 97
6415
- },
6416
- "name": "toCodeCatalyst",
6417
- "returns": {
6418
- "type": {
6419
- "fqn": "projen-pipelines.CodeCatalystStepConfig"
6420
- }
6421
- }
6422
- },
6423
6292
  {
6424
6293
  "docs": {
6425
6294
  "remarks": "Should be implemented by subclasses.",
@@ -6428,7 +6297,7 @@
6428
6297
  },
6429
6298
  "locationInModule": {
6430
6299
  "filename": "src/steps/step.ts",
6431
- "line": 90
6300
+ "line": 74
6432
6301
  },
6433
6302
  "name": "toGithub",
6434
6303
  "returns": {
@@ -6445,7 +6314,7 @@
6445
6314
  },
6446
6315
  "locationInModule": {
6447
6316
  "filename": "src/steps/step.ts",
6448
- "line": 83
6317
+ "line": 67
6449
6318
  },
6450
6319
  "name": "toGitlab",
6451
6320
  "returns": {
@@ -6464,7 +6333,7 @@
6464
6333
  },
6465
6334
  "locationInModule": {
6466
6335
  "filename": "src/steps/step.ts",
6467
- "line": 76
6336
+ "line": 60
6468
6337
  },
6469
6338
  "name": "project",
6470
6339
  "protected": true,
@@ -6588,7 +6457,7 @@
6588
6457
  },
6589
6458
  "locationInModule": {
6590
6459
  "filename": "src/steps/step.ts",
6591
- "line": 176
6460
+ "line": 143
6592
6461
  },
6593
6462
  "parameters": [
6594
6463
  {
@@ -6618,7 +6487,7 @@
6618
6487
  "kind": "class",
6619
6488
  "locationInModule": {
6620
6489
  "filename": "src/steps/step.ts",
6621
- "line": 175
6490
+ "line": 142
6622
6491
  },
6623
6492
  "name": "ProjenScriptStep",
6624
6493
  "symbolId": "src/steps/step:ProjenScriptStep"
@@ -6638,7 +6507,7 @@
6638
6507
  },
6639
6508
  "locationInModule": {
6640
6509
  "filename": "src/steps/step.ts",
6641
- "line": 122
6510
+ "line": 99
6642
6511
  },
6643
6512
  "parameters": [
6644
6513
  {
@@ -6681,7 +6550,7 @@
6681
6550
  "kind": "class",
6682
6551
  "locationInModule": {
6683
6552
  "filename": "src/steps/step.ts",
6684
- "line": 112
6553
+ "line": 89
6685
6554
  },
6686
6555
  "methods": [
6687
6556
  {
@@ -6691,7 +6560,7 @@
6691
6560
  },
6692
6561
  "locationInModule": {
6693
6562
  "filename": "src/steps/step.ts",
6694
- "line": 143
6563
+ "line": 120
6695
6564
  },
6696
6565
  "name": "toBash",
6697
6566
  "overrides": "projen-pipelines.PipelineStep",
@@ -6701,23 +6570,6 @@
6701
6570
  }
6702
6571
  }
6703
6572
  },
6704
- {
6705
- "docs": {
6706
- "stability": "stable",
6707
- "summary": "Converts the step into a CodeCatalyst Actions step configuration."
6708
- },
6709
- "locationInModule": {
6710
- "filename": "src/steps/step.ts",
6711
- "line": 166
6712
- },
6713
- "name": "toCodeCatalyst",
6714
- "overrides": "projen-pipelines.PipelineStep",
6715
- "returns": {
6716
- "type": {
6717
- "fqn": "projen-pipelines.CodeCatalystStepConfig"
6718
- }
6719
- }
6720
- },
6721
6573
  {
6722
6574
  "docs": {
6723
6575
  "stability": "stable",
@@ -6725,7 +6577,7 @@
6725
6577
  },
6726
6578
  "locationInModule": {
6727
6579
  "filename": "src/steps/step.ts",
6728
- "line": 155
6580
+ "line": 132
6729
6581
  },
6730
6582
  "name": "toGithub",
6731
6583
  "overrides": "projen-pipelines.PipelineStep",
@@ -6742,7 +6594,7 @@
6742
6594
  },
6743
6595
  "locationInModule": {
6744
6596
  "filename": "src/steps/step.ts",
6745
- "line": 131
6597
+ "line": 108
6746
6598
  },
6747
6599
  "name": "toGitlab",
6748
6600
  "overrides": "projen-pipelines.PipelineStep",
@@ -6761,7 +6613,7 @@
6761
6613
  },
6762
6614
  "locationInModule": {
6763
6615
  "filename": "src/steps/step.ts",
6764
- "line": 114
6616
+ "line": 91
6765
6617
  },
6766
6618
  "name": "commands",
6767
6619
  "protected": true,
@@ -6780,7 +6632,7 @@
6780
6632
  },
6781
6633
  "locationInModule": {
6782
6634
  "filename": "src/steps/step.ts",
6783
- "line": 115
6635
+ "line": 92
6784
6636
  },
6785
6637
  "name": "env",
6786
6638
  "protected": true,
@@ -6807,7 +6659,7 @@
6807
6659
  "kind": "interface",
6808
6660
  "locationInModule": {
6809
6661
  "filename": "src/awscdk/base.ts",
6810
- "line": 81
6662
+ "line": 90
6811
6663
  },
6812
6664
  "name": "StageOptions",
6813
6665
  "properties": [
@@ -6819,7 +6671,7 @@
6819
6671
  "immutable": true,
6820
6672
  "locationInModule": {
6821
6673
  "filename": "src/awscdk/base.ts",
6822
- "line": 82
6674
+ "line": 91
6823
6675
  },
6824
6676
  "name": "env",
6825
6677
  "type": {
@@ -6950,7 +6802,7 @@
6950
6802
  },
6951
6803
  "locationInModule": {
6952
6804
  "filename": "src/steps/step.ts",
6953
- "line": 191
6805
+ "line": 158
6954
6806
  },
6955
6807
  "parameters": [
6956
6808
  {
@@ -6981,7 +6833,7 @@
6981
6833
  "kind": "class",
6982
6834
  "locationInModule": {
6983
6835
  "filename": "src/steps/step.ts",
6984
- "line": 182
6836
+ "line": 149
6985
6837
  },
6986
6838
  "methods": [
6987
6839
  {
@@ -6990,7 +6842,7 @@
6990
6842
  },
6991
6843
  "locationInModule": {
6992
6844
  "filename": "src/steps/step.ts",
6993
- "line": 276
6845
+ "line": 223
6994
6846
  },
6995
6847
  "name": "addSteps",
6996
6848
  "parameters": [
@@ -7010,7 +6862,7 @@
7010
6862
  },
7011
6863
  "locationInModule": {
7012
6864
  "filename": "src/steps/step.ts",
7013
- "line": 280
6865
+ "line": 227
7014
6866
  },
7015
6867
  "name": "prependSteps",
7016
6868
  "parameters": [
@@ -7031,7 +6883,7 @@
7031
6883
  },
7032
6884
  "locationInModule": {
7033
6885
  "filename": "src/steps/step.ts",
7034
- "line": 222
6886
+ "line": 189
7035
6887
  },
7036
6888
  "name": "toBash",
7037
6889
  "overrides": "projen-pipelines.PipelineStep",
@@ -7041,23 +6893,6 @@
7041
6893
  }
7042
6894
  }
7043
6895
  },
7044
- {
7045
- "docs": {
7046
- "stability": "stable",
7047
- "summary": "Converts the sequence of steps into a CodeCatalyst Actions step configuration."
7048
- },
7049
- "locationInModule": {
7050
- "filename": "src/steps/step.ts",
7051
- "line": 259
7052
- },
7053
- "name": "toCodeCatalyst",
7054
- "overrides": "projen-pipelines.PipelineStep",
7055
- "returns": {
7056
- "type": {
7057
- "fqn": "projen-pipelines.CodeCatalystStepConfig"
7058
- }
7059
- }
7060
- },
7061
6896
  {
7062
6897
  "docs": {
7063
6898
  "stability": "stable",
@@ -7065,7 +6900,7 @@
7065
6900
  },
7066
6901
  "locationInModule": {
7067
6902
  "filename": "src/steps/step.ts",
7068
- "line": 234
6903
+ "line": 201
7069
6904
  },
7070
6905
  "name": "toGithub",
7071
6906
  "overrides": "projen-pipelines.PipelineStep",
@@ -7082,7 +6917,7 @@
7082
6917
  },
7083
6918
  "locationInModule": {
7084
6919
  "filename": "src/steps/step.ts",
7085
- "line": 199
6920
+ "line": 166
7086
6921
  },
7087
6922
  "name": "toGitlab",
7088
6923
  "overrides": "projen-pipelines.PipelineStep",
@@ -7101,7 +6936,7 @@
7101
6936
  },
7102
6937
  "locationInModule": {
7103
6938
  "filename": "src/steps/step.ts",
7104
- "line": 184
6939
+ "line": 151
7105
6940
  },
7106
6941
  "name": "steps",
7107
6942
  "protected": true,
@@ -7130,7 +6965,7 @@
7130
6965
  },
7131
6966
  "locationInModule": {
7132
6967
  "filename": "src/steps/artifact-steps.ts",
7133
- "line": 59
6968
+ "line": 49
7134
6969
  },
7135
6970
  "parameters": [
7136
6971
  {
@@ -7153,26 +6988,9 @@
7153
6988
  "kind": "class",
7154
6989
  "locationInModule": {
7155
6990
  "filename": "src/steps/artifact-steps.ts",
7156
- "line": 57
6991
+ "line": 47
7157
6992
  },
7158
6993
  "methods": [
7159
- {
7160
- "docs": {
7161
- "stability": "stable",
7162
- "summary": "Converts the step into a CodeCatalyst Actions step configuration."
7163
- },
7164
- "locationInModule": {
7165
- "filename": "src/steps/artifact-steps.ts",
7166
- "line": 81
7167
- },
7168
- "name": "toCodeCatalyst",
7169
- "overrides": "projen-pipelines.PipelineStep",
7170
- "returns": {
7171
- "type": {
7172
- "fqn": "projen-pipelines.CodeCatalystStepConfig"
7173
- }
7174
- }
7175
- },
7176
6994
  {
7177
6995
  "docs": {
7178
6996
  "remarks": "Should be implemented by subclasses.",
@@ -7181,7 +6999,7 @@
7181
6999
  },
7182
7000
  "locationInModule": {
7183
7001
  "filename": "src/steps/artifact-steps.ts",
7184
- "line": 63
7002
+ "line": 53
7185
7003
  },
7186
7004
  "name": "toGithub",
7187
7005
  "overrides": "projen-pipelines.PipelineStep",
@@ -7205,7 +7023,7 @@
7205
7023
  "kind": "interface",
7206
7024
  "locationInModule": {
7207
7025
  "filename": "src/steps/artifact-steps.ts",
7208
- "line": 52
7026
+ "line": 42
7209
7027
  },
7210
7028
  "name": "UploadArtifactStepConfig",
7211
7029
  "properties": [
@@ -7217,7 +7035,7 @@
7217
7035
  "immutable": true,
7218
7036
  "locationInModule": {
7219
7037
  "filename": "src/steps/artifact-steps.ts",
7220
- "line": 53
7038
+ "line": 43
7221
7039
  },
7222
7040
  "name": "name",
7223
7041
  "type": {
@@ -7232,7 +7050,7 @@
7232
7050
  "immutable": true,
7233
7051
  "locationInModule": {
7234
7052
  "filename": "src/steps/artifact-steps.ts",
7235
- "line": 54
7053
+ "line": 44
7236
7054
  },
7237
7055
  "name": "path",
7238
7056
  "type": {
@@ -8857,6 +8675,6 @@
8857
8675
  "symbolId": "src/versioning/types:VersioningStrategyComponents"
8858
8676
  }
8859
8677
  },
8860
- "version": "0.3.10",
8861
- "fingerprint": "Pkz3sbfdpbPrrCee6KXKmNnBzwTXzZWS/pfrZctHyVw="
8678
+ "version": "0.3.12",
8679
+ "fingerprint": "XUiMbu9neECFpJgQPB8M7yMHrpVbFRUomOqz4cca/e0="
8862
8680
  }