-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* upgrade to .NET 6 and dev container * clean up readme
- Loading branch information
Showing
10 changed files
with
104 additions
and
53 deletions.
There are no files selected for viewing
This file contains 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,20 @@ | ||
# Find the Dockerfile at this URL | ||
# https://github.com/Azure/azure-functions-docker/blob/dev/host/4/bullseye/amd64/dotnet/dotnet-inproc/dotnet-core-tools.Dockerfile | ||
FROM mcr.microsoft.com/azure-functions/dotnet:4-dotnet6-core-tools | ||
|
||
# Uncomment following lines If you want to enable Development Container Script | ||
# For more details https://github.com/microsoft/vscode-dev-containers/tree/main/script-library | ||
|
||
# Avoid warnings by switching to noninteractive | ||
# ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# # Comment out these lines if you want to use zsh. | ||
|
||
# ARG INSTALL_ZSH=true | ||
# ARG USERNAME=vscode | ||
# ARG USER_UID=1000 | ||
# ARG USER_GID=$USER_UID | ||
|
||
# RUN apt-get update && curl -ssL https://raw.githubusercontent.com/microsoft/vscode-dev-containers/main/script-library/common-debian.sh -o /tmp/common-script.sh \ | ||
# && /bin/bash /tmp/common-script.sh "$INSTALL_ZSH" "$USERNAME" "$USER_UID" "$USER_GID" \ | ||
# && rm /tmp/common-script.sh |
This file contains 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,25 @@ | ||
{ | ||
"name": "Azure Functions & C# - .NET 6 (In-Process)", | ||
"dockerFile": "Dockerfile", | ||
"forwardPorts": [ 7071 ], | ||
|
||
// Configure tool-specific properties. | ||
"customizations": { | ||
// Configure properties specific to VS Code. | ||
"vscode": { | ||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"ms-azuretools.vscode-azurefunctions", | ||
"ms-dotnettools.csharp", | ||
"msazurermtools.azurerm-vscode-tools", | ||
"ms-vscode.azurecli" | ||
] | ||
} | ||
}, | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
// "postCreateCommand": "dotnet restore", | ||
|
||
// Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
"remoteUser": "vscode" | ||
} |
This file contains 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 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 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 |
---|---|---|
@@ -1,25 +1,22 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 16.0.30204.135 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AzUnzipEverything", "AzUnzipEverything.csproj", "{88137D1E-E332-4073-A07C-27692C4F5749}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{88137D1E-E332-4073-A07C-27692C4F5749}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{88137D1E-E332-4073-A07C-27692C4F5749}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{88137D1E-E332-4073-A07C-27692C4F5749}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{88137D1E-E332-4073-A07C-27692C4F5749}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {C3E177E5-CCEA-492B-B663-CF7DB1E7CC4D} | ||
EndGlobalSection | ||
EndGlobal | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.0.31903.59 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AzUnzipEverything", "AzUnzipEverything.csproj", "{0ECE792A-7052-4599-8823-9306BC0860A4}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{0ECE792A-7052-4599-8823-9306BC0860A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{0ECE792A-7052-4599-8823-9306BC0860A4}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{0ECE792A-7052-4599-8823-9306BC0860A4}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{0ECE792A-7052-4599-8823-9306BC0860A4}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
EndGlobal |
This file was deleted.
Oops, something went wrong.
This file contains 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 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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
|
||
|
||
az group create -n cloud5minsAz -l eastus | ||
az group create -n c5mAzUnzip -l eastus | ||
|
||
# validate command | ||
az group deployment validate -g cloud5minsAz --template-file "deployment/deployAzure.json" --verbose | ||
az deployment group validate -g c5mAzUnzip --template-file "deployment/deployAzure.json" --verbose | ||
|
||
# validate with Parameter file | ||
az group deployment validate -g cloud5minsAz --template-file "deployment/deployAzure.json" --parameters "deployment/deployAzure.parameters.json" --verbose | ||
az deployment group validate -g c5mAzUnzip --template-file "deployment/deployAzure.json" --parameters "deployment/deployAzure.parameters.json" --verbose | ||
|
||
# deploy it | ||
az group deployment create -n cloud5mins -g cloud5minsAz --template-file "deployment/deployAzure.json" --parameters "deployment/deployAzure.parameters.json" --verbose | ||
az deployment group create -n cloud5mins -g c5mAzUnzip --template-file "deployment/deployAzure.json" --parameters "deployment/deployAzure.parameters.json" --verbose | ||
|
||
az deployment create -n cloud5mins -r cloud5minsAz -l eastus --template-file "deployment/deployAzure.json" --parameters "deployment/deployAzure.parameters.json" --verbose | ||
# az deployment create -n cloud5mins -r c5mAzUnzip -l eastus --template-file "deployment/deployAzure.json" --parameters "deployment/deployAzure.parameters.json" --verbose |
This file contains 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 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 @@ | ||
{ | ||
"IsEncrypted": false, | ||
"Values": { | ||
"AzureWebJobsStorage": "AzureWebJobsStorageConnectionStringValue", | ||
"FUNCTIONS_WORKER_RUNTIME": "dotnet", | ||
"cloud5mins_storage":"STORAGE_CONNECTION_STRING", | ||
"destinationStorage":"STORAGE_CONNECTION_STRING", | ||
"destinationContainer":"output-files", | ||
"KeyVaultUri":"https://", | ||
"ZipPassword":"A_PASSWORD" | ||
} | ||
} |