From a55cb14a3bad05ef06a153029c338fe6fc5fb6c0 Mon Sep 17 00:00:00 2001 From: Jonathan Bourdon Date: Sat, 26 Apr 2025 18:06:39 -0400 Subject: [PATCH] chore: remove obsolete README and Azure pipeline files along with related PowerShell scripts --- README.md | 16 -------------- backend/EfApplicationDbContext.ps1 | 1 - backend/EfContentDbContext.ps1 | 1 - backend/EfMessagingDbContext.ps1 | 1 - backend/Start.ps1 | 18 ---------------- backend/azure-pipelines.yml | 34 ------------------------------ 6 files changed, 71 deletions(-) delete mode 100644 README.md delete mode 100644 backend/EfApplicationDbContext.ps1 delete mode 100644 backend/EfContentDbContext.ps1 delete mode 100644 backend/EfMessagingDbContext.ps1 delete mode 100644 backend/Start.ps1 delete mode 100644 backend/azure-pipelines.yml diff --git a/README.md b/README.md deleted file mode 100644 index 7cb6a1f..0000000 --- a/README.md +++ /dev/null @@ -1,16 +0,0 @@ -## Hi there šŸ‘‹ - - diff --git a/backend/EfApplicationDbContext.ps1 b/backend/EfApplicationDbContext.ps1 deleted file mode 100644 index da8240b..0000000 --- a/backend/EfApplicationDbContext.ps1 +++ /dev/null @@ -1 +0,0 @@ -dotnet ef $args --startup-project ./src/Web/Web.csproj --project ./src/Infrastructure/Infrastructure.csproj \ No newline at end of file diff --git a/backend/EfContentDbContext.ps1 b/backend/EfContentDbContext.ps1 deleted file mode 100644 index c484fd2..0000000 --- a/backend/EfContentDbContext.ps1 +++ /dev/null @@ -1 +0,0 @@ -dotnet ef $args --startup-project ./src/Web/Web.csproj --project ./src/Web/Web.csproj --context ContentDbContext \ No newline at end of file diff --git a/backend/EfMessagingDbContext.ps1 b/backend/EfMessagingDbContext.ps1 deleted file mode 100644 index 6e5f39e..0000000 --- a/backend/EfMessagingDbContext.ps1 +++ /dev/null @@ -1 +0,0 @@ -dotnet ef $args --startup-project ./src/Web/Web.csproj --project ./src/Web/Web.csproj --context MessagingDbContext \ No newline at end of file diff --git a/backend/Start.ps1 b/backend/Start.ps1 deleted file mode 100644 index 4724463..0000000 --- a/backend/Start.ps1 +++ /dev/null @@ -1,18 +0,0 @@ -$password = $null - -# Manually parse arguments for a "-p" flag -for ($i = 0; $i -lt $args.Count; $i++) { - if ($args[$i] -eq "-p" -and $args.Count -gt $i + 1) { - $password = $args[$i + 1] - break - } -} - -# Check if we got a value for our environment variable -if ($null -ne $password) { - $Env:DB_PASSWORD = $password -} - -# Run the app in the web dir. -Set-Location -Path ./src/Web -dotnet watch run \ No newline at end of file diff --git a/backend/azure-pipelines.yml b/backend/azure-pipelines.yml deleted file mode 100644 index 9ae04d1..0000000 --- a/backend/azure-pipelines.yml +++ /dev/null @@ -1,34 +0,0 @@ -# ASP.NET Core (.NET Framework) -# Build and test ASP.NET Core projects targeting the full .NET Framework. -# Add steps that publish symbols, save build artifacts, and more: -# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core - -trigger: -- master - -pool: - vmImage: 'windows-latest' - -variables: - solution: '**/*.sln' - buildPlatform: 'Any CPU' - buildConfiguration: 'Release' - -steps: -- task: NuGetToolInstaller@1 - -- task: NuGetCommand@2 - inputs: - restoreSolution: '$(solution)' - -- task: VSBuild@1 - inputs: - solution: '$(solution)' - msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:DesktopBuildPackageLocation="$(build.artifactStagingDirectory)\WebApp.zip" /p:DeployIisAppPath="Default Web Site"' - platform: '$(buildPlatform)' - configuration: '$(buildConfiguration)' - -- task: VSTest@2 - inputs: - platform: '$(buildPlatform)' - configuration: '$(buildConfiguration)'