Skip to content

Conversation

@azclibot
Copy link
Collaborator

[Release] Update index.json for extension [ appservice-kube ]

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1386720

Last commit against main: 4fbcd8f

Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1386720

Last commit: Azure@4fbcd8f
@ghost ghost added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Feb 23, 2022
@ghost
Copy link

ghost commented Feb 23, 2022

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

@yonzhan
Copy link
Collaborator

yonzhan commented Feb 23, 2022

appservice-kube

@zhoxing-ms
Copy link
Contributor

CI has the following issue:

ImportError: cannot import name '_FunctionAppStackRuntimeHelper' from 'azure.cli.command_modules.appservice.custom'

It is due to the introduction of PR #4384 (comment) @StrawnSC Please take a look~

@StrawnSC
Copy link
Contributor

StrawnSC commented Feb 25, 2022

@zhoxing-ms what version of the CLI does the CI use?

This appservice-kube extension update uses features that are set to be released with CLI version 2.34.0 (currently in the dev branch of the CLI). In the extension, I set the min CLI version to 2.34.0 so that users won't run into this incompatibility. Will this have to wait until that version is released?

@panchagnula
Copy link
Contributor

@zhoxing-ms what version of the CLI does the CI use?

This appservice-kube extension update uses features that are set to be released with CLI version 2.34.0 (currently in the dev branch of the CLI). In the extension, I set the min CLI version to 2.34.0 so that users won't run into this incompatibility. Will this have to wait until that version is released?

@StrawnSC the AppServicePlan-kube extension has an explicit import statement here for sporting file _FunctionAppStackRuntimeHelper - was this removed in core-cli, which means once this releases, this extension will break.

The CI/CD here might be using the latest available dev & hence catching this earlier. We should fix this soon.

@StrawnSC
Copy link
Contributor

@panchagnula the class _FunctionAppStackRuntimeHelper was added recently by my runtime stacks update (not removed): https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/azure/cli/command_modules/appservice/custom.py#L3127

It's not in a released version of the CLI yet though so the CI must be using the prod version of the CLI instead of building from dev

@StrawnSC
Copy link
Contributor

@zhoxing-ms could we rerun the CI on March 1st when CLI version 2.34.0 is released?

@zhoxing-ms
Copy link
Contributor

could we rerun the CI on March 1st when CLI version 2.34.0 is released?

OK

@panchagnula
Copy link
Contributor

@panchagnula the class _FunctionAppStackRuntimeHelper was added recently by my runtime stacks update (not removed): https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/azure/cli/command_modules/appservice/custom.py#L3127

It's not in a released version of the CLI yet though so the CI must be using the prod version of the CLI instead of building from dev

Ah! I see so the extension was updated to use this import before the changes to core-cli was released to PROD? that explains the error - we should wait for the dependent changes to release then. In addition running the CI/CD pipeline, can we test the changes as well before we release the new extension?

@zhoxing-ms
Copy link
Contributor

we should wait for the dependent changes to release then. In addition running the CI/CD pipeline, can we test the changes as well before we release the new extension?

You can use the development environment provided by azdev for testing in advance

@StrawnSC
Copy link
Contributor

@panchagnula I manually tested the changes locally. I can go ahead and start adding some ScenarioTests too

@StrawnSC
Copy link
Contributor

StrawnSC commented Mar 1, 2022

/azp run

@azure-pipelines
Copy link

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

@StrawnSC
Copy link
Contributor

StrawnSC commented Mar 1, 2022

could we rerun the CI on March 1st when CLI version 2.34.0 is released?

OK

@zhoxing-ms can you rerun the CI? It looks like I don't have permissions to do so

*edit: never mind, Sisira reran the CI for me

@yonzhan
Copy link
Collaborator

yonzhan commented Mar 2, 2022

Please resolve the conflicting files

@StrawnSC
Copy link
Contributor

StrawnSC commented Mar 2, 2022

I'm tried to push a fix to the merge conflict here, but I don't have permissions to push to the azclibot/azure-cli-extensions repo

It's a pretty simple merge conflict. Could someone with permissions fix it or give me permissions to push?

@zhoxing-ms
Copy link
Contributor

Replaced by #4481

@zhoxing-ms zhoxing-ms closed this Mar 2, 2022
@StrawnSC
Copy link
Contributor

StrawnSC commented Mar 2, 2022

Thanks @zhoxing-ms!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

customer-reported Issues that are reported by GitHub users external to the Azure organization.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants