Skip to content

Commit

Permalink
Update ehrQL image to v1
Browse files Browse the repository at this point in the history
At time of writing, the ehrQL image is still at v0,
but we will need this change in the near future to switch to v1
once a Docker ehrQL image with a v1 tag is available.
  • Loading branch information
StevenMaude committed Nov 16, 2023
1 parent 9a2f28e commit 10f5bf4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion opensafely/pull.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def remove_deprecated_images(local_images):

def get_default_version_for_image(name):
if name in ["databuilder", "ehrql"]:
return "v0"
return "v1"
else:
return "latest"

Expand Down
4 changes: 2 additions & 2 deletions tests/test_pull.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ def test_default_no_local_images_force(run, capsys):
stdout="",
)
run.expect(["docker", "pull", tag("cohortextractor")])
run.expect(["docker", "pull", tag("databuilder", version="v0")])
run.expect(["docker", "pull", tag("ehrql", version="v0")])
run.expect(["docker", "pull", tag("databuilder", version="v1")])
run.expect(["docker", "pull", tag("ehrql", version="v1")])
run.expect(["docker", "pull", tag("jupyter")])
run.expect(["docker", "pull", tag("python")])
run.expect(["docker", "pull", tag("r")])
Expand Down

0 comments on commit 10f5bf4

Please sign in to comment.