Skip to content

Commit 6dd84bd

Browse files
Add default values for immudb settings when not in vars.yaml (#30)
Fixes: AlmaLinux/build-system#416
1 parent bbf7fce commit 6dd84bd

2 files changed

Lines changed: 13 additions & 8 deletions

File tree

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,7 @@ You can deploy build system in a really fast way. Let's get started.
1818
---
1919
github_client: <OAuth client id>
2020
github_client_secret: <OAuth token>
21-
immudb_username: <immudb username to be used>
22-
immudb_password: <immudb password to be used>
23-
immudb_database: <immudb database name to be used>
24-
immudb_address: <url in format `host:port` of immudb instance, default port is 3322>
25-
immudb_public_key_file: <path of the public key to use>
21+
2622
frontend_baseurl: http://<Preferred hostname or IP address>:8080
2723
```
2824
if you want deploy build system on remote machine add the following parameters.
@@ -140,6 +136,13 @@ albs_jwt_token: <If you have generated JWT token manually set it here>
140136
albs_jwt_secret: <Secret of yours generated token>
141137
alts_jwt_secret: <Secret of yours generated token>
142138

139+
# if you want to notarize/authorize build artifacts, you need to provide
140+
# the following immudb configuration
141+
immudb_username: <immudb username to be used>
142+
immudb_password: <immudb password to be used>
143+
immudb_database: <immudb database name to be used>
144+
immudb_address: <url in format `host:port` of immudb instance, default port is 3322>
145+
immudb_public_key_file: <path of the public key to use>
143146

144147
```
145148
Of course, you can override the service's default users, passwords and rabbitmq params.

inventories/one_vm/group_vars/all.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ sign_server_api_url: "http://nginx/sign-file/"
2424
sign_server_username: "test@test.ru"
2525
sign_server_password: "test"
2626

27-
2827
alts_jwt_token: ""
2928
albs_jwt_token: ""
3029
albs_jwt_secret: "secret"
@@ -43,8 +42,11 @@ pulp_user: "admin"
4342
pulp_database_url: "postgresql+psycopg2://postgres:{{ pulp_password }}@pulp/pulp"
4443
async_pulp_database_url: "postgresql+asyncpg://postgres:{{ pulp_password }}@pulp/pulp"
4544

46-
# cas_api_key: ""
47-
# cas_signer_id: ""
45+
immudb_username: ""
46+
immudb_password: ""
47+
immudb_database: ""
48+
immudb_address: ""
49+
immudb_public_key_file: ""
4850

4951
frontend_baseurl: "http://localhost:8080"
5052
container_name_prefix: "albs"

0 commit comments

Comments
 (0)