Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

daemon, snapstate: move ensureCore from daemon/api.go into snapstate.go #3727

Merged
merged 21 commits into from
Sep 6, 2017
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
446eb64
Move ensureCore from daemon/api.go into snapstate.go
mvo5 Aug 11, 2017
ca4ede8
Merge remote-tracking branch 'upstream/master' into ensure-core-in-sn…
mvo5 Aug 17, 2017
c15c8d6
Merge remote-tracking branch 'upstream/master' into ensure-core-in-sn…
mvo5 Aug 17, 2017
462fa19
Add new "prerequisites" task in downloads
mvo5 Aug 17, 2017
4c5991e
update tests
mvo5 Aug 17, 2017
80245a9
address review comments by Samuele (thanks!)
mvo5 Aug 18, 2017
c933660
Ensure parallel runs, add more unit tests
mvo5 Aug 18, 2017
ef4ce73
use blockedTask() to serialize the "prerequisites" tasks
mvo5 Aug 18, 2017
c550df1
use state.Retry{} in doPrerequisites() instead of doing cross-change …
mvo5 Aug 18, 2017
017fbab
Handle if "snap install core" happens during doPrerequisites()
mvo5 Aug 18, 2017
7e47181
remove undoPrerequisites() in favour of a future GC
mvo5 Aug 18, 2017
e43b1f7
fix TestPopulateFromSeedMissingBootloader hanging
mvo5 Aug 21, 2017
49ccff1
Add test for prerequisites change while snap installs
mvo5 Aug 23, 2017
40e1fc9
Merge remote-tracking branch 'upstream/master' into ensure-core-in-sn…
mvo5 Aug 24, 2017
70609e0
address review feedback
mvo5 Aug 24, 2017
e344be7
address review feedback (thanks to Samuele)
mvo5 Aug 28, 2017
23aa1b4
Merge remote-tracking branch 'upstream/master' into ensure-core-in-sn…
mvo5 Aug 31, 2017
091af4c
Merge remote-tracking branch 'upstream/master' into ensure-core-in-sn…
mvo5 Sep 5, 2017
767a14c
Merge remote-tracking branch 'upstream/master' into ensure-core-in-sn…
mvo5 Sep 6, 2017
51e03f2
fix unittests
mvo5 Sep 6, 2017
9966425
Merge remote-tracking branch 'upstream/master' into ensure-core-in-sn…
mvo5 Sep 6, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'upstream/master' into ensure-core-in-sn…
…apstate
  • Loading branch information
mvo5 committed Aug 31, 2017
commit 23aa1b4011d1b3bddd35a9598d5d8d56821431b2
6 changes: 6 additions & 0 deletions overlord/managers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@ func (ms *mgrsSuite) SetUpTest(c *C) {
st.Lock()
defer st.Unlock()
st.Set("seeded", true)
// registered
auth.SetDevice(st, &auth.DeviceState{
Brand: "generic",
Model: "generic-classic",
Serial: "serialserial",
})

// add "core" snap declaration
headers := map[string]interface{}{
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.