lxd: add an --image argument to cleanbuild #1769

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

mwhudson commented Nov 29, 2017

A replacement for #1557

@kalikiana kalikiana self-requested a review Dec 4, 2017

I notice you didn't update snapcraft/cli/containers.py to make the refresh command use the image as well. And somehow the unit test for it wasn't run. I'll have to investigate what's wrong with the test, it seems it got lost between folder structure changes.

@@ -50,6 +50,11 @@ def use_container(self):
def remote(self):
return self._remote
+ @property
+ def image(self):
+ # TODO: allow this to be overridden
@kalikiana

kalikiana Dec 4, 2017

Collaborator

It slightly bugs me that now there's two places where the default image is defined... how about putting the default image in snapcraft/internal/common.py?

@mwhudson

mwhudson Dec 4, 2017

Contributor

Done

@kalikiana kalikiana referenced this pull request Dec 4, 2017

Merged

tests: move refresh to unit folder #1787

6 of 6 tasks complete
Collaborator

kalikiana commented Dec 4, 2017

I proposed #1787 to fix the refresh test.

Contributor

mwhudson commented Dec 4, 2017

I updated the refresh command now that the test for it fails :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment