-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding a validation to check if base resources are already deployed. #184
Conversation
* updated changelog * markups --------- Co-authored-by: Jordan <[email protected]>
- Add examples - Minor rewording - Ensure all commands are preview
src/aosm/azext_aosm/definition_folder/reader/bicep_definition.py
Outdated
Show resolved
Hide resolved
src/aosm/azext_aosm/definition_folder/reader/bicep_definition.py
Outdated
Show resolved
Hide resolved
I think its a code smell that we are have so many if statement for instance checking, however, that's not on you to fix. We also do it in the artifact manifest exist code. You may need to run your azdev commands again now that I've asked you to change the target branch to b2 release. Could you also add to the PR if you have done any manual testing? Like successfully publishing an nfdv without skipping base and with? Looks good! |
You should also update the history.RST under the b2 release with your change |
Rakshita and I have chatted, we need to make a few changes before this is ready. Will rereview after that :) |
Looks good to me |
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
General Guidelines
azdev style <YOUR_EXT>
locally? (pip install azdev
required)python scripts/ci/test_index.py -q
locally? (pip install wheel==0.30.0
required)User story for this change
https://dev.azure.com/msazuredev/AzureForOperators/_workitems/edit/1161413
Ran the tests locally:
Ran the style test locally:
Ran the linter test locally:
Testing my deploying on portal
NFDV
When NFD group(or any base resource) is not present the base resources are redeployed
When all base resources are present then only NFDV get deployed
There is an improvement of ~ 4 mins in command runtime
NSDV
When NSD Group(or any base resource) is not present then all base resources are deployed
When all base resources are present then only CGS and NSDV get deployed
There is an improvement of ~ 4 mins in command runtime
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
.