Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
BernieWhite authored Oct 24, 2023
2 parents e54a6f3 + 6f5603e commit 479d20d
Show file tree
Hide file tree
Showing 18 changed files with 444 additions and 424 deletions.
189 changes: 0 additions & 189 deletions .azure-pipelines/azure-pipelines.yaml

This file was deleted.

76 changes: 0 additions & 76 deletions .azure-pipelines/jobs/test.yaml

This file was deleted.

76 changes: 0 additions & 76 deletions .azure-pipelines/jobs/testContainer.yaml

This file was deleted.

10 changes: 10 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

# Visual Studio Code image with .NET

# NOTE:
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/main/containers/dotnet

ARG VARIANT="7.0-bullseye-slim"
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:${VARIANT}
25 changes: 25 additions & 0 deletions .devcontainer/container-build.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

# Note:
# This is run during container creation.

# Install Python 3 dependencies
sudo apt install python3-pip -y
sudo python3 -m pip install --upgrade pip
sudo python3 -m pip install wheel

# Install PowerShell dependencies
$ProgressPreference = [System.Management.Automation.ActionPreference]::SilentlyContinue;
if ($Null -eq (Get-PackageProvider -Name NuGet -ErrorAction Ignore)) {
Install-PackageProvider -Name NuGet -Force -Scope CurrentUser;
}
if ($Null -eq (Get-InstalledModule -Name PowerShellGet -MinimumVersion 2.2.1 -ErrorAction Ignore)) {
Install-Module PowerShellGet -MinimumVersion 2.2.1 -Scope CurrentUser -Force -AllowClobber;
}
if ($Null -eq (Get-InstalledModule -Name InvokeBuild -MinimumVersion 5.4.0 -ErrorAction Ignore)) {
Install-Module InvokeBuild -MinimumVersion 5.4.0 -Scope CurrentUser -Force;
}

Import-Module ./scripts/dependencies.psm1;
Install-Dependencies -Dev;
11 changes: 11 additions & 0 deletions .devcontainer/container-start.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

# Note:
# This is run during container startup.

# Install Python packages
pip install -r requirements-docs.txt

# Restore .NET packages
dotnet restore
Loading

0 comments on commit 479d20d

Please sign in to comment.