Skip to content

Commit

Permalink
ensure old devservices is not being used
Browse files Browse the repository at this point in the history
  • Loading branch information
hubertdeng123 committed Nov 15, 2024
1 parent 982c285 commit cc43719
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions devenv/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,16 @@ def main(context: dict[str, str]) -> int:
postgres_container_name = "sentry_postgres"

if USE_NEW_DEVSERVICES:
# Ensure old sentry devservices is not being used, otherwise ports will conflict
proc.run(
(
f"{venv_dir}/bin/{repo}",
"devservices",
"down",
),
pathprepend=f"{reporoot}/.devenv/bin",
exit=True,
)
proc.run(
(
f"{venv_dir}/bin/devservices",
Expand Down

0 comments on commit cc43719

Please sign in to comment.