Skip to content

Commit

Permalink
updating alembic logic to work with the new al images that manage ale…
Browse files Browse the repository at this point in the history
…mbic through poetry (#2663)
  • Loading branch information
EliseCastle23 authored Nov 7, 2024
1 parent 80fc41a commit 4feaf55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kube/services/wts/wts-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ spec:
args:
- "-c"
- |
if hash alembic 2>/dev/null; then
if hash alembic 2>/dev/null || poetry run alembic --version >/dev/null 2>&1; then
echo "Running DB migration"
cd /wts
# Managing virtual environments via poetry instead of python since the AL base image update, but retaining backwards compatibility
Expand Down

0 comments on commit 4feaf55

Please sign in to comment.