Skip to content

Conversation

@njuCZ
Copy link
Contributor

@njuCZ njuCZ commented Jun 25, 2023


This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally?

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

@azure-client-tools-bot-prd
Copy link

Hi @njuCZ,
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in setup.py as well.

@ghost ghost requested a review from yonzhan June 25, 2023 09:18
@ghost ghost added the Auto-Assign Auto assign by bot label Jun 25, 2023
@yonzhan
Copy link
Collaborator

yonzhan commented Jun 25, 2023

Thank you for your contribution! We will review the pull request and get back to you soon.

@ghost ghost requested review from wangzelin007 and yanzhudd June 25, 2023 09:18
@ghost ghost assigned zhoxing-ms Jun 25, 2023
@ghost ghost added the ContainerApp label Jun 25, 2023
@ghost ghost requested review from jsntcy and zhoxing-ms June 25, 2023 09:19
@njuCZ njuCZ force-pushed the user/njucz/add_termination_grace_period branch from 78ed7f3 to 5a6c69d Compare June 26, 2023 03:46
Copy link
Contributor

@Juliehzl Juliehzl Jun 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it supported in --yaml?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The termination_grace_period already existed in _sdk_models, so it is supported in --yaml.
@njuCZ Could you please add some test for property termination_grace_period in test_containerapp_create_with_yaml or add new test case?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only api-version >= 2023-04-01-preview support this property. we are still using python sdk 2022-11-01-preview, so it's not supported in --yaml

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can manual add this property

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@njuCZ njuCZ force-pushed the user/njucz/add_termination_grace_period branch from d235e5f to 8a58213 Compare June 26, 2023 07:41
@Greedygre
Copy link
Contributor

Greedygre commented Jun 26, 2023

Hi @zhoxing-ms
Could you please help to review this pr?
We have other PR rely on this, so could you please help?

@Greedygre Greedygre mentioned this pull request Jun 26, 2023
3 tasks
@njuCZ njuCZ force-pushed the user/njucz/add_termination_grace_period branch from 8a58213 to a74c5b3 Compare June 27, 2023 02:35
* Add 'az containerapp ingress cors' for CORS support
* 'az container app env create/update': support --enable-mtls parameter
* 'az containerapp up': fix issue where --repo throws KeyError
* 'az containerapp create/update': --termination-grace-period support custom termination grace period
Copy link
Contributor

@zhoxing-ms zhoxing-ms Jun 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not add the history note into an extension version which had already been released. Please take a look at this comment #6439 (comment)

Copy link
Contributor Author

@njuCZ njuCZ Jun 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this means support a new property when az containerapp create/update, do you think I need to make the description better?

Copy link
Contributor

@zhoxing-ms zhoxing-ms Jun 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want to release a new extension version for this PR, you need to upgrade the version defined in HISTORY.rst and setup.py.
If you don't want to release a new extension version, you can put the history note under Upcoming in HISTORY.rst.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I rebase main branch to fix a conflict just now

Copy link
Contributor Author

@njuCZ njuCZ Jun 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it seems US team released a new version last night... Have updated it

@zhoxing-ms zhoxing-ms merged commit 5c05bd2 into Azure:main Jun 27, 2023
@njuCZ njuCZ deleted the user/njucz/add_termination_grace_period branch July 18, 2023 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Auto-Assign Auto assign by bot ContainerApp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants