Skip to content
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

Get upstream updates for lima extension #7

Merged
merged 174 commits into from
Sep 30, 2021

Conversation

StrawnSC
Copy link
Collaborator


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

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 PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

jonathan-innis and others added 30 commits July 22, 2021 11:08
* Create pull.yml

* Update pull.yml

* Update azure-pipelines.yml

* Initial commit of k8s-extension

* Update pipelines file

* Update CODEOWNERS

* Update private preview pipelines

* Remove open service mesh from public release

* Update pipeline files

* Update public extension pipeline

* Change condition variable

* Add version to public preview/private preview

* Update pipelines

* Add different testing based on private branch

* Add annotations to extension model

* Update k8s-custom-pipelines.yml

* Update SDKs with Updated Swagger Spec for 2020-07-01-preview (#13)

* Update sdks with updated swagger spec

* Update version and history rst

* Reorder release history timeline

* Fix ExtensionInstanceForCreate for import

* remove py2 bdist support

* Add custom table formatting

* Remove unnecessary files

* Fix style issues

* Fix branch based on comments

* Update identity piece manually

* Don't handle defaults at the CLI level

* Remove defaults from CLI client

* Check null target namespace with namespace scope

* Update style

* Add cassandra operator and location to model

* Stage Public Version of k8s-extension 0.2.0 for official release (#15)

* Create pull.yml

* Update pull.yml

* Update azure-pipelines.yml

* Initial commit of k8s-extension

* Update pipelines file

* Update CODEOWNERS

* Update private preview pipelines

* Remove open service mesh from public release

* Update pipeline files

* Update public extension pipeline

* Change condition variable

* Add version to public preview/private preview

* Update pipelines

* Add different testing based on private branch

* Add annotations to extension model

* Update k8s-custom-pipelines.yml

* Update SDKs with Updated Swagger Spec for 2020-07-01-preview (#13)

* Update sdks with updated swagger spec

* Update version and history rst

* Reorder release history timeline

* Fix ExtensionInstanceForCreate for import

* remove py2 bdist support

* Add custom table formatting

* Remove unnecessary files

* Fix style issues

* Fix branch based on comments

* Update identity piece manually

* Don't handle defaults at the CLI level

* Remove defaults from CLI client

* Check null target namespace with namespace scope

* Update style

* Add cassandra operator and location to model

Co-authored-by: action@github.com <Action - Fork Sync>

* Remove custom pipelines file

* Update extension description, remove private const

* Update pipeline file

* Disable refs docs

* Update to include better create warning logs and remove update context (#20)

* Update to include better create warning logs and remove update context

* Remove help text for update

* Fix spelling error

* Update message

* Fix k8s-extension conflict with private version

* Fix style errors

* Fix filename

* add customization for microsoft.azureml.kubernetes (#23)

* add customization for microsoft.azureml.kubernetes

* Update release history

Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: jonathan-innis <jonathan.innis.ji@gmail.com>

* Add E2E Testing from Separate branch into internal code (#26)

* Add internal e2e testing

* Change to testing folder

* Inference CLI validation for Scoring FE (#24)

* cli validation starter

* added the call to the fe validation function

* nodeport validation not required

* test fix

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* legal warning added (#27)

* Remove deprecated method logger.warn

* Update k8s-custom-pipelines.yml for Azure Pipelines

* Update k8s-custom-pipelines.yml for Azure Pipelines

* Add Azure Defender to E2E testing (#28)

* Add azure defender testing to e2e

* Remove the debug flag

* Add configuration testing

* Fix pipeline failures

* Make test script more intuitive

* Remove parameter from testing

* Fix wrong location for k8s config whl

* Fix pip upgrade issue

* Fix pip install upgrade issue

* Fix pip install issue

* delete resurce in testcase (#29)

Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* Check Provider is Registered with Subscription Before Making Requests (#18)

* Add check for KubernetesConfiguration

* Disable pylint and rename

* Update provider registration link

* Update version

* Remove extra blank line

* Fix bug in import

* only validate scoring fe when inference is enabled (#31)

* only validate scoring fe when inference is enabled

* Fix versioning

Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: jonathan-innis <jonathan.innis.ji@gmail.com>

* Provider registration case insensitive

* do not validate against scoring fe if inference is not enabled. (#33)

* do not validate against scoring fe if inference is not enabled.

* add inference enabled scenario

* refine

* increase sleeping time

* fix

Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* Add OSM as Public Preview Extension (#34)

* Add OSM as public preview extension

* Add osm testing

* Add release train to tests

* Fix failing osm test

* Upgrade pip in integration testing

* Remove ununsed import

* Fix release train check in update

* Parallelize E2E Testing (#36)

* Add OSM as public preview extension

* Add osm testing

* Update test logic to parallelize

* Fix test success checking

* Parallelize extension testing

* Better error checking logic

* Fix azureml deletion

* Fix private build (#40)

* change amlk8s to amlarc (#42)

Co-authored-by: Yue Yu <yuyu3@microsoft.com>

* Servicebus client model changes (#44)

* Servicebus client model changes

* Fix testing script

* Update history file and pipeline

* Update min cli core version for track 2 updates

* Read SSL cert and key from files (#38)

* first sketch of the change

fixes

removed extra blank lines

changes regarding param renaming

added ssl tests

added more detail to the unit test

additional import

moved pem files out of public folder

fixed import

chenged import

changed import

unit tests fix

unit test fix

fixed unit tests

fixed unit test

unit test fix

changes int test cert and key

* test protected config

* fix test typo

* temporary changes reverted

* fixing tests

* fixed file paths

* removed accidentally added file

* changes according to review comments

* more changes according to review comments

* changes according to review comments

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* Upgrade release version

* Liakaz/inference read ssl from file (#47)

* first sketch of the change

fixes

removed extra blank lines

changes regarding param renaming

added ssl tests

added more detail to the unit test

additional import

moved pem files out of public folder

fixed import

chenged import

changed import

unit tests fix

unit test fix

fixed unit tests

fixed unit test

unit test fix

changes int test cert and key

* test protected config

* fix test typo

* temporary changes reverted

* fixing tests

* fixed file paths

* removed accidentally added file

* changes according to review comments

* more changes according to review comments

* changes according to review comments

* fixed decode error

* renamed the experimental param

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* Fix style issues (#51)

* Fixed scoring fe related extension param names (#49)

* fixed scoring fe related extension params

* bug fix and style fixes

* variable rename

* fixed the error type

* set cluster to prod by default

* Add distro validation for osm-arc (#50)

* Add distro validation for osm-arc

* fixed indentation

* Fix linting

* Resolve comments

* Add unit test

* fix lint

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* Add distro validation for osm-arc (#50)

* Add distro validation for osm-arc

* fixed indentation

* Fix linting

* Resolve comments

* Add unit test

* fix lint

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* Add distro validation for osm-arc (#53)

removed release-train logic

* Add Custom Delete Logic for Partners (#54)

* Add custom delete logic

* Fix failing unit tests

* Add warning message when deleting amlarc extension (#55)

* add warning message

* fix indentation

* Update release version

* Remove Pyhelm from OSM customization (#58)

* Fix OSM pyhelm bug

* Debug bootstrap error

* Update release message

* Remove pyhelm dependency

* Update tests to only check extensionconfig creation (#61)

* Update tests to only check extensionconfig creation

* Single set of CRUD for AzureML

* Debug logs for connectedk8s

* Increase open service mesh version number

* Update k8s-extension Models to Track2 (#64)

* Update k8s-extension models to track2

* Add debug for failed cleanup

* Increase version number

* Exit 0 on failed cleanup

* Remove unneeded files

Co-authored-by: action@github.com <Action - Fork Sync>
Co-authored-by: yuyue9284 <15863499+yuyue9284@users.noreply.github.com>
Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: Lia Kazakova <58274127+liakaz@users.noreply.github.com>
Co-authored-by: Niranjan Shankar <nshankar@microsoft.com>
Co-authored-by: jingyizhu99 <83610845+jingyizhu99@users.noreply.github.com>
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1010519

Last commit: 3065663
…rack2 (#3676)

* Create pull.yml

* Update pull.yml

* Update azure-pipelines.yml

* Initial commit of k8s-extension

* Update CODEOWNERS

* Update azure-pipelines.yml

* Create pull.yml

* Update pull.yml

* Update pull.yml

* Update pipelines file

* Update k8s-configuration name

* Update test script params

* Update pipeline file

* Remove codeowners

* Update pipelines file

* Update CODEOWNERS

* Update private preview pipelines

* Remove open service mesh from public release

* Update pipeline files

* Update custom pipelines files

* Add publish step to k8s-configuration

* Update pipeline to publish extension

* Update public extension pipeline

* Change condition variable

* Update pipeline naming

* Add version to public preview/private preview

* Update pipelines

* Add different testing based on private branch

* Add annotations to extension model

* Update k8s-custom-pipelines.yml

* Update SDKs with Updated Swagger Spec for 2020-07-01-preview (#13)

* Update sdks with updated swagger spec

* Update version and history rst

* Reorder release history timeline

* Fix ExtensionInstanceForCreate for import

* remove py2 bdist support

* Add custom table formatting

* Remove unnecessary files

* Fix style issues

* Fix branch based on comments

* Update identity piece manually

* Don't handle defaults at the CLI level

* Remove defaults from CLI client

* Check null target namespace with namespace scope

* Update style

* Add cassandra operator and location to model

* Stage Public Version of k8s-extension 0.2.0 for official release (#15)

* Create pull.yml

* Update pull.yml

* Update azure-pipelines.yml

* Initial commit of k8s-extension

* Update pipelines file

* Update CODEOWNERS

* Update private preview pipelines

* Remove open service mesh from public release

* Update pipeline files

* Update public extension pipeline

* Change condition variable

* Add version to public preview/private preview

* Update pipelines

* Add different testing based on private branch

* Add annotations to extension model

* Update k8s-custom-pipelines.yml

* Update SDKs with Updated Swagger Spec for 2020-07-01-preview (#13)

* Update sdks with updated swagger spec

* Update version and history rst

* Reorder release history timeline

* Fix ExtensionInstanceForCreate for import

* remove py2 bdist support

* Add custom table formatting

* Remove unnecessary files

* Fix style issues

* Fix branch based on comments

* Update identity piece manually

* Don't handle defaults at the CLI level

* Remove defaults from CLI client

* Check null target namespace with namespace scope

* Update style

* Add cassandra operator and location to model

Co-authored-by: action@github.com <Action - Fork Sync>

* Remove custom pipelines file

* Update extension description, remove private const

* Update pipeline file

* Disable check ref docs

* Disable refs docs

* Update to include better create warning logs and remove update context (#20)

* Update to include better create warning logs and remove update context

* Remove help text for update

* Fix spelling error

* Update message

* Fix k8s-extension conflict with private version

* Fix style errors

* Fix filename

* add customization for microsoft.azureml.kubernetes (#23)

* add customization for microsoft.azureml.kubernetes

* Update release history

Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: jonathan-innis <jonathan.innis.ji@gmail.com>

* Add E2E Testing from Separate branch into internal code (#26)

* Add internal e2e testing

* Change to testing folder

* Inference CLI validation for Scoring FE (#24)

* cli validation starter

* added the call to the fe validation function

* nodeport validation not required

* test fix

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* legal warning added (#27)

* Remove deprecated method logger.warn

* Update k8s-custom-pipelines.yml for Azure Pipelines

* Update k8s-custom-pipelines.yml for Azure Pipelines

* Add Azure Defender to E2E testing (#28)

* Add azure defender testing to e2e

* Remove the debug flag

* Add configuration testing

* Fix pipeline failures

* Make test script more intuitive

* Remove parameter from testing

* Add some debug

* Fix wrong location for k8s config whl

* Fix pip install upgrade issue

* Fix pip install upgrade issue

* Add Check for Provider Registration and Refactor (#19)

* Add check for provider registration and refactor

* Fix bug in checking registration

* Add license header to utils

* Update private key check and error messaging

* Update based on refactoring

* Fix failing tests

* Add provider registration check

* Create a test for uppercase url, address comments

* Add blank line to fix style check

* Testing increase to ubuntu-latest

* Update k8s-configuration Models to Track2 (#63)

* Update models to track2

* Increase k8s-configuration version number

* Update kind version

* Change error to warning because of DSA failure

* Remove unneeded files

Co-authored-by: action@github.com <Action - Fork Sync>
Co-authored-by: yuyue9284 <15863499+yuyue9284@users.noreply.github.com>
Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: Lia Kazakova <58274127+liakaz@users.noreply.github.com>
* update recording upload

* update log format

* add link to wiki

* change default value of test mode
* add http proxy for create scenario to extensions

* change conversion issue

* fix test

* exclude test

* add tag live only

* correct live only

* remove from exclusions

* add recording

* record again

* check for httpProxy

* add correct recording

* add correct recording

* chnage file extension to from yml to yaml

* raise CLI error if file does not exist

* check for file existence instead of a dict

Co-authored-by: Adil Adilli <adadilli@microsoft.com>
* Create pull.yml

* Update pull.yml

* Update azure-pipelines.yml

* Initial commit of k8s-extension

* Update pipelines file

* Update CODEOWNERS

* Update private preview pipelines

* Remove open service mesh from public release

* Update pipeline files

* Update public extension pipeline

* Change condition variable

* Add version to public preview/private preview

* Update pipelines

* Add different testing based on private branch

* Add annotations to extension model

* Update k8s-custom-pipelines.yml

* Update SDKs with Updated Swagger Spec for 2020-07-01-preview (#13)

* Update sdks with updated swagger spec

* Update version and history rst

* Reorder release history timeline

* Fix ExtensionInstanceForCreate for import

* remove py2 bdist support

* Add custom table formatting

* Remove unnecessary files

* Fix style issues

* Fix branch based on comments

* Update identity piece manually

* Don't handle defaults at the CLI level

* Remove defaults from CLI client

* Check null target namespace with namespace scope

* Update style

* Add cassandra operator and location to model

* Stage Public Version of k8s-extension 0.2.0 for official release (#15)

* Create pull.yml

* Update pull.yml

* Update azure-pipelines.yml

* Initial commit of k8s-extension

* Update pipelines file

* Update CODEOWNERS

* Update private preview pipelines

* Remove open service mesh from public release

* Update pipeline files

* Update public extension pipeline

* Change condition variable

* Add version to public preview/private preview

* Update pipelines

* Add different testing based on private branch

* Add annotations to extension model

* Update k8s-custom-pipelines.yml

* Update SDKs with Updated Swagger Spec for 2020-07-01-preview (#13)

* Update sdks with updated swagger spec

* Update version and history rst

* Reorder release history timeline

* Fix ExtensionInstanceForCreate for import

* remove py2 bdist support

* Add custom table formatting

* Remove unnecessary files

* Fix style issues

* Fix branch based on comments

* Update identity piece manually

* Don't handle defaults at the CLI level

* Remove defaults from CLI client

* Check null target namespace with namespace scope

* Update style

* Add cassandra operator and location to model

Co-authored-by: action@github.com <Action - Fork Sync>

* Remove custom pipelines file

* Update extension description, remove private const

* Update pipeline file

* Disable refs docs

* Update to include better create warning logs and remove update context (#20)

* Update to include better create warning logs and remove update context

* Remove help text for update

* Fix spelling error

* Update message

* Fix k8s-extension conflict with private version

* Fix style errors

* Fix filename

* add customization for microsoft.azureml.kubernetes (#23)

* add customization for microsoft.azureml.kubernetes

* Update release history

Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: jonathan-innis <jonathan.innis.ji@gmail.com>

* Add E2E Testing from Separate branch into internal code (#26)

* Add internal e2e testing

* Change to testing folder

* Inference CLI validation for Scoring FE (#24)

* cli validation starter

* added the call to the fe validation function

* nodeport validation not required

* test fix

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* legal warning added (#27)

* Remove deprecated method logger.warn

* Update k8s-custom-pipelines.yml for Azure Pipelines

* Update k8s-custom-pipelines.yml for Azure Pipelines

* Add Azure Defender to E2E testing (#28)

* Add azure defender testing to e2e

* Remove the debug flag

* Add configuration testing

* Fix pipeline failures

* Make test script more intuitive

* Remove parameter from testing

* Fix wrong location for k8s config whl

* Fix pip upgrade issue

* Fix pip install upgrade issue

* Fix pip install issue

* delete resurce in testcase (#29)

Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* Check Provider is Registered with Subscription Before Making Requests (#18)

* Add check for KubernetesConfiguration

* Disable pylint and rename

* Update provider registration link

* Update version

* Remove extra blank line

* Fix bug in import

* only validate scoring fe when inference is enabled (#31)

* only validate scoring fe when inference is enabled

* Fix versioning

Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: jonathan-innis <jonathan.innis.ji@gmail.com>

* Provider registration case insensitive

* do not validate against scoring fe if inference is not enabled. (#33)

* do not validate against scoring fe if inference is not enabled.

* add inference enabled scenario

* refine

* increase sleeping time

* fix

Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* Add OSM as Public Preview Extension (#34)

* Add OSM as public preview extension

* Add osm testing

* Add release train to tests

* Fix failing osm test

* Upgrade pip in integration testing

* Remove ununsed import

* Fix release train check in update

* Parallelize E2E Testing (#36)

* Add OSM as public preview extension

* Add osm testing

* Update test logic to parallelize

* Fix test success checking

* Parallelize extension testing

* Better error checking logic

* Fix azureml deletion

* Fix private build (#40)

* change amlk8s to amlarc (#42)

Co-authored-by: Yue Yu <yuyu3@microsoft.com>

* Servicebus client model changes (#44)

* Servicebus client model changes

* Fix testing script

* Update history file and pipeline

* Update min cli core version for track 2 updates

* Read SSL cert and key from files (#38)

* first sketch of the change

fixes

removed extra blank lines

changes regarding param renaming

added ssl tests

added more detail to the unit test

additional import

moved pem files out of public folder

fixed import

chenged import

changed import

unit tests fix

unit test fix

fixed unit tests

fixed unit test

unit test fix

changes int test cert and key

* test protected config

* fix test typo

* temporary changes reverted

* fixing tests

* fixed file paths

* removed accidentally added file

* changes according to review comments

* more changes according to review comments

* changes according to review comments

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* Upgrade release version

* Liakaz/inference read ssl from file (#47)

* first sketch of the change

fixes

removed extra blank lines

changes regarding param renaming

added ssl tests

added more detail to the unit test

additional import

moved pem files out of public folder

fixed import

chenged import

changed import

unit tests fix

unit test fix

fixed unit tests

fixed unit test

unit test fix

changes int test cert and key

* test protected config

* fix test typo

* temporary changes reverted

* fixing tests

* fixed file paths

* removed accidentally added file

* changes according to review comments

* more changes according to review comments

* changes according to review comments

* fixed decode error

* renamed the experimental param

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* Fix style issues (#51)

* Fixed scoring fe related extension param names (#49)

* fixed scoring fe related extension params

* bug fix and style fixes

* variable rename

* fixed the error type

* set cluster to prod by default

* Add distro validation for osm-arc (#50)

* Add distro validation for osm-arc

* fixed indentation

* Fix linting

* Resolve comments

* Add unit test

* fix lint

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* Add distro validation for osm-arc (#50)

* Add distro validation for osm-arc

* fixed indentation

* Fix linting

* Resolve comments

* Add unit test

* fix lint

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* Add distro validation for osm-arc (#53)

removed release-train logic

* Add Custom Delete Logic for Partners (#54)

* Add custom delete logic

* Fix failing unit tests

* Add warning message when deleting amlarc extension (#55)

* add warning message

* fix indentation

* Update release version

* Remove Pyhelm from OSM customization (#58)

* Fix OSM pyhelm bug

* Debug bootstrap error

* Update release message

* Remove pyhelm dependency

* Update tests to only check extensionconfig creation (#61)

* Update tests to only check extensionconfig creation

* Single set of CRUD for AzureML

* Debug logs for connectedk8s

* Increase open service mesh version number

* Update k8s-extension Models to Track2 (#64)

* Update k8s-extension models to track2

* Add debug for failed cleanup

* Increase version number

* Exit 0 on failed cleanup

* Fix identity in wrong place in model (#66)

* Remove unneeded fields

Co-authored-by: action@github.com <Action - Fork Sync>
Co-authored-by: yuyue9284 <15863499+yuyue9284@users.noreply.github.com>
Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: Lia Kazakova <58274127+liakaz@users.noreply.github.com>
Co-authored-by: Niranjan Shankar <nshankar@microsoft.com>
Co-authored-by: jingyizhu99 <83610845+jingyizhu99@users.noreply.github.com>
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1012981

Last commit: e298f57
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1010584

Last commit: 12fca08
* support fqdns parameters for 'az network firewall policy rule-collection-group collection'

* add tests for fqdns update
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1015931

Last commit: 5118e24
* Create pull.yml

* Update pull.yml

* Update azure-pipelines.yml

* Initial commit of k8s-extension

* Update pipelines file

* Update CODEOWNERS

* Update private preview pipelines

* Remove open service mesh from public release

* Update pipeline files

* Update public extension pipeline

* Change condition variable

* Add version to public preview/private preview

* Update pipelines

* Add different testing based on private branch

* Add annotations to extension model

* Update k8s-custom-pipelines.yml

* Update SDKs with Updated Swagger Spec for 2020-07-01-preview (#13)

* Update sdks with updated swagger spec

* Update version and history rst

* Reorder release history timeline

* Fix ExtensionInstanceForCreate for import

* remove py2 bdist support

* Add custom table formatting

* Remove unnecessary files

* Fix style issues

* Fix branch based on comments

* Update identity piece manually

* Don't handle defaults at the CLI level

* Remove defaults from CLI client

* Check null target namespace with namespace scope

* Update style

* Add cassandra operator and location to model

* Stage Public Version of k8s-extension 0.2.0 for official release (#15)

* Create pull.yml

* Update pull.yml

* Update azure-pipelines.yml

* Initial commit of k8s-extension

* Update pipelines file

* Update CODEOWNERS

* Update private preview pipelines

* Remove open service mesh from public release

* Update pipeline files

* Update public extension pipeline

* Change condition variable

* Add version to public preview/private preview

* Update pipelines

* Add different testing based on private branch

* Add annotations to extension model

* Update k8s-custom-pipelines.yml

* Update SDKs with Updated Swagger Spec for 2020-07-01-preview (#13)

* Update sdks with updated swagger spec

* Update version and history rst

* Reorder release history timeline

* Fix ExtensionInstanceForCreate for import

* remove py2 bdist support

* Add custom table formatting

* Remove unnecessary files

* Fix style issues

* Fix branch based on comments

* Update identity piece manually

* Don't handle defaults at the CLI level

* Remove defaults from CLI client

* Check null target namespace with namespace scope

* Update style

* Add cassandra operator and location to model

Co-authored-by: action@github.com <Action - Fork Sync>

* Remove custom pipelines file

* Update extension description, remove private const

* Update pipeline file

* Disable refs docs

* Update to include better create warning logs and remove update context (#20)

* Update to include better create warning logs and remove update context

* Remove help text for update

* Fix spelling error

* Update message

* Fix k8s-extension conflict with private version

* Fix style errors

* Fix filename

* add customization for microsoft.azureml.kubernetes (#23)

* add customization for microsoft.azureml.kubernetes

* Update release history

Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: jonathan-innis <jonathan.innis.ji@gmail.com>

* Add E2E Testing from Separate branch into internal code (#26)

* Add internal e2e testing

* Change to testing folder

* Inference CLI validation for Scoring FE (#24)

* cli validation starter

* added the call to the fe validation function

* nodeport validation not required

* test fix

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* legal warning added (#27)

* Remove deprecated method logger.warn

* Update k8s-custom-pipelines.yml for Azure Pipelines

* Update k8s-custom-pipelines.yml for Azure Pipelines

* Add Azure Defender to E2E testing (#28)

* Add azure defender testing to e2e

* Remove the debug flag

* Add configuration testing

* Fix pipeline failures

* Make test script more intuitive

* Remove parameter from testing

* Fix wrong location for k8s config whl

* Fix pip upgrade issue

* Fix pip install upgrade issue

* Fix pip install issue

* delete resurce in testcase (#29)

Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* Check Provider is Registered with Subscription Before Making Requests (#18)

* Add check for KubernetesConfiguration

* Disable pylint and rename

* Update provider registration link

* Update version

* Remove extra blank line

* Fix bug in import

* only validate scoring fe when inference is enabled (#31)

* only validate scoring fe when inference is enabled

* Fix versioning

Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: jonathan-innis <jonathan.innis.ji@gmail.com>

* Provider registration case insensitive

* do not validate against scoring fe if inference is not enabled. (#33)

* do not validate against scoring fe if inference is not enabled.

* add inference enabled scenario

* refine

* increase sleeping time

* fix

Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* Add OSM as Public Preview Extension (#34)

* Add OSM as public preview extension

* Add osm testing

* Add release train to tests

* Fix failing osm test

* Upgrade pip in integration testing

* Remove ununsed import

* Fix release train check in update

* Parallelize E2E Testing (#36)

* Add OSM as public preview extension

* Add osm testing

* Update test logic to parallelize

* Fix test success checking

* Parallelize extension testing

* Better error checking logic

* Fix azureml deletion

* Fix private build (#40)

* change amlk8s to amlarc (#42)

Co-authored-by: Yue Yu <yuyu3@microsoft.com>

* Servicebus client model changes (#44)

* Servicebus client model changes

* Fix testing script

* Update history file and pipeline

* Update min cli core version for track 2 updates

* Read SSL cert and key from files (#38)

* first sketch of the change

fixes

removed extra blank lines

changes regarding param renaming

added ssl tests

added more detail to the unit test

additional import

moved pem files out of public folder

fixed import

chenged import

changed import

unit tests fix

unit test fix

fixed unit tests

fixed unit test

unit test fix

changes int test cert and key

* test protected config

* fix test typo

* temporary changes reverted

* fixing tests

* fixed file paths

* removed accidentally added file

* changes according to review comments

* more changes according to review comments

* changes according to review comments

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* Upgrade release version

* Liakaz/inference read ssl from file (#47)

* first sketch of the change

fixes

removed extra blank lines

changes regarding param renaming

added ssl tests

added more detail to the unit test

additional import

moved pem files out of public folder

fixed import

chenged import

changed import

unit tests fix

unit test fix

fixed unit tests

fixed unit test

unit test fix

changes int test cert and key

* test protected config

* fix test typo

* temporary changes reverted

* fixing tests

* fixed file paths

* removed accidentally added file

* changes according to review comments

* more changes according to review comments

* changes according to review comments

* fixed decode error

* renamed the experimental param

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* Fix style issues (#51)

* Fixed scoring fe related extension param names (#49)

* fixed scoring fe related extension params

* bug fix and style fixes

* variable rename

* fixed the error type

* set cluster to prod by default

* Add distro validation for osm-arc (#50)

* Add distro validation for osm-arc

* fixed indentation

* Fix linting

* Resolve comments

* Add unit test

* fix lint

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* Add distro validation for osm-arc (#50)

* Add distro validation for osm-arc

* fixed indentation

* Fix linting

* Resolve comments

* Add unit test

* fix lint

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* Add distro validation for osm-arc (#53)

removed release-train logic

* Add Custom Delete Logic for Partners (#54)

* Add custom delete logic

* Fix failing unit tests

* Add warning message when deleting amlarc extension (#55)

* add warning message

* fix indentation

* Update release version

* Remove Pyhelm from OSM customization (#58)

* Fix OSM pyhelm bug

* Debug bootstrap error

* Update release message

* Remove pyhelm dependency

* Update tests to only check extensionconfig creation (#61)

* Update tests to only check extensionconfig creation

* Single set of CRUD for AzureML

* Debug logs for connectedk8s

* Increase open service mesh version number

* Update k8s-extension Models to Track2 (#64)

* Update k8s-extension models to track2

* Add debug for failed cleanup

* Increase version number

* Exit 0 on failed cleanup

* Fix identity in wrong place in model (#66)

* Readd osm-arc distro validation (#62)

* Add distro validation for osm-arc

removed release-train logic

* Readd osm_arc distro validation

* Fix style

* Rm space

* Edit test

* Fixed tests and error logic

* Remove dependency

* Add delete method

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>

* Don't Send Identity Headers If In DF (#67)

* Don't send identity for clusters in dogfood

* Add location to model for identity

* Add identity validation to testing

* Remove unneeded files

Co-authored-by: action@github.com <Action - Fork Sync>
Co-authored-by: yuyue9284 <15863499+yuyue9284@users.noreply.github.com>
Co-authored-by: Yue Yu <yuyu3@microsoft.com>
Co-authored-by: Lia Kazakova <58274127+liakaz@users.noreply.github.com>
Co-authored-by: Niranjan Shankar <nshankar@microsoft.com>
Co-authored-by: jingyizhu99 <83610845+jingyizhu99@users.noreply.github.com>
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1019643

Last commit: e7fa0b9
* fix setup venv

* fix recordings due to arm api version update

* update recording file for run_command
* Intial transition from module to extension

* Changed command structure

Made send nmi/sysrq/reset not use virtual terminal. Reformatted code to
improve styling. Now Cli errors are used to report errors. When
configuring terminal, errors reporting is improved.

* Fixed all style errors

* Updated help docs

* Changes instance ID parameters

* Improved Initial Checking of Resource

Now a resource is checked to see whether it exists, it is running, and
custom boot diagnostics is enabled, all before a call to the serial
console resource provider is made.

* Changed error checking and reporting

Now AzureConnectionError is used and serial console can be launched as
long as VM is not deallocating or deallocated.

* Added some initial testing

Testing for sending SysRq and NMI to VM's

* Added additional testing for SysRq and NMI

Modified previous tests and added tests for VMSS's

* Fixed loading bug, added Windows Messaging

Loading bug where pressing enter while loading would attempt to make a
new connection to the serial console is now fixed. Also now check the
OS version of the connected VM and change the loading screen if it is
Windows and remove the SysRq option.

* Added some extra error reporting

Now SysRq checks to make sure the connection is to a Linux VM. Removed
unnecessary storage create command from tests.

* Added testing for checking resource

Changed parts of check resource to fix some edge case errors

* Fixed test error and made changes to read me

Fixed problem were testing would fail for reset vm command. Updated
test recording files, readme, metedata to remove upper cli version
limit, and fixed style in some files.

* Updated setup.py

Added dependencies and changed readme file location

* Updated README and Help docs

* Fixed style and version of numpy in setup

* Fixed CODEOWNERS

* Fixed help docs not appearing

* Added serial-console entry to service_name.json

* Updated README

* Added enable and disable commands

These commands enable or disable serial console across a subscription.
Also updated help docs, README, and tests for new commands.

* Changed to snake case, removed numpy/wsaccel

Code no longer needs numpy/wsaccel dependecy to run quickly so they were
removed.

* Http requests are now handled by a client

This client code was generated using the autorest.az code generator.
Some small changes to error checking and messaging.

* Changed boot diagnostic requirements

No longer need custom boot diagnostics for VM. Changed testing to reflect
changes.

* Fixed problem with cmd and powershell VT Sequences

The Cli would automatically initialize colorama breaking a lot of the
Virtual Terminal Sequences that were used in the program

* Check extra field to detect windows VM

* Fixed service_name.json
Co-authored-by: Adil Adilli <adadilli@microsoft.com>
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1020111

Last commit: 88054de
…m values for `--type` (#3700)

* add enum value for --event-type

* update version and history

* update recordings
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1020394

Last commit: a993bc0
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1020030

Last commit: 1fad1dd
…3710)

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1020567

Last commit: fa889c9
Update the link to Kubernetes extensions
* Set version to 0.3.6

This update is necessary for PR #3153

* Added az-vm-repair to the file to trigger the CI job.

* changed "vm repair" to "vm-repair"

* Added HISTORY.rst

* Added missing command "vm-repair" and updated its URL

* HISTORY.rst is used by setup.py now. Added package-data "linux-build_setup-cloud-init.txt"

* merged manually missing object for arcdata

* Update service_name.json

fixed the linter complain about a missing newline

* Add missing newline at end of file. Complained by linter

* Add missing Command "vm"
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1022945

Last commit: 54b11ed
* Update minCliVersion, remove un-needed commands

* Update from 0.3.1 to 0.4.0

* Add webapp to service_name.json
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1024277

Last commit: bf4b942
* my changes batch 1

* upgrade mostly works now too

* finished all the built in providers

* oidc done

* more work

* secret prompts added

* finish work

* style fixes

* more style fixes

* pylint passed

* address some of chris' comments

* address PR comments, clean up

* address some CI concerns

* more fixes

* linter should pass

* fix codeowners

* linter should pass

* linter should pass

* really hope this passes the ci

* fix credscan

* address Sisira's comments

* fix static analysis

* address Sisira's comments

* try now

* try now

* try now

* try now

* revert

* please

* now
RuoyuWang-MS and others added 28 commits September 15, 2021 17:59
…argument (#3860)

* app deploy && app deployment create add --source-path argument

* Bump spring-cloud version to 2.8.0

* fix format problem

* fix user-faced messages

* change version

* modify the messages

* fix format
* Upgrade psycopg2

* pymssql installation

* fix typo

* Update src/db-up/HISTORY.rst
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1099241

Last commit: 5bd044b
* added commands for workload-network dhcp

* set limit of 3 on server_addresses and updated moved specific arguments in params

* removed comments

* updated error type for server_messages validation

* removed comments and styling

* added dns-server commands

* added dns-zone commands

* allow dhcp server and relay calls with None parameters

* added workload_network dns-zone commands

* Update src/vmware/CHANGELOG.md

* renamed dhcp test files to workload-network

* added port-mirroring and renamed dhcp test file to workloadnetwork

* updated changelog

* updated help and param text based on comments

* fixed parameter typo

Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
* Added spn and resource group creation in connectedk8s create

* Vanilla CLI Code for Connected Cluster

* saved location data CLI changes after 0.1.2

* Added the 0.1.2 version CLI code in master

* Removed a print statement

* Fixed container status check

* Updated pod status check

* Added 2020 version models and operations

* Updated with key pair generation

* review of public private key pair

* updated models with latest changes in swagger

* Update CLI to support SPN less onboarding

* Removed location data changes

* Update src/connectedk8s/azext_connectedk8s/custom.py

Co-Authored-By: Shashank Barsin <shashankbarsin@users.noreply.github.com>

* Update src/connectedk8s/azext_connectedk8s/custom.py

Co-Authored-By: Shashank Barsin <shashankbarsin@users.noreply.github.com>

* Update src/connectedk8s/azext_connectedk8s/custom.py

Co-Authored-By: Shashank Barsin <shashankbarsin@users.noreply.github.com>

* Update src/connectedk8s/azext_connectedk8s/custom.py

Co-Authored-By: Shashank Barsin <shashankbarsin@users.noreply.github.com>

* Update src/connectedk8s/azext_connectedk8s/custom.py

Co-Authored-By: Shashank Barsin <shashankbarsin@users.noreply.github.com>

* Update src/connectedk8s/azext_connectedk8s/custom.py

Co-Authored-By: Shashank Barsin <shashankbarsin@users.noreply.github.com>

* Update src/connectedk8s/azext_connectedk8s/custom.py

Co-Authored-By: Shashank Barsin <shashankbarsin@users.noreply.github.com>

* Update src/connectedk8s/azext_connectedk8s/custom.py

Co-Authored-By: Shashank Barsin <shashankbarsin@users.noreply.github.com>

* Update src/connectedk8s/azext_connectedk8s/custom.py

Co-Authored-By: Shashank Barsin <shashankbarsin@users.noreply.github.com>

* Update src/connectedk8s/azext_connectedk8s/custom.py

Co-Authored-By: Shashank Barsin <shashankbarsin@users.noreply.github.com>

* Updated error messages

* updated wrt style checks

* Added a recorded test

* Updated imports

* removed python 2.x from setup.py

* Updated format.py

* Updated readme file

* Updated test file

* updated setup.py

* updated knack version in setup.py

* updated knack version to 0.7.0rc4 in setup.py

* Updated test file to pass kubeconfig

* Updated test file to pass kubeconfig

* Added async support for delete

* Added helm charts to test data folder

* Updated helm chart pull method

* corrected import order

* Ran connectedk8s test

* Updated some print statements

* ran test with helm upgrade --install

* Updated print to warning

* Updated error message

* Updated exceptions to be generic

* Added aks creation in tests

* updated warning statements

* updated test to create aks cluster with ssh keys

* added spn calls in recorded tests

* Updated api-version in recorded tests

* removed mc delete as CI test needs it to be persistant

* switched to livescenariotest

* updated params.py

* corrected databricks change

* updated pod monitoring

* updated identation

* updated print statement to warnings

* added telemetry code for connect cli

* Added exception telemetry for delete operation

* Updated setup.py

* Changed default kubernetes distro

* Distro detect.

* Updated history

* removed arm resourceid from telemetry

* Add kubernetes distro and identifying it.

* Remove additional line.

* correct indentation.

* correct indentation.

* correct version number.

* added code to install helm binary from cli

* fixed path for linux and mac

* removed helm warning message

* moved folder creation step up

* updated print message to warning message

Co-authored-by: Akash Keshari <akkeshar@microsoft.com>
Co-authored-by: Shashank Barsin <shashankbarsin@users.noreply.github.com>
Co-authored-by: Pavan Sankavaram <pasankav@microsoft.com>
Co-authored-by: Pavan Sankavaram <54311110+pasankav@users.noreply.github.com>
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1110344

Last commit: e0c9d9d
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1097560

Last commit: 0249d7c
…ands (#3878)

* intial changes with tests for graphs and services resources

* added cassandra tests back

* fixing CI

* adding help

* removed more commands

* Update src/cosmosdb-preview/azext_cosmosdb_preview/_help.py

Co-authored-by: Yishi Wang <yishiwang@microsoft.com>

* Update src/cosmosdb-preview/azext_cosmosdb_preview/_params.py

Co-authored-by: Yishi Wang <yishiwang@microsoft.com>

* address comments

* address comments

* fixed help

Co-authored-by: Meha Kaushik <mekaushi@microsoft.com>
Co-authored-by: Yishi Wang <yishiwang@microsoft.com>
* Add quantum version check

* Remove whitespace and brake up long message

* Move version check to load_arguments

* Move version check to helper file

* Create version_check_helper.py and add unit tests

* Remove extraneous comment lines from quantum_workspace.py

* Add blank line to satisfy Flake8
* Add support for target specific job parameters

* Static analysis fixes.

* Disable protected access in Pylint

* Trigger Build 1

* Fixing action override signature

* More linter fixes

* Fix incorrect help entry breaking the Linter validations.

* Make help examples consistent with parameter usage.

* Add validation of --job-params to tests.

* Add validation of --job-params to tests. Part 2.
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1112151

Last commit: b131494
* In param help, change instrumentation key to connection string

* update dependency of azure cli to have connection_string in data model

* update param description for app_insights_key

* update history and setup version for IPA GA CLI

* rename term distributed tracing to Application Insights in help

* remove Java In-process Agent or (IPA) in help

* deco `disable_distributed_tracing` parameter in
az spring-cloud create/update

* mark `enable_java_agent` as deprecated. And ignore this parameter. By default enable java agent in az spring-cloud create command group

* By default enable java agent in az spring-cloud update command group

* separate ai parameters from asc create and asc update

* merge same parameter for asc create and asc update

* remove help for asc update against ai settings

* add warn log for `enable-java-agent`

* support connection string in help info

* refine too long string help info

* remove preview tag for asc app-insights command group

* rename trace_properties to monitoring_setting_properties

* support both connection string and instrumentation key

* support sampling rate

* refine validator error message

* add validator back for enable_java_agent and refine the wording.

* refine history for the changes.

* fix bug for app-insights update

* fix bug for app-insights update

* update version

* Fix bug for asc update disable ai

* add support no-wait for ipa ga

* add scenario test for asc create and update

* add scenario test for asc app insights update

* add negative cases for asc create

* add negative cases for asc update

* add negative cases for asc app-insights update

* enhance scenario for asc app-insights update

* enhance scenario for asc create

* add scenario for asc create with ai disabled

* fix for style check

* remove comment

* remove dependency on other modules

* replace CLIError with concrete error class

* add track work item for refactoring the validators

* add comment to explain record_only

* update history
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1114216

Last commit: ef30b13
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1114637

Last commit: c50c077
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1114774

Last commit: f3b68bf
* added list-available command for addon

* added list command for addon

* added show command for addon

* added 5 new commands and refactored code into separate files

* updated version

* code cleanup

* added license headers

* fixed flake8 errors

* added help text for commands

* added exclusion for long param

* added test for list

* added fix for error function params

* added new test cases

* fixed test cases and recordings

* added test exclusions

* added new tests that should pass in pipeline

* updated formatting and tests

* code quality changes

* reverted code quality changes

* code quality changes added back in

* clearer history message

* update release history

* fix vendor

* fix url version in test recording data

* fix aks preview version

* add e2e for list_available

* add live only tag

Co-authored-by: Ishan <t-ishanarya@microsoft.com>
Co-authored-by: Tingting Liu <tilnl@microsoft.com>
Co-authored-by: Kalpesh Chavan <kachavan@microsoft.com>
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1116730

Last commit: f469ebf
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1116920

Last commit: 10c758b
* wip wasm

* don't run live tests due to feature registration

* fix: typos, align consts, rerecord test.

* history: bump version for new features

* bump version in setup.py
Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1118858

Last commit: 33ec455
* exclude several test cases which need feature registration

* update matrix
Current:
This node image upgrade operation will run across every node pool in the clusterand might take a while, do you wish to continue

Proposed:
This node image upgrade operation will run across every node pool in the cluster and might take a while. Do you wish to continue
@StrawnSC StrawnSC marked this pull request as ready for review September 30, 2021 14:31
@StrawnSC StrawnSC merged commit a91b053 into calvinsID:lima-extension-remove-local-sdk Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.