1. 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
      f7eadb26
  2. 16 Mar, 2018 5 commits
  3. 14 Mar, 2018 14 commits
  4. 09 Mar, 2018 1 commit
    • Jérome Perrin's avatar
      new `slapos console script.py`style invocation · 42cb1feb
      Jérome Perrin authored
      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 nexedi/slapos.core!39
      42cb1feb
  5. 07 Mar, 2018 12 commits
  6. 02 Mar, 2018 5 commits
  7. 01 Mar, 2018 2 commits