-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Containerapp - add workload profile support and bump version to 11-01-preview #6081
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
Merged
Merged
Changes from 44 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
9c8bd59
bump version
StrawnSC 9b4a3d9
Updated to preview api version and reran all tests. (#147)
runefa ea2ba6f
initial premium sku implementation
StrawnSC c5a69fe
bump version
StrawnSC df599b0
Custom Domains on Managed Environments (#152)
runefa 084911d
add/update premium sku features -- updates for api changes, up/contai…
StrawnSC ea75e99
workaround for updating workload profiles
StrawnSC 82635b8
start testing; handle logging differently in update
StrawnSC 458ed64
private preview
StrawnSC eebf24c
automatically add WP to environment if needed
StrawnSC 1878ca7
unhardcode premium sku
StrawnSC 123e994
wlp changes
2211c4d
fix auto lowercase
44e642a
change version
2921f5c
change version
031c47a
merge conflicts
ff44316
fix wlp commands
0fdc036
fix enable wlp
220c69b
change log analytics
6706ca6
wlp updates
36777f2
wlp commands
55cd9e2
fix lowercase issues
e992f09
v1.0.4 add name and change type
b0c3c77
reset to v1.0.3
d1cc669
v1.0.3 fix optional workload profile name
af36351
update to 1.0.5, create containerapp with friendly name
e4b33b7
fix param names for 1.0.5
a840e67
change put to patch for update managed env
3df2f76
1.0.6, fix update container app and make wlp type optional
2b0694e
fix merge conflicts from main
11abb64
fix other conflicts
9b8b417
switch to 11-01-preview
2e6e2f9
fix failing test scenario
e0570b4
fix conflicts
a09c9dc
update workload profile tests
4773fc2
add help for wlp commands
0841e52
cleanup some comments
354936a
fix styling
d350d9b
fix polling
346f3d3
fix unintended rebasing change
2c50727
fix merge conflicts
0397d1e
fix tests and add help params
d89943f
fix lint
33d358e
revert appLogsConfiguration in create_managedenvironment and fix pylint
Greedygre 962d988
remove useless file and fix liner
Greedygre 0929bae
fix
Greedygre 55e808b
fix tags patch bug
Greedygre 2ba1682
re run test
Greedygre 6e47ec3
change enable-workload-profiles
10d1f25
remove usless test yml file
Greedygre 307b433
revert poll change
Greedygre 777fd0d
add preview flag
Greedygre 3ca2270
fix preview
Greedygre 4c7d7dc
Merge pull request #1 from Greedygre/xinyu/fix_preview_flag
Greedygre File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
|
|
||
| location: eastus | ||
| type: Microsoft.App/containerApps | ||
| tags: | ||
| tagname: value | ||
| properties: | ||
| environmentId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/env000002 | ||
| configuration: | ||
| activeRevisionsMode: Multiple | ||
| ingress: | ||
| external: true | ||
| allowInsecure: false | ||
| targetPort: 80 | ||
| traffic: | ||
| - latestRevision: true | ||
| weight: 100 | ||
| transport: Auto | ||
| template: | ||
| revisionSuffix: myrevision | ||
| containers: | ||
| - image: nginx | ||
| name: nginx | ||
| env: | ||
| - name: HTTP_PORT | ||
| value: 80 | ||
| command: | ||
| - npm | ||
| - start | ||
| resources: | ||
| cpu: 0.5 | ||
| memory: 1Gi | ||
| scale: | ||
| minReplicas: 1 | ||
| maxReplicas: 3 | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/containerapp/azext_containerapp/aaz/latest/app/__cmd_group.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # -------------------------------------------------------------------------------------------- | ||
p-bouchon marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for license information. | ||
| # | ||
| # Code generated by aaz-dev-tools | ||
| # -------------------------------------------------------------------------------------------- | ||
|
|
||
| # pylint: skip-file | ||
| # flake8: noqa | ||
|
|
||
| from azure.cli.core.aaz import * | ||
|
|
||
|
|
||
| @register_command_group( | ||
| "app", | ||
| ) | ||
| class __CMDGroup(AAZCommandGroup): | ||
| """az container app | ||
| """ | ||
| pass | ||
|
|
||
|
|
||
| __all__ = ["__CMDGroup"] | ||
12 changes: 12 additions & 0 deletions
12
src/containerapp/azext_containerapp/aaz/latest/app/__init__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # -------------------------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for license information. | ||
| # | ||
| # Code generated by aaz-dev-tools | ||
| # -------------------------------------------------------------------------------------------- | ||
|
|
||
| # pylint: skip-file | ||
| # flake8: noqa | ||
|
|
||
| from .__cmd_group import * | ||
| from ._managed_environment_list import * |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.