chore: skip ui build in CI - 3h to build

This commit is contained in:
Manuthor 2025-04-11 12:02:52 +02:00
parent 6884069576
commit e733ab7b16
12 changed files with 611 additions and 4 deletions

1
.gitignore vendored
View file

@ -20,4 +20,3 @@ node_modules/
**/cosmian-kms/sqlite-data*
run.sh
.aider/
ui/

View file

@ -7,7 +7,7 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
exclude: documentation/pandoc|documentation/overrides|crate/server/src/tests/test_utils.rs|.pre-commit-config.yaml|crate/server/src/routes/google_cse/jwt.rs|crate/server/src/routes/google_cse/python/openssl|documentation/docs/google_cse|crate/pkcs11/sys|documentation/docs/drawings|test_data|documentation/docs/benchmarks.md|crate/hsm/proteccio/driver
exclude: documentation/pandoc|documentation/overrides|crate/server/src/tests/test_utils.rs|.pre-commit-config.yaml|crate/server/src/routes/google_cse/jwt.rs|crate/server/src/routes/google_cse/python/openssl|documentation/docs/google_cse|crate/pkcs11/sys|documentation/docs/drawings|test_data|documentation/docs/benchmarks.md|crate/hsm/proteccio/driver|crate/server/ui
repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.0.0

View file

@ -23,10 +23,8 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then export ARCHITECTURE=x86_64; e
# Conditional cargo build based on FIPS argument
RUN if [ "$FIPS" = "true" ]; then \
FEATURES="fips" bash .github/scripts/build_ui.sh; \
cargo build -p cosmian_cli -p cosmian_kms_server --release --no-default-features --features="fips"; \
else \
bash .github/scripts/build_ui.sh; \
cargo build -p cosmian_cli -p cosmian_kms_server --release --no-default-features; \
fi

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 14 KiB

38
crate/server/ui/dist/Cosmian-Logo.svg vendored Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 845 B

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

14
crate/server/ui/dist/index.html vendored Normal file
View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/ui/assets/cropped-favicon-cosmian-32x32-BVkavOsn.png" sizes="32x32" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cosmian KMS</title>
<script type="module" crossorigin src="/ui/assets/index-D0IgDctm.js"></script>
<link rel="stylesheet" crossorigin href="/ui/assets/index-BzFVru8x.css">
</head>
<body>
<div id="root" class="h-screen"></div>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB