From 62e042046c891cb56360427610e06dd21727cbdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Hern=C3=A1ndez?= Date: Wed, 15 Jan 2025 12:50:48 +0100 Subject: [PATCH] Add default values for immudb settings when not in vars.yaml Fixes: https://github.com/AlmaLinux/build-system/issues/416 --- README.md | 13 ++++++++----- inventories/one_vm/group_vars/all.yml | 8 +++++--- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a9176da..f85fd86 100644 --- a/README.md +++ b/README.md @@ -18,11 +18,7 @@ You can deploy build system in a really fast way. Let's get started. --- github_client: github_client_secret: - immudb_username: - immudb_password: - immudb_database: - immudb_address: - immudb_public_key_file: + frontend_baseurl: http://:8080 ``` if you want deploy build system on remote machine add the following parameters. @@ -140,6 +136,13 @@ albs_jwt_token: albs_jwt_secret: alts_jwt_secret: +# if you want to notarize/authorize build artifacts, you need to provide +# the following immudb configuration +immudb_username: +immudb_password: +immudb_database: +immudb_address: +immudb_public_key_file: ``` Of course, you can override the service's default users, passwords and rabbitmq params. diff --git a/inventories/one_vm/group_vars/all.yml b/inventories/one_vm/group_vars/all.yml index 1c88e39..cca0af7 100644 --- a/inventories/one_vm/group_vars/all.yml +++ b/inventories/one_vm/group_vars/all.yml @@ -24,7 +24,6 @@ sign_server_api_url: "http://nginx/sign-file/" sign_server_username: "test@test.ru" sign_server_password: "test" - alts_jwt_token: "" albs_jwt_token: "" albs_jwt_secret: "secret" @@ -43,8 +42,11 @@ pulp_user: "admin" pulp_database_url: "postgresql+psycopg2://postgres:{{ pulp_password }}@pulp/pulp" async_pulp_database_url: "postgresql+asyncpg://postgres:{{ pulp_password }}@pulp/pulp" -# cas_api_key: "" -# cas_signer_id: "" +immudb_username: "" +immudb_password: "" +immudb_database: "" +immudb_address: "" +immudb_public_key_file: "" frontend_baseurl: "http://localhost:8080" container_name_prefix: "albs"