177 lines
3.8 KiB
JSON
177 lines
3.8 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "clean (functions)",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"clean",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"type": "process",
|
|
"problemMatcher": "$msCompile",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/AzureFunction"
|
|
}
|
|
},
|
|
{
|
|
"label": "build (functions)",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"build",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"type": "process",
|
|
"dependsOn": "clean (functions)",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": "$msCompile",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/AzureFunction"
|
|
}
|
|
},
|
|
{
|
|
"label": "clean release (functions)",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"clean",
|
|
"--configuration",
|
|
"Release",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"type": "process",
|
|
"problemMatcher": "$msCompile",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/AzureFunction"
|
|
}
|
|
},
|
|
{
|
|
"label": "publish (functions)",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"publish",
|
|
"--configuration",
|
|
"Release",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"type": "process",
|
|
"dependsOn": "clean release (functions)",
|
|
"problemMatcher": "$msCompile",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/AzureFunction"
|
|
}
|
|
},
|
|
{
|
|
"type": "func",
|
|
"dependsOn": "build (functions)",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/AzureFunction/bin/Debug/net8.0"
|
|
},
|
|
"command": "host start",
|
|
"isBackground": true,
|
|
"problemMatcher": "$func-dotnet-watch"
|
|
},
|
|
{
|
|
"label": "build",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"build",
|
|
"${workspaceFolder}/FeedDataverseBQ.sln",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary;ForceNoAlign"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "publish",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"publish",
|
|
"${workspaceFolder}/FeedDataverseBQ.sln",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary;ForceNoAlign"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "watch",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"watch",
|
|
"run",
|
|
"--project",
|
|
"${workspaceFolder}/FeedDataverseBQ.sln"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"type": "docker-build",
|
|
"label": "docker-build: debug",
|
|
"dependsOn": [
|
|
"build"
|
|
],
|
|
"dockerBuild": {
|
|
"tag": "feeddataversebq:dev",
|
|
"target": "base",
|
|
"dockerfile": "${workspaceFolder}/Migration/Dockerfile",
|
|
"context": "${workspaceFolder}",
|
|
"pull": true
|
|
},
|
|
"netCore": {
|
|
"appProject": "${workspaceFolder}/Migration/bigqueryconnector.csproj"
|
|
}
|
|
},
|
|
{
|
|
"type": "docker-build",
|
|
"label": "docker-build: release",
|
|
"dependsOn": [
|
|
"build"
|
|
],
|
|
"dockerBuild": {
|
|
"tag": "feeddataversebq:latest",
|
|
"dockerfile": "${workspaceFolder}/Migration/Dockerfile",
|
|
"context": "${workspaceFolder}",
|
|
"platform": {
|
|
"os": "linux",
|
|
"architecture": "amd64"
|
|
},
|
|
"pull": true
|
|
},
|
|
"netCore": {
|
|
"appProject": "${workspaceFolder}/Migration/bigqueryconnector.csproj"
|
|
}
|
|
},
|
|
{
|
|
"type": "docker-run",
|
|
"label": "docker-run: debug",
|
|
"dependsOn": [
|
|
"docker-build: debug"
|
|
],
|
|
"dockerRun": {},
|
|
"netCore": {
|
|
"appProject": "${workspaceFolder}/Migration/bigqueryconnector.csproj",
|
|
"enableDebugging": true
|
|
}
|
|
},
|
|
{
|
|
"type": "docker-run",
|
|
"label": "docker-run: release",
|
|
"dependsOn": [
|
|
"docker-build: release"
|
|
],
|
|
"dockerRun": {},
|
|
"netCore": {
|
|
"appProject": "${workspaceFolder}/Migration/bigqueryconnector.csproj"
|
|
}
|
|
}
|
|
]
|
|
} |