Skip to content

Commit

Permalink
Merge pull request #323 from microsoft/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
colbylwilliams authored Feb 17, 2022
2 parents d644a83 + ce430d1 commit 81a6e66
Show file tree
Hide file tree
Showing 151 changed files with 27,063 additions and 9,508 deletions.
90 changes: 88 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "docker: build push all (latest)",
"type": "shell",
"command": "echo done.",
"dependsOrder": "sequence",
"dependsOn": [
"publish all",
"docker: build all (latest)",
"acr: login",
"docker: push all (latest)"
]
},
{
"label": "publish all",
"type": "shell",
"command": "echo done.",
"dependsOn": [
"npm: run build",
"dotnet: build publish API and Orchestrator",
"bicep: local"
]
},
{
"type": "func",
"options": {
Expand Down Expand Up @@ -57,6 +79,17 @@
"showReuseMessage": false
}
},
{
"label": "dotnet: build publish API and Orchestrator",
"type": "shell",
"command": "echo done.",
"dependsOrder": "sequence",
"dependsOn": [
"dotnet: build sln (release)",
"dotnet: publish API",
"dotnet: publish Orchestrator"
]
},
{
"label": "dotnet: publish API",
"command": "dotnet",
Expand Down Expand Up @@ -174,7 +207,24 @@
},
"dependsOn": [
"ngrok: set url"
]
],
"problemMatcher": []
},
{
"label": "npm: run build",
"command": "npm",
"args": [
"run",
"build"
],
"isBackground": true,
"presentation": {
"panel": "dedicated",
"showReuseMessage": false
},
"options": {
"cwd": "${workspaceFolder}/web"
}
},
{
"label": "bicep: local",
Expand All @@ -192,6 +242,18 @@
},
"problemMatcher": []
},
{
"label": "docker: build all (latest)",
"type": "shell",
"command": "echo done.",
"dependsOrder": "sequence",
"dependsOn": [
"docker: build api",
"docker: build orchestrator",
"docker: build web"
],
"problemMatcher": []
},
{
"label": "docker: build api",
"type": "docker-build",
Expand Down Expand Up @@ -240,6 +302,19 @@
}
}
},
{
"label": "docker: push all (latest)",
"type": "shell",
"command": "echo done.",
"dependsOrder": "sequence",
"dependsOn": [
"acr: login",
"docker: push web (latest)",
"docker: push api (latest)",
"docker: push orchestrator (latest)"
],
"problemMatcher": []
},
{
"label": "docker: push web",
"command": "docker",
Expand Down Expand Up @@ -390,6 +465,17 @@
"showReuseMessage": false
},
"problemMatcher": []
},
{
"label": "create clients",
"type": "shell",
"command": "${workspaceFolder}/scripts/create-clients.sh",
"options": {
"shell": {
"executable": "/bin/sh"
}
},
"problemMatcher": []
}
],
"inputs": [
Expand All @@ -412,7 +498,7 @@
{
"id": "dotnetReleaseVersion",
"type": "promptString",
"description": "Version for this release.",
"description": "Version for this dotnet release.",
"default": "1.0.0"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

VERSION = "unknown"

class TeamCloudClientConfiguration(Configuration):
class TeamCloudClientConfiguration(Configuration): # pylint: disable=too-many-instance-attributes
"""Configuration for TeamCloudClient.
Note that all parameters used to create this instance are saved as instance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,17 @@
from copy import deepcopy
from typing import TYPE_CHECKING

from azure.core import PipelineClient
from msrest import Deserializer, Serializer

from azure.core import PipelineClient

from . import models
from ._configuration import TeamCloudClientConfiguration
from .operations import TeamCloudClientOperationsMixin

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from typing import Any, Optional
from typing import Any

from azure.core.credentials import TokenCredential
from azure.core.rest import HttpRequest, HttpResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

VERSION = "unknown"

class TeamCloudClientConfiguration(Configuration):
class TeamCloudClientConfiguration(Configuration): # pylint: disable=too-many-instance-attributes
"""Configuration for TeamCloudClient.
Note that all parameters used to create this instance are saved as instance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
# --------------------------------------------------------------------------

from copy import deepcopy
from typing import Any, Awaitable, Optional, TYPE_CHECKING
from typing import Any, Awaitable, TYPE_CHECKING

from msrest import Deserializer, Serializer

from azure.core import AsyncPipelineClient
from azure.core.rest import AsyncHttpResponse, HttpRequest
from msrest import Deserializer, Serializer

from .. import models
from ._configuration import TeamCloudClientConfiguration
Expand Down
Loading

0 comments on commit 81a6e66

Please sign in to comment.