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

feat: add arguments --build-cpu and --build-memory when deploying apps #4846

Merged
merged 24 commits into from
May 23, 2022

Conversation

smile37773
Copy link
Member


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.
The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify src/index.json.

@yonzhan
Copy link
Collaborator

yonzhan commented May 18, 2022

spring

@smile37773
Copy link
Member Author

Will update version in #4844

Comment on lines -221 to -228

with self.assertRaisesRegexp(CLIError, "Failed to wait for deployment instances to be ready"):
self.cmd('spring app deploy -g {resourceGroup} -s {serviceName} -n {app} --artifact-path {file}')

self.cmd('spring app deployment show -g {resourceGroup} -s {serviceName} -n default --app {app} ', checks=[
self.check('name', 'default'),
self.check('properties.source.type', 'Jar'),
self.check('properties.source.runtimeVersion', 'Java_8'),
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did you remove these tests?

Copy link
Member Author

@smile37773 smile37773 May 23, 2022

Choose a reason for hiding this comment

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

Because it's meaningless for CustomImageTest. These commands are not used to deploy app with customer image but jar. In additional, deploying with jar is covered in APPDeployTest here

@zhoxing-ms
Copy link
Contributor

Could you add some tests for those new parameters?

@smile37773 smile37773 requested review from zhoxing-ms May 23, 2022 05:42
@zhoxing-ms zhoxing-ms merged commit 5bea677 into Azure:main May 23, 2022
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.

3 participants