1. 19 Mar, 2018 2 commits
    • slapgrid: remove old promise checker implementation · 62627b23
      Alain Takoudjou committed
    • grid.promise: implement a new promise launcher in slapgrid · f7eadb26
      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
      Alain Takoudjou committed
  2. 16 Mar, 2018 5 commits
  3. 14 Mar, 2018 14 commits
  4. 09 Mar, 2018 1 commit
    • new `slapos console script.py`style invocation · 42cb1feb
      To execute a slapconsole script, we could only do:
      
      `slapos console < script.py`
      but this does not stop in case of error
      
      or
       `echo 'execfile("script.py")' | slapos console`
      but this is too complicated.
      
      Extend this API so that we can simply use
      
      `slapos console script.py`
      
      inspired by `python script.py`
      
      
      /reviewed-on !39
      Jérome Perrin committed
  5. 07 Mar, 2018 12 commits
  6. 02 Mar, 2018 5 commits
  7. 01 Mar, 2018 1 commit