1. 06 Mar, 2019 5 commits
  2. 04 Mar, 2019 1 commit
  3. 20 Feb, 2019 23 commits
  4. 18 Feb, 2019 2 commits
  5. 15 Feb, 2019 1 commit
  6. 08 Feb, 2019 2 commits
  7. 07 Feb, 2019 1 commit
  8. 06 Feb, 2019 3 commits
  9. 05 Feb, 2019 2 commits
    • Alain Takoudjou's avatar
      Release slapos.core 1.4.17 · 3a9b84c1
      Alain Takoudjou authored
      3a9b84c1
    • Alain Takoudjou's avatar
      grid.promise: add support for promise without test or anomaly · 0b71623f
      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, `__is_tested = True` and `__is_anomaly_detected = True`. 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`.
      
      
          def __init__(self, config):
              GenericPromise.__init__(self, config)
              # Skip test check on this promise
              self.setTestLess()
      
      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.
      
      /reviewed-on nexedi/slapos.core!93
      0b71623f