Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions .github/workflows/createrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,7 @@ jobs:
run: dotnet restore SecurityService.slnx --source ${{ secrets.PUBLICFEEDURL }} --source ${{ secrets.PRIVATEFEED_URL }}

- name: Build Code
run: dotnet build SecurityService.slnx --configuration Release

- name: Run Unit Tests
run: |
echo "ASPNETCORE_ENVIRONMENT are > ${ASPNETCORE_ENVIRONMENT}"
dotnet test "SecurityService.UnitTests\SecurityService.UnitTests.csproj"
run: dotnet build SecurityService.slnx --configuration Release

- name: Publish Images to Docker Hub - Pre Release
if: ${{ github.event.release.prerelease == true }}
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/nightlybuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,9 @@ jobs:
dotnet test "SecurityService.IntegrationTests\SecurityService.IntegrationTests.csproj" --filter Category=PRTest

- uses: actions/upload-artifact@v4.4.0
if: ${{ failure() }}
with:
name: nonuilogs
path: /home/txnproc/trace/
path: /home/runner/trace/

- name: Create Issue on Failed workflow
if: ${{ failure() }}
Expand Down Expand Up @@ -131,10 +130,9 @@ jobs:
dotnet test "SecurityService.OpenIdConnect.IntegrationTests\SecurityService.OpenIdConnect.IntegrationTests.csproj" --filter Category=PRTest

- uses: actions/upload-artifact@v4.4.0
if: ${{ failure() }}
with:
name: firefoxlogs
path: /home/txnproc/trace/
path: /home/runner/trace/

- uses: dacbd/create-issue-action@main
if: ${{ failure() }}
Expand Down Expand Up @@ -204,10 +202,9 @@ jobs:
dotnet test "SecurityService.OpenIdConnect.IntegrationTests\SecurityService.OpenIdConnect.IntegrationTests.csproj" --filter Category=PRTest

- uses: actions/upload-artifact@v4.4.0
if: ${{ failure() }}
with:
name: chromelogs
path: /home/txnproc/trace/
path: /home/runner/trace/

- uses: dacbd/create-issue-action@main
if: ${{ failure() }}
Expand Down Expand Up @@ -274,10 +271,9 @@ jobs:
dotnet test "SecurityService.OpenIdConnect.IntegrationTests\SecurityService.OpenIdConnect.IntegrationTests.csproj" --filter Category=PRTest

- uses: actions/upload-artifact@v4.4.0
if: ${{ failure() }}
with:
name: edgelogs
path: /home/txnproc/trace/
path: /home/runner/trace/

- uses: dacbd/create-issue-action@main
if: ${{ failure() }}
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,9 @@ jobs:
dotnet test "SecurityService.IntegrationTests\SecurityService.IntegrationTests.csproj" --filter Category=PRTest --configuration Release --no-build --verbosity normal --logger "trx;LogFileName=nonui-test-results.trx"

- uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: nonuilogs
path: /home/txnproc/trace/
path: /home/runner/trace/

- name: Publish test results
uses: dorny/test-reporter@v1
Expand Down Expand Up @@ -127,10 +126,9 @@ jobs:
dotnet test "SecurityService.OpenIdConnect.IntegrationTests\SecurityService.OpenIdConnect.IntegrationTests.csproj" --filter Category=PRTest --configuration Release --no-build --verbosity normal --logger "trx;LogFileName=firefoxui-test-results.trx"

- uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: firefoxlogs
path: /home/txnproc/trace/
path: /home/runner/trace/

- name: Publish test results
uses: dorny/test-reporter@v1
Expand Down Expand Up @@ -200,10 +198,9 @@ jobs:
dotnet test "SecurityService.OpenIdConnect.IntegrationTests\SecurityService.OpenIdConnect.IntegrationTests.csproj" --filter Category=PRTest

- uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: chromelogs
path: /home/txnproc/trace/
path: /home/runner/trace/


buildedgeui:
Expand Down Expand Up @@ -259,7 +256,6 @@ jobs:
dotnet test "SecurityService.OpenIdConnect.IntegrationTests\SecurityService.OpenIdConnect.IntegrationTests.csproj" --filter Category=PRTest

- uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: edgelogs
path: /home/txnproc/trace/
path: /home/runner/trace/
1 change: 0 additions & 1 deletion SecurityService/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,4 @@ RUN dotnet publish "SecurityService.csproj" -c Release -o /app
FROM base AS final
WORKDIR /app
COPY --from=publish /app .
USER app
ENTRYPOINT ["dotnet", "SecurityService.dll"]
Loading