Updated the name of our Acceptance test project in the pipeline (#14691)

* Updated the name of our Acceptance test project.

The reason is because we want the naming to be clear and concise.

* Changed the name of the e2e pipeline project name for linux

* Updated dll file
This commit is contained in:
Andreas Zerbst
2023-08-18 12:36:54 +02:00
committed by GitHub
parent 30f0cfc15d
commit e7af98027d
2 changed files with 4 additions and 4 deletions

View File

@@ -368,7 +368,7 @@ stages:
Umbraco__CMS__Unattended__InstallUnattended: true Umbraco__CMS__Unattended__InstallUnattended: true
Umbraco__CMS__Global__InstallMissingDatabase: true Umbraco__CMS__Global__InstallMissingDatabase: true
UmbracoDatabaseServer: (LocalDB)\MSSQLLocalDB UmbracoDatabaseServer: (LocalDB)\MSSQLLocalDB
UmbracoDatabaseName: Playwright UmbracoDatabaseName: AcceptanceTestDB
ConnectionStrings__umbracoDbDSN: Server=$(UmbracoDatabaseServer);Database=$(UmbracoDatabaseName);Integrated Security=true; ConnectionStrings__umbracoDbDSN: Server=$(UmbracoDatabaseServer);Database=$(UmbracoDatabaseName);Integrated Security=true;
# Custom Umbraco settings # Custom Umbraco settings
Umbraco__CMS__Global__VersionCheckPeriod: 0 Umbraco__CMS__Global__VersionCheckPeriod: 0
@@ -429,7 +429,7 @@ stages:
workingDirectory: tests/Umbraco.Tests.AcceptanceTest/misc workingDirectory: tests/Umbraco.Tests.AcceptanceTest/misc
- pwsh: | - pwsh: |
dotnet new --install ./nupkg/Umbraco.Templates.*.nupkg dotnet new --install ./nupkg/Umbraco.Templates.*.nupkg
dotnet new umbraco --name Playwright --no-restore --output . dotnet new umbraco --name AcceptanceTestProject --no-restore --output .
dotnet restore --configfile ./nuget.config dotnet restore --configfile ./nuget.config
dotnet build --configuration $(buildConfiguration) --no-restore dotnet build --configuration $(buildConfiguration) --no-restore
dotnet dev-certs https dotnet dev-certs https

View File

@@ -11,7 +11,7 @@ COPY nupkg .
WORKDIR /build WORKDIR /build
RUN dotnet new --install /nupkg/Umbraco.Templates.*.nupkg RUN dotnet new --install /nupkg/Umbraco.Templates.*.nupkg
RUN dotnet new umbraco --name Playwright --no-restore --output . RUN dotnet new umbraco --name AcceptanceTestProject --no-restore --output .
RUN dotnet restore --configfile /nuget.config RUN dotnet restore --configfile /nuget.config
RUN dotnet build --configuration Release --no-restore RUN dotnet build --configuration Release --no-restore
RUN dotnet publish --configuration Release --no-build --output /dist RUN dotnet publish --configuration Release --no-build --output /dist
@@ -46,4 +46,4 @@ ENV Umbraco__CMS__KeepAlive__DisableKeepAliveTask="true"
# Set application URL # Set application URL
ENV ASPNETCORE_URLS="http://0.0.0.0:5000;https://0.0.0.0:5001" ENV ASPNETCORE_URLS="http://0.0.0.0:5000;https://0.0.0.0:5001"
CMD dotnet Playwright.dll CMD dotnet AcceptanceTestProject.dll