Commit Graph

  • 1598ed3dee log.Panic instead of log.Fatal to prevent os.Exit(1) and allow the deferred functions to be executed by fgimenez approved by chipaca Federico Gimenez 2015-07-24 10:02:27 +00:00
  • 6e9b6f2882 cmd/snappy/cmd_update.go: fix incorrect copy/paste Michael Vogt 2015-07-24 11:37:36 +02:00
  • ae48058981 log.Panic instead of log.Fatal to prevent os.Exit(1) and allow the defered functions to be executed Federico Gimenez 2015-07-24 10:13:24 +02:00
  • 8c53b70023 Do all modifications in uboot via setEnvVar/getEnvVar and set the methods for this in the uboot init. by mvo approved by rsalveti,ogra Michael Vogt 2015-07-23 19:12:08 +00:00
  • ed97efd84e do all modifications via uboot envVars Michael Vogt 2015-07-23 20:10:51 +02:00
  • fb85f98042 cherry pick lp:~mvo/snappy/15.04-snappy-more-uboot-fiddling Michael Vogt 2015-07-23 19:52:16 +02:00
  • ad7a371f38 Renamed packageYaml's Services to ServiceYamls (also SnapPart's Services, which are the same thing). Was going to use ServiceDescription but systemd has that already. Also a small run-checks tweak. by chipaca approved by mvo John R. Lenton 2015-07-23 13:32:15 +00:00
  • 882feaac55 services command, iteration 1 John R. Lenton 2015-07-23 14:15:56 +01:00
  • 549a222cfe Make snappy_trial_boot a boolean instead of set/unset because u-boot is acting really funny when vars are unset. by mvo approved by chipaca Michael Vogt 2015-07-23 12:12:14 +00:00
  • 38cd9cf883 Set snappy_trial_boot to "0" instead of unsetting it Michael Vogt 2015-07-23 13:54:14 +02:00
  • 5e0a447a1d Renamed packageYaml's Services to ServiceYamls (also SnapPart's Services, which are the same thing). Was going to use ServiceDescription but systemd has that already. Also a small run-checks tweak. John R. Lenton 2015-07-23 12:05:37 +01:00
  • b5288cc335 Refactored the helpers to be able to add tests for them. Added tests for the config helpers. by elopio approved by fgimenez Leo Arias 2015-07-23 10:42:05 +00:00
  • 8473dda34d Refactored the integration tests: moved them all to the tests package. by elopio approved by fgimenez Leo Arias 2015-07-23 10:32:12 +00:00
  • 78c0fe4247 Added instructions to set up the project in the _integration-tests readme. by elopio approved by fgimenez Leo Arias 2015-07-23 10:12:36 +00:00
  • 7a2b9e3092 Updated the Cfg comment. Leo Arias 2015-07-22 13:10:20 -06:00
  • d094557647 Reverted the _test change. Leo Arias 2015-07-22 13:07:27 -06:00
  • 1286ffaa9d Cleaned up the config test. Leo Arias 2015-07-22 13:04:35 -06:00
  • 4ccf9fd645 Cleaned up the config test. Leo Arias 2015-07-22 13:02:17 -06:00
  • 50560e4ff4 Cleaned up the config test. Leo Arias 2015-07-22 12:56:03 -06:00
  • ca257777c0 Cleaned up the config test. Leo Arias 2015-07-22 12:52:40 -06:00
  • 7bd7123fbd Cleaned up the config test. Leo Arias 2015-07-22 12:50:15 -06:00
  • 123beee128 Fixed the config tests. Leo Arias 2015-07-22 12:45:48 -06:00
  • 8ef9f560ee Use nonlocal import. Leo Arias 2015-07-22 12:15:44 -06:00
  • 4be51cfca2 Added tests for config. Leo Arias 2015-07-22 12:13:22 -06:00
  • 493abe3dc1 Added instructions to set up the project in the _integration-tests readme. Leo Arias 2015-07-22 10:48:57 -06:00
  • 76829aab97 Refactored the integration tests: moved them all to the tests package. Leo Arias 2015-07-22 10:36:14 -06:00
  • 043aad9481 Added support for real rollbacks before running the integration tests. by elopio approved by fgimenez Leo Arias 2015-07-22 12:02:27 -04:00
  • 7f4c02c4e4 Handle the update config value. Leo Arias 2015-07-22 09:12:24 -06:00
  • cd110acc7d Updated the README. Leo Arias 2015-07-22 08:34:34 -06:00
  • d2bbe65bfd Use native uboot-go code to manipulate the snappy uboot.env file. by mvo approved by chipaca Michael Vogt 2015-07-22 06:41:56 -04:00
  • 49286340a8 Change bootsuccessful uboot to use fw_setenv instead of modifying a text-file. by mvo approved by mvo Michael Vogt 2015-07-22 06:32:17 -04:00
  • 14279a118d dependencies.tsv: update uboot-go git dependency Michael Vogt 2015-07-22 10:16:51 +02:00
  • 1e8b4fdaf9 add golang-uboot-go-dev dependency Michael Vogt 2015-07-21 21:07:56 +02:00
  • 636474e03c add github.com/mvo5/uboot-go Michael Vogt 2015-07-21 17:22:47 +02:00
  • 89cf57cb68 Merged with prerequisite. Leo Arias 2015-07-21 09:21:08 -06:00
  • 2e54b0ff7f Added support for real updates before running the integration tests. by elopio approved by fgimenez Leonardo Arias Fonseca 2015-07-21 11:12:09 -04:00
  • cd701e141d Launchpad automatic translations update. Launchpad Translations on behalf of snappy-dev 2015-07-21 05:38:31 +00:00
  • fb104d7dde Renamed the packages. Leo Arias 2015-07-20 18:41:05 -06:00
  • 3fd7c54eef Merged with trunk. Leo Arias 2015-07-20 18:40:00 -06:00
  • 5e5f0f27d4 Moved the examples from run-checks to the README. Leo Arias 2015-07-20 18:38:12 -06:00
  • 2d337bc017 Use a map for the regex. Leo Arias 2015-07-20 18:32:55 -06:00
  • 998e762d75 Added the isInRebootProcess method. Leo Arias 2015-07-20 18:22:52 -06:00
  • 93626df4ad Removed includeShell infrastructure by fgimenez approved by elopio Federico Gimenez 2015-07-20 17:02:36 -04:00
  • 3091d07561 update for latest api Michael Vogt 2015-07-20 12:17:08 +02:00
  • 20d853e120 update for new uboot-go API Michael Vogt 2015-07-20 11:36:30 +02:00
  • 3b18719ae0 cleanup Michael Vogt 2015-07-20 11:22:26 +02:00
  • 57fe5c79ad merged lp:~mvo/snappy/snappy-bootsuccess-env/ and update for current code Michael Vogt 2015-07-20 11:17:27 +02:00
  • e71cd0c6b4 address Sergios points (thanks!) Michael Vogt 2015-07-17 20:15:18 +02:00
  • 2253303acb fix comment Michael Vogt 2015-07-17 19:31:55 +02:00
  • 17dd33e3fa Checks that the directories listed in /etc/system-image/writable-paths are writable by fgimenez approved by elopio Federico Gimenez 2015-07-17 12:32:25 -04:00
  • 0cc1dff032 Returning named parameters Federico Gimenez 2015-07-17 18:16:03 +02:00
  • 605b8ceb93 Removed includeShell infrastructure Federico Gimenez 2015-07-17 17:43:11 +02:00
  • a96b7aa62d Added an integration test for a fake rollback. Removed the shell test that used to do it. by elopio approved by fgimenez Leo Arias 2015-07-17 11:42:12 -04:00
  • b32f6905e5 Also remove the dependent 91 test. Leo Arias 2015-07-17 09:34:41 -06:00
  • cb65a2da75 Translated the version integration test to go. by elopio approved by fgimenez Leo Arias 2015-07-17 10:42:10 -04:00
  • 46ba83496b Translated the apt integration test to go. by elopio approved by fgimenez Leo Arias 2015-07-17 10:32:30 -04:00
  • 284b81bbab path variable name Federico Gimenez 2015-07-17 15:15:10 +02:00
  • 0459bdc005 Proper removal of created files and message for creation error Federico Gimenez 2015-07-17 15:06:27 +02:00
  • 266aba1b72 use github.com/mvo5/uboot-go/uboot for the env manipulation Michael Vogt 2015-07-17 14:00:29 +02:00
  • 0535926b35 Initial version including scan for file reading and the IsWritable custom checker Federico Gimenez 2015-07-17 13:10:02 +02:00
  • 01d7ffa81c Added an example to run checks. Leo Arias 2015-07-16 22:46:46 -06:00
  • 8bf43396ea Added support for rolling back before running the tests. Leo Arias 2015-07-16 22:44:16 -06:00
  • 3ba54df252 Added an integration test for a fake rollback. Removed the shell test that used to do it. Leo Arias 2015-07-16 22:21:07 -06:00
  • 420ea46394 Renamed the latest package to cmd. Leo Arias 2015-07-16 18:57:32 -06:00
  • e434e8632e Moved the update tests to the latest package. Leo Arias 2015-07-16 18:54:52 -06:00
  • e66526012e Translated the version integration test to go. Leo Arias 2015-07-16 18:28:36 -06:00
  • 669f913ce3 Translated the apt integration test to go. Leo Arias 2015-07-16 18:02:32 -06:00
  • f14fe22742 Use the installed snappy for the update. Leo Arias 2015-07-16 09:06:35 -06:00
  • cdee5f9ada Added a comment to Config. Leo Arias 2015-07-16 08:55:59 -06:00
  • ddf047b9b8 comment for clarity Michael Vogt 2015-07-16 13:13:18 +02:00
  • 0fec311e6e add support for uboot.env Michael Vogt 2015-07-16 13:07:30 +02:00
  • 1763fe28d1 Only execute the setup if there is no reboot in progress. Leonardo Arias Fonseca 2015-07-15 18:36:20 -06:00
  • 4b0933ceec Reverted the last change. Leonardo Arias Fonseca 2015-07-15 18:33:51 -06:00
  • 835c675227 Better not replace the version yet. Leonardo Arias Fonseca 2015-07-15 18:32:53 -06:00
  • 0b771642e1 Merge Leonardo Arias Fonseca 2015-07-15 18:30:07 -06:00
  • 9c0b453627 Updated comments and logs. Leonardo Arias Fonseca 2015-07-15 18:24:19 -06:00
  • ea9ad1955f Translated the info integration test to go. by elopio approved by fgimenez Leo Arias 2015-07-15 20:12:27 -04:00
  • 216548a34e Various fixes. Leonardo Arias Fonseca 2015-07-15 18:08:41 -06:00
  • 9e08336948 Fixed the regexps. Leonardo Arias Fonseca 2015-07-15 18:02:15 -06:00
  • 1325235e14 first try of updates and tests. Leonardo Arias Fonseca 2015-07-15 17:43:18 -06:00
  • f38f74068d Added the target release and channel arguments. Leonardo Arias Fonseca 2015-07-15 16:40:39 -06:00
  • e006d7a0d3 Translated the install noexistent integration test to go. by elopio approved by fgimenez Leo Arias 2015-07-15 18:22:17 -04:00
  • 7ea99afe5c Translated the search integration test to go. by elopio approved by fgimenez Leo Arias 2015-07-15 12:33:47 -04:00
  • 1dfea44c81 Translated the list integration test to go. by elopio approved by fgimenez Leo Arias 2015-07-15 12:32:23 -04:00
  • fbfdf9740c Translate the xkcd test to go. by elopio approved by fgimenez Leo Arias 2015-07-15 12:22:15 -04:00
  • ffbeec616a Translated the install framework test to go. by elopio approved by fgimenez Leo Arias 2015-07-15 12:12:25 -04:00
  • cf20902268 Merged with trunk. Leo Arias 2015-07-15 09:53:51 -06:00
  • 5ae45777d3 Added image options to integration tests. by fgimenez approved by elopio Federico Gimenez 2015-07-15 11:22:30 -04:00
  • f789a79972 Use the hello-dbus-fwk with the origin. Leo Arias 2015-07-15 09:18:22 -06:00
  • 1a2f7767ea Method for calculating imagePath renamed Federico Gimenez 2015-07-15 16:39:42 +02:00
  • 9f259b4934 Fixed wrong merge; removed unnecessary empty lines Federico Gimenez 2015-07-15 16:22:11 +02:00
  • c3d889fc88 Moved the testconfig to the data dir. Leo Arias 2015-07-15 06:50:13 -06:00
  • 0895b1bb6d cherry pick lp:~mvo/snappy/noUselessUpdateTests for trunk Michael Vogt 2015-07-15 09:53:43 +02:00
  • 9dfb9c447f wording fix Federico Gimenez 2015-07-15 09:37:35 +02:00
  • cb70a2153c updated readme Federico Gimenez 2015-07-15 09:31:02 +02:00
  • 7584094ffc merged trunk Federico Gimenez 2015-07-15 09:18:27 +02:00
  • 4ba8ba62b6 Translated the list integration test to go. Leo Arias 2015-07-15 00:07:06 -06:00
  • 81f1dddbb1 Removed test #10. Leo Arias 2015-07-15 00:04:44 -06:00
  • 1ffd9ab044 Translated the search integration test to go. Leo Arias 2015-07-14 23:54:33 -06:00
  • c5570ab358 Translated the install noexistent integration test to go.' Leo Arias 2015-07-14 23:36:24 -06:00