Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Use sequential builds (#1148)

Leendert de Borst9fda76a5ff26
diff --git a/apps/server/Tests/AliasVault.E2ETests/Tests/Client/Shard4/AuthTests.cs b/apps/server/Tests/AliasVault.E2ETests/Tests/Client/Shard4/AuthTests.cs
index f1d8779c5..d981ef3d3 100644
--- a/apps/server/Tests/AliasVault.E2ETests/Tests/Client/Shard4/AuthTests.cs
+++ b/apps/server/Tests/AliasVault.E2ETests/Tests/Client/Shard4/AuthTests.cs
@@ -229,27 +229,12 @@ public class AuthTests : ClientPlaywrightTest
Assert.That(authLogEntry, Is.Not.Null, "No auth log entry found for re-registration.");
}
- /// <summary>
- /// Test if registering an account with the same email address as an existing account shows a warning.
- /// </summary>
- /// <returns>Async task.</returns>
- [Test]
- [Order(7)]
- public async Task RegisterFormWarningTest()
- {
- await Logout();
- await Register(checkForSuccess: false);
-
- var warning = await Page.TextContentAsync("div[role='alert']");
- Assert.That(warning, Does.Contain("is already in use."), "No visible warning when registering with existing email address.");
- }
-
/// <summary>
/// Test if entering a wrong password too many times locks the account.
/// </summary>
/// <returns>Async task.</returns>
[Test]
- [Order(8)]
+ [Order(7)]
public async Task PasswordAuthLockoutTest()
{
await Logout();
diff --git a/dockerfiles/all-in-one/Dockerfile b/dockerfiles/all-in-one/Dockerfile
index 1be305c63..879279f57 100644
--- a/dockerfiles/all-in-one/Dockerfile
+++ b/dockerfiles/all-in-one/Dockerfile
@@ -21,26 +21,19 @@ WORKDIR /src/apps/server
RUN dotnet workload install wasm-tools && \
dotnet restore aliasvault.sln
-# Build all applications in parallel where possible
-RUN mkdir -p /app/{api,client,admin,smtp,taskrunner,installcli} && \
- # Build projects in parallel (independent projects first)
- dotnet publish AliasVault.Api/AliasVault.Api.csproj \
- -c Release -o /app/api --no-restore & \
+# Build all applications
+RUN dotnet publish AliasVault.Api/AliasVault.Api.csproj \
+ -c Release -o /app/api --no-restore && \
+ dotnet publish AliasVault.Client/AliasVault.Client.csproj \
+ -c Release -o /app/client --no-restore && \
+ dotnet publish AliasVault.Admin/AliasVault.Admin.csproj \
+ -c Release -o /app/admin --no-restore && \
dotnet publish Services/AliasVault.SmtpService/AliasVault.SmtpService.csproj \
- -c Release -o /app/smtp --no-restore & \
+ -c Release -o /app/smtp --no-restore && \
dotnet publish Services/AliasVault.TaskRunner/AliasVault.TaskRunner.csproj \
- -c Release -o /app/taskrunner --no-restore & \
+ -c Release -o /app/taskrunner --no-restore && \
dotnet publish Utilities/AliasVault.InstallCli/AliasVault.InstallCli.csproj \
- -c Release -o /app/installcli --no-restore & \
- # Wait for the above builds to complete
- wait && \
- # Build remaining projects (Admin and Client can run in parallel)
- dotnet publish AliasVault.Admin/AliasVault.Admin.csproj \
- -c Release -o /app/admin --no-restore & \
- dotnet publish AliasVault.Client/AliasVault.Client.csproj \
- -c Release -o /app/client --no-restore & \
- # Wait for all builds to complete
- wait && \
+ -c Release -o /app/installcli --no-restore && \
# Clean up .NET debug files and unnecessary files
find /app -name "*.pdb" -delete && \
find /app -name "*.xml" -not -name "*.deps.json" -delete && \