projen 0.95.1__tar.gz → 0.95.2__tar.gz
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.
Potentially problematic release.
This version of projen might be problematic. Click here for more details.
- {projen-0.95.1/src/projen.egg-info → projen-0.95.2}/PKG-INFO +1 -1
- {projen-0.95.1 → projen-0.95.2}/setup.py +2 -2
- {projen-0.95.1 → projen-0.95.2}/src/projen/_jsii/__init__.py +1 -1
- {projen-0.95.1 → projen-0.95.2}/src/projen/_jsii/bin/projen +1 -1
- projen-0.95.2/src/projen/_jsii/projen@0.95.2.jsii.tgz +0 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen/awscdk/__init__.py +81 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen/cdk/__init__.py +146 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen/cdk8s/__init__.py +54 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen/cdktf/__init__.py +27 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen/github/__init__.py +46 -2
- {projen-0.95.1 → projen-0.95.2}/src/projen/javascript/__init__.py +52 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen/release/__init__.py +374 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen/typescript/__init__.py +57 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen/web/__init__.py +108 -0
- {projen-0.95.1 → projen-0.95.2/src/projen.egg-info}/PKG-INFO +1 -1
- {projen-0.95.1 → projen-0.95.2}/src/projen.egg-info/SOURCES.txt +1 -1
- projen-0.95.1/src/projen/_jsii/projen@0.95.1.jsii.tgz +0 -0
- {projen-0.95.1 → projen-0.95.2}/LICENSE +0 -0
- {projen-0.95.1 → projen-0.95.2}/MANIFEST.in +0 -0
- {projen-0.95.1 → projen-0.95.2}/README.md +0 -0
- {projen-0.95.1 → projen-0.95.2}/pyproject.toml +0 -0
- {projen-0.95.1 → projen-0.95.2}/setup.cfg +0 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen/__init__.py +0 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen/build/__init__.py +0 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen/circleci/__init__.py +0 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen/github/workflows/__init__.py +0 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen/gitlab/__init__.py +0 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen/java/__init__.py +0 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen/javascript/biome_config/__init__.py +0 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen/py.typed +0 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen/python/__init__.py +0 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen/vscode/__init__.py +0 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen.egg-info/dependency_links.txt +0 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen.egg-info/requires.txt +0 -0
- {projen-0.95.1 → projen-0.95.2}/src/projen.egg-info/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "projen",
|
|
8
|
-
"version": "0.95.
|
|
8
|
+
"version": "0.95.2",
|
|
9
9
|
"description": "CDK for software projects",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"url": "https://github.com/projen/projen.git",
|
|
@@ -43,7 +43,7 @@ kwargs = json.loads(
|
|
|
43
43
|
],
|
|
44
44
|
"package_data": {
|
|
45
45
|
"projen._jsii": [
|
|
46
|
-
"projen@0.95.
|
|
46
|
+
"projen@0.95.2.jsii.tgz"
|
|
47
47
|
],
|
|
48
48
|
"projen": [
|
|
49
49
|
"py.typed"
|
|
@@ -31,7 +31,7 @@ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing
|
|
|
31
31
|
import constructs._jsii
|
|
32
32
|
|
|
33
33
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
34
|
-
"projen", "0.95.
|
|
34
|
+
"projen", "0.95.2", __name__[0:-6], "projen@0.95.2.jsii.tgz"
|
|
35
35
|
)
|
|
36
36
|
|
|
37
37
|
__all__ = [
|
|
@@ -8,7 +8,7 @@ if "JSII_RUNTIME_PACKAGE_CACHE" not in os.environ:
|
|
|
8
8
|
os.environ["JSII_RUNTIME_PACKAGE_CACHE"] = "disabled"
|
|
9
9
|
|
|
10
10
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
11
|
-
"projen", "0.95.
|
|
11
|
+
"projen", "0.95.2", "projen", "projen@0.95.2.jsii.tgz"
|
|
12
12
|
)
|
|
13
13
|
|
|
14
14
|
exit_code = __jsii_assembly__.invokeBinScript("projen", "projen", sys.argv[1:])
|
|
Binary file
|
|
@@ -441,6 +441,7 @@ class AwsCdkConstructLibrary(
|
|
|
441
441
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
442
442
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
443
443
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
444
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
444
445
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
445
446
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
446
447
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
@@ -625,6 +626,7 @@ class AwsCdkConstructLibrary(
|
|
|
625
626
|
:param publish_tasks: (experimental) Define publishing tasks that can be executed manually as well as workflows. Normally, publishing only happens within automated workflows. Enable this in order to create a publishing task for each publishing activity. Default: false
|
|
626
627
|
:param releasable_commits: (experimental) Find commits that should be considered releasable Used to decide if a release is required. Default: ReleasableCommits.everyCommit()
|
|
627
628
|
:param release_branches: (experimental) Defines additional release branches. A workflow will be created for each release branch which will publish releases from commits in this branch. Each release branch *must* be assigned a major version number which is used to enforce that versions published from that branch always use that major version. If multiple branches are used, the ``majorVersion`` field must also be provided for the default branch. Default: - no additional branches are used for release. you can use ``addBranch()`` to add additional branches.
|
|
629
|
+
:param release_environment: (experimental) The GitHub Actions environment used for the release. This can be used to add an explicit approval step to the release or limit who can initiate a release through environment protection rules. When multiple artifacts are released, the environment can be overwritten on a per artifact basis. Default: - no environment used, unless set at the artifact level
|
|
628
630
|
:param release_every_commit: (deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``. Default: true
|
|
629
631
|
:param release_failure_issue: (experimental) Create a github issue on every failed publishing task. Default: false
|
|
630
632
|
:param release_failure_issue_label: (experimental) The label to apply to issues indicating publish failures. Only applies if ``releaseFailureIssue`` is true. Default: "failed-release"
|
|
@@ -811,6 +813,7 @@ class AwsCdkConstructLibrary(
|
|
|
811
813
|
publish_tasks=publish_tasks,
|
|
812
814
|
releasable_commits=releasable_commits,
|
|
813
815
|
release_branches=release_branches,
|
|
816
|
+
release_environment=release_environment,
|
|
814
817
|
release_every_commit=release_every_commit,
|
|
815
818
|
release_failure_issue=release_failure_issue,
|
|
816
819
|
release_failure_issue_label=release_failure_issue_label,
|
|
@@ -2587,6 +2590,7 @@ class AwsCdkTypeScriptApp(
|
|
|
2587
2590
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
2588
2591
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
2589
2592
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2593
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
2590
2594
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
2591
2595
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
2592
2596
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
@@ -2763,6 +2767,7 @@ class AwsCdkTypeScriptApp(
|
|
|
2763
2767
|
:param publish_tasks: (experimental) Define publishing tasks that can be executed manually as well as workflows. Normally, publishing only happens within automated workflows. Enable this in order to create a publishing task for each publishing activity. Default: false
|
|
2764
2768
|
:param releasable_commits: (experimental) Find commits that should be considered releasable Used to decide if a release is required. Default: ReleasableCommits.everyCommit()
|
|
2765
2769
|
:param release_branches: (experimental) Defines additional release branches. A workflow will be created for each release branch which will publish releases from commits in this branch. Each release branch *must* be assigned a major version number which is used to enforce that versions published from that branch always use that major version. If multiple branches are used, the ``majorVersion`` field must also be provided for the default branch. Default: - no additional branches are used for release. you can use ``addBranch()`` to add additional branches.
|
|
2770
|
+
:param release_environment: (experimental) The GitHub Actions environment used for the release. This can be used to add an explicit approval step to the release or limit who can initiate a release through environment protection rules. When multiple artifacts are released, the environment can be overwritten on a per artifact basis. Default: - no environment used, unless set at the artifact level
|
|
2766
2771
|
:param release_every_commit: (deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``. Default: true
|
|
2767
2772
|
:param release_failure_issue: (experimental) Create a github issue on every failed publishing task. Default: false
|
|
2768
2773
|
:param release_failure_issue_label: (experimental) The label to apply to issues indicating publish failures. Only applies if ``releaseFailureIssue`` is true. Default: "failed-release"
|
|
@@ -2941,6 +2946,7 @@ class AwsCdkTypeScriptApp(
|
|
|
2941
2946
|
publish_tasks=publish_tasks,
|
|
2942
2947
|
releasable_commits=releasable_commits,
|
|
2943
2948
|
release_branches=release_branches,
|
|
2949
|
+
release_environment=release_environment,
|
|
2944
2950
|
release_every_commit=release_every_commit,
|
|
2945
2951
|
release_failure_issue=release_failure_issue,
|
|
2946
2952
|
release_failure_issue_label=release_failure_issue_label,
|
|
@@ -3716,6 +3722,7 @@ class ConstructLibraryAws(
|
|
|
3716
3722
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
3717
3723
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
3718
3724
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3725
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
3719
3726
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
3720
3727
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
3721
3728
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
@@ -3900,6 +3907,7 @@ class ConstructLibraryAws(
|
|
|
3900
3907
|
:param publish_tasks: (experimental) Define publishing tasks that can be executed manually as well as workflows. Normally, publishing only happens within automated workflows. Enable this in order to create a publishing task for each publishing activity. Default: false
|
|
3901
3908
|
:param releasable_commits: (experimental) Find commits that should be considered releasable Used to decide if a release is required. Default: ReleasableCommits.everyCommit()
|
|
3902
3909
|
:param release_branches: (experimental) Defines additional release branches. A workflow will be created for each release branch which will publish releases from commits in this branch. Each release branch *must* be assigned a major version number which is used to enforce that versions published from that branch always use that major version. If multiple branches are used, the ``majorVersion`` field must also be provided for the default branch. Default: - no additional branches are used for release. you can use ``addBranch()`` to add additional branches.
|
|
3910
|
+
:param release_environment: (experimental) The GitHub Actions environment used for the release. This can be used to add an explicit approval step to the release or limit who can initiate a release through environment protection rules. When multiple artifacts are released, the environment can be overwritten on a per artifact basis. Default: - no environment used, unless set at the artifact level
|
|
3903
3911
|
:param release_every_commit: (deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``. Default: true
|
|
3904
3912
|
:param release_failure_issue: (experimental) Create a github issue on every failed publishing task. Default: false
|
|
3905
3913
|
:param release_failure_issue_label: (experimental) The label to apply to issues indicating publish failures. Only applies if ``releaseFailureIssue`` is true. Default: "failed-release"
|
|
@@ -4086,6 +4094,7 @@ class ConstructLibraryAws(
|
|
|
4086
4094
|
publish_tasks=publish_tasks,
|
|
4087
4095
|
releasable_commits=releasable_commits,
|
|
4088
4096
|
release_branches=release_branches,
|
|
4097
|
+
release_environment=release_environment,
|
|
4089
4098
|
release_every_commit=release_every_commit,
|
|
4090
4099
|
release_failure_issue=release_failure_issue,
|
|
4091
4100
|
release_failure_issue_label=release_failure_issue_label,
|
|
@@ -6113,6 +6122,7 @@ class AutoDiscoverOptions(
|
|
|
6113
6122
|
"publish_tasks": "publishTasks",
|
|
6114
6123
|
"releasable_commits": "releasableCommits",
|
|
6115
6124
|
"release_branches": "releaseBranches",
|
|
6125
|
+
"release_environment": "releaseEnvironment",
|
|
6116
6126
|
"release_every_commit": "releaseEveryCommit",
|
|
6117
6127
|
"release_failure_issue": "releaseFailureIssue",
|
|
6118
6128
|
"release_failure_issue_label": "releaseFailureIssueLabel",
|
|
@@ -6304,6 +6314,7 @@ class AwsCdkConstructLibraryOptions(
|
|
|
6304
6314
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
6305
6315
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
6306
6316
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6317
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
6307
6318
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
6308
6319
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
6309
6320
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
@@ -6489,6 +6500,7 @@ class AwsCdkConstructLibraryOptions(
|
|
|
6489
6500
|
:param publish_tasks: (experimental) Define publishing tasks that can be executed manually as well as workflows. Normally, publishing only happens within automated workflows. Enable this in order to create a publishing task for each publishing activity. Default: false
|
|
6490
6501
|
:param releasable_commits: (experimental) Find commits that should be considered releasable Used to decide if a release is required. Default: ReleasableCommits.everyCommit()
|
|
6491
6502
|
:param release_branches: (experimental) Defines additional release branches. A workflow will be created for each release branch which will publish releases from commits in this branch. Each release branch *must* be assigned a major version number which is used to enforce that versions published from that branch always use that major version. If multiple branches are used, the ``majorVersion`` field must also be provided for the default branch. Default: - no additional branches are used for release. you can use ``addBranch()`` to add additional branches.
|
|
6503
|
+
:param release_environment: (experimental) The GitHub Actions environment used for the release. This can be used to add an explicit approval step to the release or limit who can initiate a release through environment protection rules. When multiple artifacts are released, the environment can be overwritten on a per artifact basis. Default: - no environment used, unless set at the artifact level
|
|
6492
6504
|
:param release_every_commit: (deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``. Default: true
|
|
6493
6505
|
:param release_failure_issue: (experimental) Create a github issue on every failed publishing task. Default: false
|
|
6494
6506
|
:param release_failure_issue_label: (experimental) The label to apply to issues indicating publish failures. Only applies if ``releaseFailureIssue`` is true. Default: "failed-release"
|
|
@@ -6756,6 +6768,7 @@ class AwsCdkConstructLibraryOptions(
|
|
|
6756
6768
|
check_type(argname="argument publish_tasks", value=publish_tasks, expected_type=type_hints["publish_tasks"])
|
|
6757
6769
|
check_type(argname="argument releasable_commits", value=releasable_commits, expected_type=type_hints["releasable_commits"])
|
|
6758
6770
|
check_type(argname="argument release_branches", value=release_branches, expected_type=type_hints["release_branches"])
|
|
6771
|
+
check_type(argname="argument release_environment", value=release_environment, expected_type=type_hints["release_environment"])
|
|
6759
6772
|
check_type(argname="argument release_every_commit", value=release_every_commit, expected_type=type_hints["release_every_commit"])
|
|
6760
6773
|
check_type(argname="argument release_failure_issue", value=release_failure_issue, expected_type=type_hints["release_failure_issue"])
|
|
6761
6774
|
check_type(argname="argument release_failure_issue_label", value=release_failure_issue_label, expected_type=type_hints["release_failure_issue_label"])
|
|
@@ -7023,6 +7036,8 @@ class AwsCdkConstructLibraryOptions(
|
|
|
7023
7036
|
self._values["releasable_commits"] = releasable_commits
|
|
7024
7037
|
if release_branches is not None:
|
|
7025
7038
|
self._values["release_branches"] = release_branches
|
|
7039
|
+
if release_environment is not None:
|
|
7040
|
+
self._values["release_environment"] = release_environment
|
|
7026
7041
|
if release_every_commit is not None:
|
|
7027
7042
|
self._values["release_every_commit"] = release_every_commit
|
|
7028
7043
|
if release_failure_issue is not None:
|
|
@@ -8254,6 +8269,23 @@ class AwsCdkConstructLibraryOptions(
|
|
|
8254
8269
|
result = self._values.get("release_branches")
|
|
8255
8270
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, _BranchOptions_13663d08]], result)
|
|
8256
8271
|
|
|
8272
|
+
@builtins.property
|
|
8273
|
+
def release_environment(self) -> typing.Optional[builtins.str]:
|
|
8274
|
+
'''(experimental) The GitHub Actions environment used for the release.
|
|
8275
|
+
|
|
8276
|
+
This can be used to add an explicit approval step to the release
|
|
8277
|
+
or limit who can initiate a release through environment protection rules.
|
|
8278
|
+
|
|
8279
|
+
When multiple artifacts are released, the environment can be overwritten
|
|
8280
|
+
on a per artifact basis.
|
|
8281
|
+
|
|
8282
|
+
:default: - no environment used, unless set at the artifact level
|
|
8283
|
+
|
|
8284
|
+
:stability: experimental
|
|
8285
|
+
'''
|
|
8286
|
+
result = self._values.get("release_environment")
|
|
8287
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8288
|
+
|
|
8257
8289
|
@builtins.property
|
|
8258
8290
|
def release_every_commit(self) -> typing.Optional[builtins.bool]:
|
|
8259
8291
|
'''(deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``.
|
|
@@ -12312,6 +12344,7 @@ class AwsCdkPythonAppOptions(
|
|
|
12312
12344
|
"publish_tasks": "publishTasks",
|
|
12313
12345
|
"releasable_commits": "releasableCommits",
|
|
12314
12346
|
"release_branches": "releaseBranches",
|
|
12347
|
+
"release_environment": "releaseEnvironment",
|
|
12315
12348
|
"release_every_commit": "releaseEveryCommit",
|
|
12316
12349
|
"release_failure_issue": "releaseFailureIssue",
|
|
12317
12350
|
"release_failure_issue_label": "releaseFailureIssueLabel",
|
|
@@ -12496,6 +12529,7 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
12496
12529
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
12497
12530
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
12498
12531
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12532
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
12499
12533
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
12500
12534
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
12501
12535
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
@@ -12672,6 +12706,7 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
12672
12706
|
:param publish_tasks: (experimental) Define publishing tasks that can be executed manually as well as workflows. Normally, publishing only happens within automated workflows. Enable this in order to create a publishing task for each publishing activity. Default: false
|
|
12673
12707
|
:param releasable_commits: (experimental) Find commits that should be considered releasable Used to decide if a release is required. Default: ReleasableCommits.everyCommit()
|
|
12674
12708
|
:param release_branches: (experimental) Defines additional release branches. A workflow will be created for each release branch which will publish releases from commits in this branch. Each release branch *must* be assigned a major version number which is used to enforce that versions published from that branch always use that major version. If multiple branches are used, the ``majorVersion`` field must also be provided for the default branch. Default: - no additional branches are used for release. you can use ``addBranch()`` to add additional branches.
|
|
12709
|
+
:param release_environment: (experimental) The GitHub Actions environment used for the release. This can be used to add an explicit approval step to the release or limit who can initiate a release through environment protection rules. When multiple artifacts are released, the environment can be overwritten on a per artifact basis. Default: - no environment used, unless set at the artifact level
|
|
12675
12710
|
:param release_every_commit: (deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``. Default: true
|
|
12676
12711
|
:param release_failure_issue: (experimental) Create a github issue on every failed publishing task. Default: false
|
|
12677
12712
|
:param release_failure_issue_label: (experimental) The label to apply to issues indicating publish failures. Only applies if ``releaseFailureIssue`` is true. Default: "failed-release"
|
|
@@ -12917,6 +12952,7 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
12917
12952
|
check_type(argname="argument publish_tasks", value=publish_tasks, expected_type=type_hints["publish_tasks"])
|
|
12918
12953
|
check_type(argname="argument releasable_commits", value=releasable_commits, expected_type=type_hints["releasable_commits"])
|
|
12919
12954
|
check_type(argname="argument release_branches", value=release_branches, expected_type=type_hints["release_branches"])
|
|
12955
|
+
check_type(argname="argument release_environment", value=release_environment, expected_type=type_hints["release_environment"])
|
|
12920
12956
|
check_type(argname="argument release_every_commit", value=release_every_commit, expected_type=type_hints["release_every_commit"])
|
|
12921
12957
|
check_type(argname="argument release_failure_issue", value=release_failure_issue, expected_type=type_hints["release_failure_issue"])
|
|
12922
12958
|
check_type(argname="argument release_failure_issue_label", value=release_failure_issue_label, expected_type=type_hints["release_failure_issue_label"])
|
|
@@ -13173,6 +13209,8 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
13173
13209
|
self._values["releasable_commits"] = releasable_commits
|
|
13174
13210
|
if release_branches is not None:
|
|
13175
13211
|
self._values["release_branches"] = release_branches
|
|
13212
|
+
if release_environment is not None:
|
|
13213
|
+
self._values["release_environment"] = release_environment
|
|
13176
13214
|
if release_every_commit is not None:
|
|
13177
13215
|
self._values["release_every_commit"] = release_every_commit
|
|
13178
13216
|
if release_failure_issue is not None:
|
|
@@ -14394,6 +14432,23 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
14394
14432
|
result = self._values.get("release_branches")
|
|
14395
14433
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, _BranchOptions_13663d08]], result)
|
|
14396
14434
|
|
|
14435
|
+
@builtins.property
|
|
14436
|
+
def release_environment(self) -> typing.Optional[builtins.str]:
|
|
14437
|
+
'''(experimental) The GitHub Actions environment used for the release.
|
|
14438
|
+
|
|
14439
|
+
This can be used to add an explicit approval step to the release
|
|
14440
|
+
or limit who can initiate a release through environment protection rules.
|
|
14441
|
+
|
|
14442
|
+
When multiple artifacts are released, the environment can be overwritten
|
|
14443
|
+
on a per artifact basis.
|
|
14444
|
+
|
|
14445
|
+
:default: - no environment used, unless set at the artifact level
|
|
14446
|
+
|
|
14447
|
+
:stability: experimental
|
|
14448
|
+
'''
|
|
14449
|
+
result = self._values.get("release_environment")
|
|
14450
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
14451
|
+
|
|
14397
14452
|
@builtins.property
|
|
14398
14453
|
def release_every_commit(self) -> typing.Optional[builtins.bool]:
|
|
14399
14454
|
'''(deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``.
|
|
@@ -15606,6 +15661,7 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
15606
15661
|
"publish_tasks": "publishTasks",
|
|
15607
15662
|
"releasable_commits": "releasableCommits",
|
|
15608
15663
|
"release_branches": "releaseBranches",
|
|
15664
|
+
"release_environment": "releaseEnvironment",
|
|
15609
15665
|
"release_every_commit": "releaseEveryCommit",
|
|
15610
15666
|
"release_failure_issue": "releaseFailureIssue",
|
|
15611
15667
|
"release_failure_issue_label": "releaseFailureIssueLabel",
|
|
@@ -15794,6 +15850,7 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
15794
15850
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
15795
15851
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
15796
15852
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15853
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
15797
15854
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
15798
15855
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
15799
15856
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
@@ -15978,6 +16035,7 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
15978
16035
|
:param publish_tasks: (experimental) Define publishing tasks that can be executed manually as well as workflows. Normally, publishing only happens within automated workflows. Enable this in order to create a publishing task for each publishing activity. Default: false
|
|
15979
16036
|
:param releasable_commits: (experimental) Find commits that should be considered releasable Used to decide if a release is required. Default: ReleasableCommits.everyCommit()
|
|
15980
16037
|
:param release_branches: (experimental) Defines additional release branches. A workflow will be created for each release branch which will publish releases from commits in this branch. Each release branch *must* be assigned a major version number which is used to enforce that versions published from that branch always use that major version. If multiple branches are used, the ``majorVersion`` field must also be provided for the default branch. Default: - no additional branches are used for release. you can use ``addBranch()`` to add additional branches.
|
|
16038
|
+
:param release_environment: (experimental) The GitHub Actions environment used for the release. This can be used to add an explicit approval step to the release or limit who can initiate a release through environment protection rules. When multiple artifacts are released, the environment can be overwritten on a per artifact basis. Default: - no environment used, unless set at the artifact level
|
|
15981
16039
|
:param release_every_commit: (deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``. Default: true
|
|
15982
16040
|
:param release_failure_issue: (experimental) Create a github issue on every failed publishing task. Default: false
|
|
15983
16041
|
:param release_failure_issue_label: (experimental) The label to apply to issues indicating publish failures. Only applies if ``releaseFailureIssue`` is true. Default: "failed-release"
|
|
@@ -16247,6 +16305,7 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
16247
16305
|
check_type(argname="argument publish_tasks", value=publish_tasks, expected_type=type_hints["publish_tasks"])
|
|
16248
16306
|
check_type(argname="argument releasable_commits", value=releasable_commits, expected_type=type_hints["releasable_commits"])
|
|
16249
16307
|
check_type(argname="argument release_branches", value=release_branches, expected_type=type_hints["release_branches"])
|
|
16308
|
+
check_type(argname="argument release_environment", value=release_environment, expected_type=type_hints["release_environment"])
|
|
16250
16309
|
check_type(argname="argument release_every_commit", value=release_every_commit, expected_type=type_hints["release_every_commit"])
|
|
16251
16310
|
check_type(argname="argument release_failure_issue", value=release_failure_issue, expected_type=type_hints["release_failure_issue"])
|
|
16252
16311
|
check_type(argname="argument release_failure_issue_label", value=release_failure_issue_label, expected_type=type_hints["release_failure_issue_label"])
|
|
@@ -16514,6 +16573,8 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
16514
16573
|
self._values["releasable_commits"] = releasable_commits
|
|
16515
16574
|
if release_branches is not None:
|
|
16516
16575
|
self._values["release_branches"] = release_branches
|
|
16576
|
+
if release_environment is not None:
|
|
16577
|
+
self._values["release_environment"] = release_environment
|
|
16517
16578
|
if release_every_commit is not None:
|
|
16518
16579
|
self._values["release_every_commit"] = release_every_commit
|
|
16519
16580
|
if release_failure_issue is not None:
|
|
@@ -17745,6 +17806,23 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
17745
17806
|
result = self._values.get("release_branches")
|
|
17746
17807
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, _BranchOptions_13663d08]], result)
|
|
17747
17808
|
|
|
17809
|
+
@builtins.property
|
|
17810
|
+
def release_environment(self) -> typing.Optional[builtins.str]:
|
|
17811
|
+
'''(experimental) The GitHub Actions environment used for the release.
|
|
17812
|
+
|
|
17813
|
+
This can be used to add an explicit approval step to the release
|
|
17814
|
+
or limit who can initiate a release through environment protection rules.
|
|
17815
|
+
|
|
17816
|
+
When multiple artifacts are released, the environment can be overwritten
|
|
17817
|
+
on a per artifact basis.
|
|
17818
|
+
|
|
17819
|
+
:default: - no environment used, unless set at the artifact level
|
|
17820
|
+
|
|
17821
|
+
:stability: experimental
|
|
17822
|
+
'''
|
|
17823
|
+
result = self._values.get("release_environment")
|
|
17824
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
17825
|
+
|
|
17748
17826
|
@builtins.property
|
|
17749
17827
|
def release_every_commit(self) -> typing.Optional[builtins.bool]:
|
|
17750
17828
|
'''(deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``.
|
|
@@ -19573,6 +19651,7 @@ def _typecheckingstub__afd0fb486a35fef51bf540cdcd69366795c03710cee73c0b5a81431a8
|
|
|
19573
19651
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
19574
19652
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
19575
19653
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
19654
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
19576
19655
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
19577
19656
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
19578
19657
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
@@ -19913,6 +19992,7 @@ def _typecheckingstub__d4516e51d77bf8bd5807e45e842cd19fa87c9a6d72e4f7d0caead33d3
|
|
|
19913
19992
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
19914
19993
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
19915
19994
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
19995
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
19916
19996
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
19917
19997
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
19918
19998
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
@@ -20093,6 +20173,7 @@ def _typecheckingstub__53f11e06b68a1910463459774b89205819af9292d548e5215ddd85989
|
|
|
20093
20173
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
20094
20174
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
20095
20175
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20176
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
20096
20177
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
20097
20178
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
20098
20179
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|