Skip to content

Commit

Permalink
fix: update argument handling in api_configure to always include --re…
Browse files Browse the repository at this point in the history
…fs for download_databases script
  • Loading branch information
absternator committed Dec 9, 2024
1 parent 761245d commit 602730b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/beebop_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,8 @@ def redis_configure(container, cfg):

def api_configure(container, cfg):
print("[api] Downloading storage database")
args = ["./scripts/download_databases", "--refs"]
# if cfg.download_ref_dbs_only:
# args.append("--refs")
args = ["./scripts/download_databases"]
args.append("--refs")
mounts = [docker.types.Mount("/beebop/storage", cfg.volumes["storage"])]
container.client.containers.run(
str(cfg.api_ref), args, mounts=mounts, remove=True
Expand Down

0 comments on commit 602730b

Please # to comment.