Skip to content

Commit a989b11

Browse files
Releasing version 3.13.0
Releasing version 3.13.0
2 parents 4c14aba + ddeea8a commit a989b11

File tree

24 files changed

+2087
-71
lines changed

24 files changed

+2087
-71
lines changed

CHANGELOG.rst

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,60 @@ All notable changes to this project will be documented in this file.
66

77
The format is based on `Keep a Changelog <http://keepachangelog.com/>`__.
88

9+
3.13.0 - 2022-08-02
10+
--------------------
11+
Added
12+
~~~~~
13+
* Support for the Open Search service
14+
15+
* ``oci opensearch``
16+
17+
* Support for private repositories in the DevOps service
18+
19+
* Added support for DevOps Build connection resource for private repositories
20+
21+
* ``oci devops connection create-bitbucket-server-connection``
22+
* ``oci devops connection create-gitlab-server-connection``
23+
* ``oci devops connection update-bitbucket-server-connection``
24+
* ``oci devops connection update-gitlab-server-connection``
25+
26+
* Added support for DevOps Build trigger resource for private repositories
27+
28+
* ``oci devops trigger create-gitlab-server-trigger``
29+
* ``oci devops trigger create-bitbucket-server-trigger``
30+
* ``oci devops trigger update-bitbucket-server-trigger``
31+
* ``oci devops trigger update-gitlab-server-trigger``
32+
33+
* Added support for DevOps Build stage resource to use private connections
34+
35+
* ``oci devops build-pipeline-stage create-build-stage --network-channel``
36+
* ``oci devops build-pipeline-stage update-build-stage --network-channel``
37+
38+
Changed
39+
~~~~~~~
40+
* Changed --table-limits argument to optional in the NoSQL service
41+
42+
* ``oci nosql table create --table-limits``
43+
44+
* Changed loading json document to support case insensitive prefix (file://) for global parameter and all json loading commands
45+
46+
* ``--from-json``
47+
48+
* [BREAKING] Command and subgroup work-request-log list renamed in the Governance Rules Control Plane service
49+
50+
* ``oci governance-rules-control-plane work-request work-request-log-entry list-work-request-logs``
51+
52+
* [BREAKING] Subgroup work-request renamed in the Tenant Manager Control Plane service
53+
54+
* ``oci organizations work-request-log list``
55+
956
3.12.0 - 2022-07-26
1057
--------------------
1158
Added
1259
~~~~~
1360
* [BREAKING] Support for the Fusion Apps as a Service
1461

15-
* ``oci fusion-apps``
62+
* ``oci fusion-apps``
1663

1764
* Support for specifying size preference when requesting a Data Transfer Appliance in the Data Transfer Service
1865

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Jinja2==3.0.3
1414
jmespath==0.10.0
1515
ndg-httpsclient==0.4.2
1616
mock==2.0.0
17-
oci==2.76.0
17+
oci==2.77.0
1818
packaging==20.2
1919
pluggy==0.13.0
2020
py==1.10.0

services/devops/src/oci_cli_devops/devops_build_cli_extended.py

Lines changed: 102 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,13 @@ def create_build_pipeline_stage_create_wait_stage_details_extended(ctx, **kwargs
144144

145145
@cli_util.copy_params_from_generated_command(
146146
devops_cli.create_build_pipeline_stage_create_build_stage_details,
147-
params_to_exclude=['build_pipeline_stage_predecessor_collection'])
147+
params_to_exclude=['build_pipeline_stage_predecessor_collection', 'private_access_config'])
148148
@devops_cli.build_pipeline_stage_group.command(
149149
name=cli_util.override(
150150
'build_pipeline_stage.create_build_pipeline_stage_create_build_stage_details.command_name', 'create-build-stage'),
151151
help=devops_cli.create_build_pipeline_stage_create_build_stage_details.help)
152152
@cli_util.option('--stage-predecessor-collection', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
153+
@cli_util.option('--network-channel', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
153154
@click.pass_context
154155
@json_skeleton_utils.json_skeleton_generation_handler(
155156
input_params_to_complex_types={
@@ -160,6 +161,9 @@ def create_build_pipeline_stage_create_wait_stage_details_extended(ctx, **kwargs
160161
output_type={'module': 'devops', 'class': 'BuildPipelineStage'})
161162
@cli_util.wrap_exceptions
162163
def create_build_pipeline_stage_create_build_stage_details_extended(ctx, **kwargs):
164+
if 'network_channel' in kwargs:
165+
kwargs['private_access_config'] = kwargs['network_channel']
166+
kwargs.pop('network_channel')
163167
if 'stage_predecessor_collection' in kwargs:
164168
kwargs['build_pipeline_stage_predecessor_collection'] = kwargs['stage_predecessor_collection']
165169
kwargs.pop('stage_predecessor_collection')
@@ -245,13 +249,14 @@ def update_build_pipeline_stage_update_wait_stage_details_extended(ctx, **kwargs
245249

246250
@cli_util.copy_params_from_generated_command(
247251
devops_cli.update_build_pipeline_stage_update_build_stage_details,
248-
params_to_exclude=['build_pipeline_stage_id', 'build_pipeline_stage_predecessor_collection'])
252+
params_to_exclude=['build_pipeline_stage_id', 'build_pipeline_stage_predecessor_collection', 'private_access_config'])
249253
@devops_cli.build_pipeline_stage_group.command(
250254
name=cli_util.override(
251255
'build_pipeline_stage.update_build_pipeline_stage_update_build_stage_details.command_name', 'update-build-stage'),
252256
help=devops_cli.update_build_pipeline_stage_update_build_stage_details.help)
253257
@cli_util.option('--stage-id', required=True, help=u"""Unique stage identifier.""")
254258
@cli_util.option('--stage-predecessor-collection', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
259+
@cli_util.option('--network-channel', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
255260
@click.pass_context
256261
@json_skeleton_utils.json_skeleton_generation_handler(
257262
input_params_to_complex_types={
@@ -265,6 +270,9 @@ def update_build_pipeline_stage_update_build_stage_details_extended(ctx, **kwarg
265270
if 'stage_id' in kwargs:
266271
kwargs['build_pipeline_stage_id'] = kwargs['stage_id']
267272
kwargs.pop('stage_id')
273+
if 'network_channel' in kwargs:
274+
kwargs['private_access_config'] = kwargs['network_channel']
275+
kwargs.pop('network_channel')
268276
if 'stage_predecessor_collection' in kwargs:
269277
kwargs['build_pipeline_stage_predecessor_collection'] = kwargs['stage_predecessor_collection']
270278
kwargs.pop('stage_predecessor_collection')
@@ -1291,3 +1299,95 @@ def update_deploy_stage_update_oke_helm_chart_deploy_stage_details_extended(ctx,
12911299
kwargs.pop('stage_id')
12921300

12931301
ctx.invoke(devops_cli.update_deploy_stage_update_oke_helm_chart_deploy_stage_details, **kwargs)
1302+
1303+
1304+
# oci devops connection create-connection-create-bitbucket-server-access-token-connection-details -> oci devops connection create-bitbucket-server-connection
1305+
cli_util.rename_command(devops_cli, devops_cli.connection_group, devops_cli.create_connection_create_bitbucket_server_access_token_connection_details, "create-bitbucket-server-connection")
1306+
1307+
1308+
# oci devops connection create-connection-create-gitlab-server-access-token-connection-details -> oci devops connection create-gitlab-server-connection
1309+
cli_util.rename_command(devops_cli, devops_cli.connection_group, devops_cli.create_connection_create_gitlab_server_access_token_connection_details, "create-gitlab-server-connection")
1310+
1311+
1312+
# oci devops connection update-connection-update-bitbucket-server-access-token-connection-details -> oci devops connection update-bitbucket-server-connection
1313+
cli_util.rename_command(devops_cli, devops_cli.connection_group, devops_cli.update_connection_update_bitbucket_server_access_token_connection_details, "update-bitbucket-server-connection")
1314+
1315+
1316+
# oci devops connection update-connection-update-gitlab-server-access-token-connection-details -> oci devops connection update-gitlab-server-connection
1317+
cli_util.rename_command(devops_cli, devops_cli.connection_group, devops_cli.update_connection_update_gitlab_server_access_token_connection_details, "update-gitlab-server-connection")
1318+
1319+
1320+
# oci devops trigger create-trigger-create-bitbucket-server-trigger-details -> oci devops trigger create-bitbucket-server-trigger
1321+
cli_util.rename_command(devops_cli, devops_cli.trigger_group, devops_cli.create_trigger_create_bitbucket_server_trigger_details, "create-bitbucket-server-trigger")
1322+
1323+
1324+
# oci devops trigger create-trigger-create-gitlab-server-trigger-details -> oci devops trigger create-gitlab-server-trigger
1325+
cli_util.rename_command(devops_cli, devops_cli.trigger_group, devops_cli.create_trigger_create_gitlab_server_trigger_details, "create-gitlab-server-trigger")
1326+
1327+
1328+
# oci devops trigger update-trigger-update-bitbucket-server-trigger-details -> oci devops trigger update-bitbucket-server-trigger
1329+
cli_util.rename_command(devops_cli, devops_cli.trigger_group, devops_cli.update_trigger_update_bitbucket_server_trigger_details, "update-bitbucket-server-trigger")
1330+
1331+
1332+
# oci devops trigger update-trigger-update-gitlab-server-trigger-details -> oci devops trigger update-gitlab-server-trigger
1333+
cli_util.rename_command(devops_cli, devops_cli.trigger_group, devops_cli.update_trigger_update_gitlab_server_trigger_details, "update-gitlab-server-trigger")
1334+
1335+
1336+
@cli_util.copy_params_from_generated_command(devops_cli.create_connection_create_bitbucket_server_access_token_connection_details, params_to_exclude=['access_token'])
1337+
@devops_cli.connection_group.command(name=devops_cli.create_connection_create_bitbucket_server_access_token_connection_details.name, help=devops_cli.create_connection_create_bitbucket_server_access_token_connection_details.help)
1338+
@cli_util.option('--personal-access-token', required=True, help=u"""The OCID of personal access token saved in secret store. [required]""")
1339+
@click.pass_context
1340+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'devops', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'devops', 'class': 'dict(str, dict(str, object))'}, 'tls-verify-config': {'module': 'devops', 'class': 'TlsVerifyConfig'}}, output_type={'module': 'devops', 'class': 'Connection'})
1341+
@cli_util.wrap_exceptions
1342+
def create_connection_create_bitbucket_server_access_token_connection_details_extended(ctx, **kwargs):
1343+
1344+
if 'personal_access_token' in kwargs:
1345+
kwargs['access_token'] = kwargs['personal_access_token']
1346+
kwargs.pop('personal_access_token')
1347+
1348+
ctx.invoke(devops_cli.create_connection_create_bitbucket_server_access_token_connection_details, **kwargs)
1349+
1350+
1351+
@cli_util.copy_params_from_generated_command(devops_cli.create_connection_create_gitlab_server_access_token_connection_details, params_to_exclude=['access_token'])
1352+
@devops_cli.connection_group.command(name=devops_cli.create_connection_create_gitlab_server_access_token_connection_details.name, help=devops_cli.create_connection_create_gitlab_server_access_token_connection_details.help)
1353+
@cli_util.option('--personal-access-token', required=True, help=u"""The OCID of personal access token saved in secret store. [required]""")
1354+
@click.pass_context
1355+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'devops', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'devops', 'class': 'dict(str, dict(str, object))'}, 'tls-verify-config': {'module': 'devops', 'class': 'TlsVerifyConfig'}}, output_type={'module': 'devops', 'class': 'Connection'})
1356+
@cli_util.wrap_exceptions
1357+
def create_connection_create_gitlab_server_access_token_connection_details_extended(ctx, **kwargs):
1358+
1359+
if 'personal_access_token' in kwargs:
1360+
kwargs['access_token'] = kwargs['personal_access_token']
1361+
kwargs.pop('personal_access_token')
1362+
1363+
ctx.invoke(devops_cli.create_connection_create_gitlab_server_access_token_connection_details, **kwargs)
1364+
1365+
1366+
@cli_util.copy_params_from_generated_command(devops_cli.update_connection_update_bitbucket_server_access_token_connection_details, params_to_exclude=['access_token'])
1367+
@devops_cli.connection_group.command(name=devops_cli.update_connection_update_bitbucket_server_access_token_connection_details.name, help=devops_cli.update_connection_update_bitbucket_server_access_token_connection_details.help)
1368+
@cli_util.option('--personal-access-token', help=u"""OCID of personal access token saved in secret store""")
1369+
@click.pass_context
1370+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'devops', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'devops', 'class': 'dict(str, dict(str, object))'}, 'tls-verify-config': {'module': 'devops', 'class': 'TlsVerifyConfig'}}, output_type={'module': 'devops', 'class': 'Connection'})
1371+
@cli_util.wrap_exceptions
1372+
def update_connection_update_bitbucket_server_access_token_connection_details_extended(ctx, **kwargs):
1373+
1374+
if 'personal_access_token' in kwargs:
1375+
kwargs['access_token'] = kwargs['personal_access_token']
1376+
kwargs.pop('personal_access_token')
1377+
1378+
ctx.invoke(devops_cli.update_connection_update_bitbucket_server_access_token_connection_details, **kwargs)
1379+
1380+
1381+
@cli_util.copy_params_from_generated_command(devops_cli.update_connection_update_gitlab_server_access_token_connection_details, params_to_exclude=['access_token'])
1382+
@devops_cli.connection_group.command(name=devops_cli.update_connection_update_gitlab_server_access_token_connection_details.name, help=devops_cli.update_connection_update_gitlab_server_access_token_connection_details.help)
1383+
@cli_util.option('--personal-access-token', help=u"""The OCID of personal access token saved in secret store.""")
1384+
@click.pass_context
1385+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'devops', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'devops', 'class': 'dict(str, dict(str, object))'}, 'tls-verify-config': {'module': 'devops', 'class': 'TlsVerifyConfig'}}, output_type={'module': 'devops', 'class': 'Connection'})
1386+
@cli_util.wrap_exceptions
1387+
def update_connection_update_gitlab_server_access_token_connection_details_extended(ctx, **kwargs):
1388+
1389+
if 'personal_access_token' in kwargs:
1390+
kwargs['access_token'] = kwargs['personal_access_token']
1391+
kwargs.pop('personal_access_token')
1392+
1393+
ctx.invoke(devops_cli.update_connection_update_gitlab_server_access_token_connection_details, **kwargs)

0 commit comments

Comments
 (0)