1. 08 Nov, 2019 1 commit
  2. 06 Aug, 2019 1 commit
  3. 31 Jul, 2019 1 commit
  4. 06 Mar, 2019 1 commit
  5. 06 Feb, 2019 1 commit
  6. 05 Feb, 2019 2 commits
    • Alain Takoudjou's avatar
    • Alain Takoudjou's avatar
      grid.promise: add support for promise without test or anomaly · 1dba7a89
      Alain Takoudjou authored
      Support for promise test-less or anomaly-less allow to disable either the test phase or the anomaly phase.
      by default, test and anomaly are enabled. Test will run when buildout is processing the computer partition, and anomaly when the partition is processed.
      Call `self.setTestLess()` in __init__.py of the promise will disable Test and set `__is_tested = False`. Call `self.setAnomalyLess()` will rather disable Anomaly and set `__is_anomaly_detected = False`.
      If the promise is test less, then slapgrid will not run the promise while processing the partition which mean that the promise will not report error, only Anomaly will be checked. Samething, if promise is anomaly less, only test will run when slapgrid is processing the partition.
  7. 14 Dec, 2018 1 commit
  8. 26 Nov, 2018 1 commit
  9. 27 Apr, 2018 1 commit
  10. 19 Apr, 2018 1 commit
  11. 09 Apr, 2018 1 commit
  12. 29 Mar, 2018 1 commit
  13. 19 Mar, 2018 1 commit
    • Alain Takoudjou's avatar
      grid.promise: implement a new promise launcher in slapgrid · f7eadb26
      Alain Takoudjou authored
      python promises can define sense, test and anomaly method.
      test method will be called by slapgrid or when no bang is needed for the promise anomaly method is
      called when a promise failure required to bang the master, anomaly method can be optional but it's not the case for test method.
      Slapgrid always run promises and save the result in .slapgrid/promise/result in a JSON format. The result will be used later by monitor
      When a partition is correctly deployed, slapgrid will only run promise anomaly and will bang if there is an error and if the failed promise can bang
      check promise anomaly when partition is upto date