1
0
mirror of https://github.com/bitwarden/server synced 2025-12-10 21:33:41 +00:00

BRE-1355 - Rename Bitwarden Unified to Bitwarden Lite (#6592)

(cherry picked from commit 2b926ef1c5)
This commit is contained in:
Vince Grassia
2025-11-18 12:24:01 -05:00
parent cc0d9cfef1
commit 97d9afb9c7
6 changed files with 10 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
name: Bitwarden Unified Deployment Bug Report name: Bitwarden Lite Deployment Bug Report
description: File a bug report description: File a bug report
labels: [bug, bw-unified-deploy] labels: [bug, bw-lite-deploy]
body: body:
- type: markdown - type: markdown
attributes: attributes:
@@ -74,7 +74,7 @@ body:
id: epic-label id: epic-label
attributes: attributes:
label: Issue-Link label: Issue-Link
description: Link to our pinned issue, tracking all Bitwarden Unified description: Link to our pinned issue, tracking all Bitwarden Lite
value: | value: |
https://github.com/bitwarden/server/issues/2480 https://github.com/bitwarden/server/issues/2480
validations: validations:

View File

@@ -490,7 +490,7 @@ jobs:
- name: Log out from Azure - name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main uses: bitwarden/gh-actions/azure-logout@main
- name: Trigger self-host build - name: Trigger Bitwarden Lite build
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with: with:
github-token: ${{ steps.retrieve-secret-pat.outputs.github-pat-bitwarden-devops-bot-repo-scope }} github-token: ${{ steps.retrieve-secret-pat.outputs.github-pat-bitwarden-devops-bot-repo-scope }}
@@ -498,7 +498,7 @@ jobs:
await github.rest.actions.createWorkflowDispatch({ await github.rest.actions.createWorkflowDispatch({
owner: 'bitwarden', owner: 'bitwarden',
repo: 'self-host', repo: 'self-host',
workflow_id: 'build-unified.yml', workflow_id: 'build-bitwarden-lite.yml',
ref: 'main', ref: 'main',
inputs: { inputs: {
server_branch: process.env.GITHUB_REF server_branch: process.env.GITHUB_REF

View File

@@ -62,7 +62,7 @@ jobs:
docker compose --profile mssql --profile postgres --profile mysql up -d docker compose --profile mssql --profile postgres --profile mysql up -d
shell: pwsh shell: pwsh
- name: Add MariaDB for unified - name: Add MariaDB for Bitwarden Lite
# Use a different port than MySQL # Use a different port than MySQL
run: | run: |
docker run --detach --name mariadb --env MARIADB_ROOT_PASSWORD=mariadb-password -p 4306:3306 mariadb:10 docker run --detach --name mariadb --env MARIADB_ROOT_PASSWORD=mariadb-password -p 4306:3306 mariadb:10
@@ -133,7 +133,7 @@ jobs:
# Default Sqlite # Default Sqlite
BW_TEST_DATABASES__3__TYPE: "Sqlite" BW_TEST_DATABASES__3__TYPE: "Sqlite"
BW_TEST_DATABASES__3__CONNECTIONSTRING: "Data Source=${{ runner.temp }}/test.db" BW_TEST_DATABASES__3__CONNECTIONSTRING: "Data Source=${{ runner.temp }}/test.db"
# Unified MariaDB # Bitwarden Lite MariaDB
BW_TEST_DATABASES__4__TYPE: "MySql" BW_TEST_DATABASES__4__TYPE: "MySql"
BW_TEST_DATABASES__4__CONNECTIONSTRING: "server=localhost;port=4306;uid=root;pwd=mariadb-password;database=vault_dev;Allow User Variables=true" BW_TEST_DATABASES__4__CONNECTIONSTRING: "server=localhost;port=4306;uid=root;pwd=mariadb-password;database=vault_dev;Allow User Variables=true"
run: dotnet test --logger "trx;LogFileName=infrastructure-test-results.trx" /p:CoverletOutputFormatter="cobertura" --collect:"XPlat Code Coverage" run: dotnet test --logger "trx;LogFileName=infrastructure-test-results.trx" /p:CoverletOutputFormatter="cobertura" --collect:"XPlat Code Coverage"

View File

@@ -21,7 +21,7 @@ public class GlobalSettings : IGlobalSettings
} }
public bool SelfHosted { get; set; } public bool SelfHosted { get; set; }
public bool UnifiedDeployment { get; set; } public bool LiteDeployment { get; set; }
public virtual string KnownProxies { get; set; } public virtual string KnownProxies { get; set; }
public virtual string SiteName { get; set; } public virtual string SiteName { get; set; }
public virtual string ProjectName { get; set; } public virtual string ProjectName { get; set; }

View File

@@ -6,7 +6,7 @@ public interface IGlobalSettings
{ {
// This interface exists for testing. Add settings here as needed for testing // This interface exists for testing. Add settings here as needed for testing
bool SelfHosted { get; set; } bool SelfHosted { get; set; }
bool UnifiedDeployment { get; set; } bool LiteDeployment { get; set; }
string KnownProxies { get; set; } string KnownProxies { get; set; }
string ProjectName { get; set; } string ProjectName { get; set; }
bool EnableCloudCommunication { get; set; } bool EnableCloudCommunication { get; set; }

View File

@@ -645,7 +645,7 @@ public static class ServiceCollectionExtensions
ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto
}; };
if (!globalSettings.UnifiedDeployment) if (!globalSettings.LiteDeployment)
{ {
// Trust the X-Forwarded-Host header of the nginx docker container // Trust the X-Forwarded-Host header of the nginx docker container
try try