-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Conversation
spring |
Will update version in #4844 |
|
||
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'), |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
Could you add some tests for those new parameters? |
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?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
.