Commit Graph

  • e39a50cf2a Merge pull request #10237 from mardy/linter-client Alberto Mardegan 2021-05-05 14:24:58 +03:00
  • 41229e38e9 Merge pull request #10231 from mardy/linter Michael Vogt 2021-05-05 12:31:58 +02:00
  • c14c584e81 github: add Fedora 34 to tests workflow Maciej Borzecki 2021-05-05 11:48:28 +02:00
  • 99ea6f4642 client: Fix linter errors Alberto Mardegan 2021-05-05 12:44:38 +03:00
  • 032625eda5 spread: add Fedora 34, leave a TODO about dropping Fedora 32 Maciej Borzecki 2021-05-05 11:13:52 +02:00
  • 2f695bd33f Merge pull request #10233 from mardy/linter-cmd-repair Maciej Borzecki 2021-05-05 09:44:48 +02:00
  • 6af70d8f97 Merge pull request #10232 from mardy/linter-cmd-bootstrap Maciej Borzecki 2021-05-05 09:44:19 +02:00
  • 37e83765f3 asserts: fix errors reported by linter Alberto Mardegan 2021-05-05 10:16:20 +03:00
  • 85ac6ffc03 Merge pull request #9960 from sergiocazzolato/tests-fix-ubuntu-2104-security-dev-input-event-denied Sergio Cazzolato 2021-05-04 13:50:14 -03:00
  • 4956fc41e2 cmd/snap-update-ns: Fix linter errors Alberto Mardegan 2021-05-04 18:58:14 +03:00
  • 9faf66a6ed cmd/snap-repair: fix linter issues Alberto Mardegan 2021-05-04 18:32:01 +03:00
  • fc650d3400 cmd/snap-boostrap: Fix linter errors Alberto Mardegan 2021-05-04 18:00:28 +03:00
  • ce4ac97ccd Merge branch 'master' into tests-use-os-paths-part2 Sergio Cazzolato 2021-05-04 11:31:01 -03:00
  • 7b79c1eeee Merge branch 'master' into tests-fix-ubuntu-2104-security-dev-input-event-denied Sergio Cazzolato 2021-05-04 11:29:46 -03:00
  • 0d6e23e4fb Merge pull request #10223 from stolowski/resource-groups/tweaks Maciej Borzecki 2021-05-04 15:21:49 +02:00
  • 194cc9292a Merge pull request #10221 from bboozzoo/bboozzoo/snaptest-helper-create-dir-and-file Maciej Borzecki 2021-05-04 14:34:12 +02:00
  • a5a7737481 cmd/snap: Fix errors reported by linter Alberto Mardegan 2021-05-04 15:29:03 +03:00
  • f43163acd2 Merge remote-tracking branch 'upstream/master' into resource-groups/tweaks Maciej Borzecki 2021-05-04 13:40:38 +02:00
  • 0febdeacac Merge pull request #10229 from bboozzoo/bboozzoo/uc20-create-recovery-systems-followup Maciej Borzecki 2021-05-04 13:35:41 +02:00
  • b05f006ae9 Merge pull request #10230 from bboozzoo/bboozzoo/uc20-move-things-around Maciej Borzecki 2021-05-04 13:35:08 +02:00
  • 8b4630808d overlord/devicestate: move devicemgr base suite helpers closer to test suite struct Maciej Borzecki 2021-05-04 12:44:48 +02:00
  • 5f0b393acf overlord/devicestate: tweak comment about creating recovery systems, formatting tweaks Maciej Borzecki 2021-05-04 12:03:25 +02:00
  • 569ad848ab Merge pull request #10185 from bboozzoo/bboozzoo/uc20-recovery-systems-ensure-tried Michael Vogt 2021-05-04 10:18:23 +02:00
  • 91342af68e seed/seedwriter: clarify in the diagram when SetInfo is called Samuele Pedroni 2021-05-04 09:28:13 +02:00
  • 192a8dff78 overlord/devicestate: add helper for creating recovery systems at runtime Samuele Pedroni 2021-05-04 09:27:19 +02:00
  • 670d5800f7 Merge pull request #10224 from mvo5/snap-seccomp-syscalls-upate Michael Vogt 2021-05-04 09:24:28 +02:00
  • 2436f88a91 boot/systems_test.go: fix old gofmt Ian Johnson 2021-05-03 19:09:46 -05:00
  • 9ec4e8e6b8 boot/systems: check that a tried system is in modeenv's CurrentRecoverySystems Ian Johnson 2021-05-03 16:10:03 -05:00
  • 391779f615 Merge branch 'master' into bboozzoo/uc20-recovery-systems-ensure-tried Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2021-05-03 15:55:56 -05:00
  • 444879bf17 o/devicestate/systems: address comments from PR feedback Ian Johnson 2021-05-03 15:37:30 -05:00
  • f240fa82c1 seed/seedwriter: clarify in the diagram when SetInfo is called Samuele Pedroni 2021-05-03 22:12:48 +02:00
  • d9e5de1c60 Merge remote-tracking branch 'upstream/master' into tests-use-os-paths-part2 Sergio Cazzolato 2021-05-03 14:27:07 -03:00
  • b30c499cb3 Merge remote-tracking branch 'upstream/master' into tests-fix-ubuntu-2104-security-dev-input-event-denied Sergio Cazzolato 2021-05-03 14:25:49 -03:00
  • 5ab26a1920 Merge pull request #10225 from pedronis/factory-hint Michael Vogt 2021-05-03 19:03:32 +02:00
  • 3a813c6f14 Merge remote-tracking branch 'upstream/master' into factory-hint Michael Vogt 2021-05-03 16:03:34 +02:00
  • ec3f1d47b1 interfaces/udisks2: Allow access to the login manager via dbus Alex Murray 2021-05-03 18:13:58 +09:30
  • 6588fd6485 Merge pull request #10222 from pedronis/device-snapctl-reboot-halt-or-poweroff Michael Vogt 2021-05-03 10:39:20 +02:00
  • b2395e1db6 daemon: fix for log Samuele Pedroni 2021-05-03 09:05:46 +02:00
  • 57bdcca4e6 Merge remote-tracking branch 'upstream/master' into device-snapctl-reboot-halt-or-poweroff Michael Vogt 2021-05-02 20:45:33 +02:00
  • 22b4c20723 Merge pull request #10214 from mvo5/feature/quota-group-4-just-add-remove-exp-flag Michael Vogt 2021-05-02 19:11:56 +02:00
  • 78cc248ed4 Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-devicestate-helper-create-recovery Maciej Borzecki 2021-05-02 13:45:19 +02:00
  • 520acaf9aa overlord/devicestate: fix use of seed snap name Maciej Borzecki 2021-04-30 12:21:20 +02:00
  • 954b3d3d22 overlord/devicestate: deal with implicit snapd when creating recovery systems Maciej Borzecki 2021-05-02 13:39:07 +02:00
  • 543aa8414d Enable experimental.quota-groups in the spread test. Fix expected error message. Paweł Stołowski 2021-05-02 07:28:03 +00:00
  • dd85f2d2c2 daemon: fix maintenanceForRestartType Samuele Pedroni 2021-04-30 22:44:33 +02:00
  • 37c1255389 boot/image: support image.Customizations.BootFlags Samuele Pedroni 2021-04-30 21:11:02 +02:00
  • fedf12975e image: add clout-init docs references Samuele Pedroni 2021-04-30 21:14:50 +02:00
  • 20563dc1de Merge remote-tracking branch 'upstream/master' into feature/quota-group-4-just-add-remove-exp-flag Michael Vogt 2021-04-30 20:55:14 +02:00
  • 8253f8cdbc Merge pull request #10216 from anonymouse64/feature/quota-group-4.5 Michael Vogt 2021-04-30 20:17:39 +02:00
  • aeac93ca00 snap-seccomp: update syscalls.go list Michael Vogt 2021-04-30 18:58:01 +02:00
  • 5a9d447b5a Merge pull request #10213 from stolowski/resource-groups/cli-spread Michael Vogt 2021-04-30 18:55:14 +02:00
  • 270c2c63ca o/servicestate/quota_control.go: remove unnecessary error checking Ian Johnson 2021-04-30 11:53:01 -05:00
  • 59efba9afe Also enable quota feature in vitality test. Paweł Stołowski 2021-04-30 16:08:26 +00:00
  • 59b03c348a Merge remote-tracking branch 'upstream/master' into tests-fix-ubuntu-2104-security-dev-input-event-denied Sergio Cazzolato 2021-04-30 12:59:27 -03:00
  • da0bab9db4 Merge remote-tracking branch 'upstream/master' into tests-reorg-local-snaps-part-1 Sergio Cazzolato 2021-04-30 12:51:03 -03:00
  • 2b7c0c2fd2 Enable "experimental.quota-groups" in api tests for quota. Paweł Stołowski 2021-04-30 15:48:35 +00:00
  • 01a36fa43a Fix tests which are editing the snaps before install them Sergio Cazzolato 2021-04-30 12:41:42 -03:00
  • aab48c4a84 Merge pull request #10184 from sergiocazzolato/tests-move-test-snaps-part1 Sergio Cazzolato 2021-04-30 12:41:00 -03:00
  • 9f4a111d14 o/servicestate_quota_control: detect inconsistent parent in RemoveQuota Ian Johnson 2021-04-30 10:08:26 -05:00
  • 1294a9f051 o/servicestate/quota_control_test.go: test removing 1 of 2 sub-groups works too Ian Johnson 2021-04-30 09:58:48 -05:00
  • 3464c8c620 image,c/snap: implement prepare-image --customize Samuele Pedroni 2021-04-30 16:56:23 +02:00
  • 60b571341f Update client tests. Paweł Stołowski 2021-04-30 14:52:23 +00:00
  • 58fb9c9277 Remove incorrect TODOs Paweł Stołowski 2021-04-30 14:49:27 +00:00
  • 1d7135ae59 Detect inconsistency in groups received with 'snap quotas' and print an internal error. Paweł Stołowski 2021-04-30 14:41:36 +00:00
  • 86a0091b81 Fix test suite name. Paweł Stołowski 2021-04-30 14:28:04 +00:00
  • 9d67a33651 Merge remote-tracking branch 'upstream/master' into feature/quota-group-4.5 Michael Vogt 2021-04-30 16:24:25 +02:00
  • bdeffc217f overlord: support snapctl --halt|--poweroff in gadget install-device Samuele Pedroni 2021-04-30 14:58:52 +02:00
  • d7d5290a37 daemon: support RestartSystem(Halt|Poweroff)Now Samuele Pedroni 2021-04-29 21:13:31 +02:00
  • d3113dac1f o/state: introduce RestartSystem(Halt|Poweroff)Now Samuele Pedroni 2021-04-30 16:02:56 +02:00
  • 6d4f52a4f3 Merge branch 'master' into feature/quota-group-4-just-add-remove-exp-flag Paweł Stołowski 2021-04-30 14:14:55 +00:00
  • 3107e05c64 Fix CreateQuota/UpdateQuota calls. Paweł Stołowski 2021-04-30 14:10:38 +00:00
  • 02ab88f597 Use more generic error message if quota groups feature is disabled. Paweł Stołowski 2021-04-30 14:07:00 +00:00
  • 6a6ad217e5 Fix error messages. Paweł Stołowski 2021-04-30 13:59:58 +00:00
  • b0e74cfbad Spread test fixes. Paweł Stołowski 2021-04-30 13:59:16 +00:00
  • 0ce6791ee2 Test fixes. Paweł Stołowski 2021-04-30 10:32:24 +00:00
  • 61697852fc Basic spread test for snap quota commands. Paweł Stołowski 2021-04-29 15:27:34 +00:00
  • efec71b027 Merge pull request #10208 from stolowski/resource-groups/api Michael Vogt 2021-04-30 14:59:14 +02:00
  • c90bcb1705 snap/snaptest: helper that mocks both the squashfs file and a snap directory Maciej Borzecki 2021-04-30 13:45:14 +02:00
  • da214a41f6 tests: update test-snapd-policy-app-consumer to add polkit plug James Henstridge 2021-04-30 20:25:36 +08:00
  • 1393a14d4c seed/seedwriter: fail early when system seed directory exists Maciej Borzecki 2021-04-30 13:52:27 +02:00
  • 199069f442 Test cases for rootOnly. Paweł Stołowski 2021-04-30 10:17:30 +00:00
  • b2dfd294ec Use GetQuota() and introduce ErrQuotaNotFound. Paweł Stołowski 2021-04-30 10:00:26 +00:00
  • d128692ccf Rename to api_quotas.*go Paweł Stołowski 2021-04-30 09:42:59 +00:00
  • d69f605291 Use rootOnly for quotas endpoint. Paweł Stołowski 2021-04-30 09:41:49 +00:00
  • 0ea5c302cc Merge pull request #10210 from stolowski/resource-groups/cli-quotas Michael Vogt 2021-04-30 11:13:03 +02:00
  • 63830633ab o/servicestate: don't lock state from servicestate functions Ian Johnson 2021-04-29 21:36:56 -05:00
  • 31465c70ea o/{config,service}state: unexport PatchQuotasState, rename to patchQuotas Ian Johnson 2021-04-29 21:34:23 -05:00
  • abed80df3e Update the test. Paweł Stołowski 2021-04-30 07:41:40 +00:00
  • 916c26a5c5 Revert "Fix locking, update failing test check." Paweł Stołowski 2021-04-30 07:39:03 +00:00
  • ea2de7e0db Use int for called var (thanks mvo) Paweł Stołowski 2021-04-29 18:42:56 +00:00
  • df9c56650a Fix locking, update failing test check. Paweł Stołowski 2021-04-29 18:41:25 +00:00
  • 652e1abd7a daemon: update tests quota test to use servicestate.CreateQuota Michael Vogt 2021-04-29 20:20:34 +02:00
  • 9c253120a1 Pass state to CreateQuota / RemoveQuota. Paweł Stołowski 2021-04-29 16:25:14 +00:00
  • ad819b5e22 Implement basic REST API for quota groups. Paweł Stołowski 2021-04-27 08:41:27 +00:00
  • d4b155dfd6 interfaces: add a polkit interface for use by system daemons James Henstridge 2021-04-30 15:21:41 +08:00
  • 46069da801 o/servicestate/quota_control_test.go: test adding a sub-group too big fails Ian Johnson 2021-04-29 22:06:03 -05:00
  • 3ddfb6e941 o/servicestate/quota_control_test.go: test creating sub-group with fake parent Ian Johnson 2021-04-29 22:03:01 -05:00
  • 97dadc5497 o/servicestate/quota_control.go: fix removing sub-group case, add tests Ian Johnson 2021-04-29 21:58:52 -05:00
  • c7c700a492 o/servicestate/quota_control_test.go: rename var Ian Johnson 2021-04-29 21:47:43 -05:00
  • 7c2cab9e94 o/servicestate/quota_control.go: refactor validateSnapForAddingToGroup Ian Johnson 2021-04-29 21:46:47 -05:00