Skip to content

Commit

Permalink
Remove [storage] type = "sqlite" everywhere
Browse files Browse the repository at this point in the history
This is the default (see StorageConfig in config.h)
  • Loading branch information
cajun-rat committed Oct 17, 2021
1 parent bbbc55d commit 399bbd5
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 20 deletions.
1 change: 0 additions & 1 deletion config/posix-secondary.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
ecu_hardware_id = "local-fake-secondary"

[storage]
type = "sqlite"
path = "storage"
sqldb_path = "secondary.db"

Expand Down
3 changes: 0 additions & 3 deletions config/sota-device-cred-hsm.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ tls_pkey_id = "02"
[uptane]
key_source = "pkcs11"

[storage]
type = "sqlite"

[import]
base_path = "/var/sota/import"
tls_cacert_path = "root.crt"
3 changes: 0 additions & 3 deletions config/sota-device-cred.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[tls]
server_url_path = "/var/sota/import/gateway.url"

[storage]
type = "sqlite"

[import]
base_path = "/var/sota/import"
tls_cacert_path = "root.crt"
Expand Down
1 change: 0 additions & 1 deletion config/sota-secondary.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
[storage]
type = "sqlite"
sqldb_path = "/var/sota/secondary.db"
3 changes: 0 additions & 3 deletions config/sota-shared-cred.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
[provision]
provision_path = "/var/sota/sota_provisioning_credentials.zip"

[storage]
type = "sqlite"
1 change: 0 additions & 1 deletion src/uptane_generator/run/create_repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ provision_path = "${repo_dir}/credentials.zip"
primary_ecu_hardware_id = "desktop"
[storage]
type = "sqlite"
path = "${repo_dir}/var_sota"
sqldb_path = "${repo_dir}/var_sota/sql.db"
Expand Down
3 changes: 0 additions & 3 deletions tests/config/aktualizr_secondary.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[network]
port = 9031

[storage]
type = "sqlite"

[pacman]
os = "testos"
sysroot = "testsysroot"
Expand Down
1 change: 0 additions & 1 deletion tests/device_cred_prov_hsm_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def main():
key_source = "pkcs11"
[storage]
type = "sqlite"
path = "{tmp_dir}"
[import]
Expand Down
1 change: 0 additions & 1 deletion tests/device_cred_prov_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def main():
[storage]
path = "{tmp_dir}"
type = "sqlite"
[import]
base_path = "{tmp_dir}/import"
Expand Down
1 change: 0 additions & 1 deletion tests/shared_cred_prov_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def main():
[storage]
path = "{tmp_dir}"
type = "sqlite"
sqldb_path = "{db}"
'''

Expand Down
2 changes: 0 additions & 2 deletions tests/test_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def __init__(self, aktualizr_primary_exe, aktualizr_info_exe, id,
[storage]
path = "{storage_dir}"
type = "sqlite"
sqldb_path = "{db_path}"
[pacman]
Expand Down Expand Up @@ -352,7 +351,6 @@ def __init__(self, id, aktualizr_secondary_exe='src/aktualizr_secondary/aktualiz
primary_port = {primary_port}
[storage]
type = "sqlite"
path = "{storage_dir}"
sqldb_path = "{db_path}"
Expand Down

0 comments on commit 399bbd5

Please sign in to comment.