-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from SaintAngeLs/dev
(#62) test for the deploy action
- Loading branch information
Showing
395 changed files
with
11,369 additions
and
238 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 |
---|---|---|
|
@@ -28,7 +28,8 @@ jobs: | |
AZURE_DEVOPS_USERNAME: ${{ secrets.AZURE_DEVOPS_USERNAME }} | ||
AZURE_DEVOPS_PASSWORD: ${{ secrets.AZURE_DEVOPS_PASSWORD }} | ||
run: | | ||
git remote add azure https://$AZURE_DEVOPS_USERNAME:[email protected]/SocialAppOIPproject/SocialApp_IO/_git/SocialApp_IO | ||
# git remote add azure https://$AZURE_DEVOPS_USERNAME:[email protected]/SocialAppOIPproject/SocialApp_IO/_git/SocialApp_IO | ||
git remote add azure https://[email protected]/SocialAppOIPproject/SocialApp_IO/_git/SocialApp_IO | ||
- name: Push all branches to Azure DevOps | ||
run: git push azure --all --force | ||
|
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,12 +1,17 @@ | ||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build | ||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build | ||
WORKDIR /app | ||
|
||
COPY . . | ||
RUN dotnet publish src/MiniSpace.APIGateway -c release -o out | ||
|
||
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 | ||
RUN dotnet publish src/MiniSpace.APIGateway -c Release -o out | ||
|
||
FROM mcr.microsoft.com/dotnet/aspnet:8.0 | ||
WORKDIR /app | ||
|
||
COPY --from=build /app/out . | ||
ENV ASPNETCORE_URLS http://*:80 | ||
ENV ASPNETCORE_ENVIRONMENT docker | ||
ENV NTRADA_CONFIG ntrada.docker | ||
ENTRYPOINT dotnet MiniSpace.APIGateway.dll | ||
|
||
ENV ASPNETCORE_URLS=http://*:80 | ||
ENV ASPNETCORE_ENVIRONMENT=docker | ||
ENV NTRADA_CONFIG=ntrada.docker | ||
|
||
ENTRYPOINT ["dotnet", "MiniSpace.APIGateway.dll"] |
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,6 +1,6 @@ | ||
#!/bin/bash | ||
|
||
export ASPNETCORE_ENVIRONMENT=Development | ||
export ASPNETCORE_ENVIRONMENT=docker | ||
|
||
cd .. | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
MiniSpace.APIGateway/src/MiniSpace.APIGateway/MiniSpace.APIGateway.csproj
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
Oops, something went wrong.