From df2e977b35e160f534bf0e04af73ae91509615d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Mon, 16 Nov 2020 12:18:54 +0100 Subject: [PATCH] Remove `android pullimage` command Instead, run `images pull android`. --- CHANGELOG.md | 1 + tutor/commands/android.py | 8 -------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 66a2e78..cf6315e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Note: Breaking changes between versions are indicated by "💥". ## Unreleased +- 💥[Improvement] Remove `tutor android pullimage` command. Instead, run `tutor images pull android`. - [Bugfix] Fix `config save` on Windows. - [Bugfix] Fix platform checking in user ID function diff --git a/tutor/commands/android.py b/tutor/commands/android.py index 8f19b6f..fd5c0a7 100644 --- a/tutor/commands/android.py +++ b/tutor/commands/android.py @@ -24,13 +24,6 @@ def build(context, mode): ) -@click.command(help="Pull the docker image") -@click.pass_obj -def pullimage(context): - config = tutor_config.load(context.root) - utils.docker("pull", config["DOCKER_IMAGE_ANDROID"]) - - def build_command(config, target): gradle_target = { "debug": "assembleProdDebuggable", @@ -58,4 +51,3 @@ def docker_run(root, command): android.add_command(build) -android.add_command(pullimage)