Skip to content

Conversation

@xhl873
Copy link
Contributor

@xhl873 xhl873 commented Nov 18, 2020


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.

@azuresdkci
Copy link

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:

docker run -it mcr.microsoft.com/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/xhl873/azure-cli-extensions.git@xhl/upgradechannel2#subdirectory=src/$EXT&egg=$EXT"

@yonzhan
Copy link
Collaborator

yonzhan commented Nov 18, 2020

AKS

Copy link
Contributor

@charliedmcb charliedmcb left a comment

Choose a reason for hiding this comment

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

Looks good to me. Although, I don't know the area well enough to say with certainty :)

There are also a few failing checks that need to be resolved.

@xhl873
Copy link
Contributor Author

xhl873 commented Nov 18, 2020

Looks good to me. Although, I don't know the area well enough to say with certainty :)

There are also a few failing checks that need to be resolved.

yea, I am aware of the failures, waiting for Bo's PR to vendor 11-01 API, and there are a couple of test fixes also. I need to merge once that change is in (I have vendored that locally for testing purpose.)

Copy link
Contributor

@arrownj arrownj left a comment

Choose a reason for hiding this comment

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

Is there a possibility to add test for this new parameter ?

CONST_RAPID_UPGRADE_CHANNEL = "rapid"
CONST_STABLE_UPGRADE_CHANNEL = "stable"
CONST_PATCH_UPGRADE_CHANNEL = "patch"
CONST_NONE_UPGRADE_CHANNEL = "none"
Copy link
Contributor

Choose a reason for hiding this comment

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

Are these values defined in the swagger and have been defined as Enum in the SDK ? If yes, we may be able to leverage it instead of defining separately.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

they are defined in the swagger, however, consts file does depend on the versioned SDK, not sure if it's the reason that we are defining these consts here (don't want to introduce dependency?). Probably I am going to break the pattern and keep it consistent for now. :)

@arrownj arrownj self-assigned this Nov 19, 2020
@xhl873
Copy link
Contributor Author

xhl873 commented Nov 19, 2020

Is there a possibility to add test for this new parameter ?

yes, I've added a test (and recording), please take a look

@paulgmiller
Copy link
Member

/azp run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 2694 in repo Azure/azure-cli-extensions

@yungezz
Copy link
Member

yungezz commented Nov 25, 2020

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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.

7 participants