add: Keycloak auth & git api client
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
**/.dockerignore
|
||||
**/.env
|
||||
**/.git
|
||||
**/.gitignore
|
||||
**/.project
|
||||
**/.settings
|
||||
**/.toolstarget
|
||||
**/.vs
|
||||
**/.vscode
|
||||
**/.idea
|
||||
**/*.*proj.user
|
||||
**/*.dbmdl
|
||||
**/*.jfm
|
||||
**/azds.yaml
|
||||
**/bin
|
||||
**/charts
|
||||
**/docker-compose*
|
||||
**/Dockerfile*
|
||||
**/node_modules
|
||||
**/npm-debug.log
|
||||
**/obj
|
||||
**/secrets.dev.yaml
|
||||
**/values.dev.yaml
|
||||
LICENSE
|
||||
README.md
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -2,4 +2,5 @@ bin/
|
||||
obj/
|
||||
/packages/
|
||||
riderModule.iml
|
||||
/_ReSharper.Caches/
|
||||
/_ReSharper.Caches/
|
||||
Alchegos.Tests/*
|
||||
@@ -2,8 +2,6 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Alchegos.Gitea.Webhook", "Alchegos.Gitea.Webhook\Alchegos.Gitea.Webhook.csproj", "{C4C622EA-99E2-42CD-8E75-53746C639EDA}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Alchegos.Gitea.Api", "Alchegos.Gitea.Api\Alchegos.Gitea.Api.csproj", "{1B79FBFB-CE7F-450D-A44A-FD76C7CF451A}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Alchegos.ProjectManager", "Alchegos.ProjectManager\Alchegos.ProjectManager.csproj", "{84790C75-B531-4F00-820D-139B35A11E70}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Alchegos.Reviewer", "Alchegos.Reviewer\Alchegos.Reviewer.csproj", "{24702913-FB71-43A4-8BE4-97116CDB1402}"
|
||||
@@ -31,10 +29,6 @@ Global
|
||||
{C4C622EA-99E2-42CD-8E75-53746C639EDA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{C4C622EA-99E2-42CD-8E75-53746C639EDA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C4C622EA-99E2-42CD-8E75-53746C639EDA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{1B79FBFB-CE7F-450D-A44A-FD76C7CF451A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{1B79FBFB-CE7F-450D-A44A-FD76C7CF451A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{1B79FBFB-CE7F-450D-A44A-FD76C7CF451A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{1B79FBFB-CE7F-450D-A44A-FD76C7CF451A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{84790C75-B531-4F00-820D-139B35A11E70}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{84790C75-B531-4F00-820D-139B35A11E70}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{84790C75-B531-4F00-820D-139B35A11E70}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
FROM mcr.microsoft.com/dotnet/runtime:9.0 AS base
|
||||
USER $APP_UID
|
||||
WORKDIR /app
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
|
||||
ARG BUILD_CONFIGURATION=Release
|
||||
WORKDIR /src
|
||||
COPY ["Alchegos.Tests/Alchegos.Tests.csproj", "Alchegos.Tests/"]
|
||||
RUN dotnet restore "Alchegos.Tests/Alchegos.Tests.csproj"
|
||||
COPY . .
|
||||
WORKDIR "/src/Alchegos.Tests"
|
||||
RUN dotnet build "Alchegos.Tests.csproj" -c $BUILD_CONFIGURATION -o /app/build
|
||||
|
||||
FROM build AS publish
|
||||
ARG BUILD_CONFIGURATION=Release
|
||||
RUN dotnet publish "Alchegos.Tests.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
|
||||
|
||||
FROM base AS final
|
||||
WORKDIR /app
|
||||
COPY --from=publish /app/publish .
|
||||
ENTRYPOINT ["dotnet", "Alchegos.Tests.dll"]
|
||||
Reference in New Issue
Block a user