1. 14 Jul, 2021 2 commits
  2. 12 Jul, 2021 1 commit
    • Jérome Perrin's avatar
      standalone: don't use --all in waitForSoftware / waitForInstance · f906e42e
      Jérome Perrin authored
      Until now, standalone was running slapos node software/instance with --all flag
      which force installing software or processing software, unlike "normal" slapos
      node which no longer install on software once they are completed and only process
      instances when they are requested with different parameters or when they have
      failing promises.
      
      We stop using the --all flag, to behave like a normal slapos node.
      
      This reveal missing promises in some softwares, after this change, waitForInstance
      can return faster. This reveal test failures with some softwares where the
      instanciation step request other instances, but without having a promise to wait
      for their requests to have been sucessfully processed; in this case waitForInstance
      return too early.
      
      We keep an "slapos node software --all" API to force reinstalling software, this
      can be useful for scenarios like erp5testnode, or software release development.
      
      We also keep an hidden "slapos node instance --all" API, so that we can keep
      running tests for software releases with missing promises.
      f906e42e
  3. 07 Jul, 2021 4 commits
  4. 06 Jul, 2021 1 commit
  5. 05 Jul, 2021 5 commits
  6. 01 Jul, 2021 9 commits
  7. 30 Jun, 2021 2 commits
  8. 28 Jun, 2021 2 commits
  9. 25 Jun, 2021 9 commits
  10. 21 Jun, 2021 3 commits
  11. 17 Jun, 2021 2 commits
    • Xavier Thompson's avatar
      slap/standalone: Add slapformat configuration · 7244f1f0
      Xavier Thompson authored
      This enables calling `slapos node format` from the command line.
      
      The configuration is updated every time `StandaloneSlapOS.format()`
      is called so that subsequent calls to `slapos node format` produce
      the same output.
      
      In the future, `StandaloneSlapOS.format()` could be adapted to call
      `slapos node format` directly.
      
      See merge request nexedi/slapos.core!308
      7244f1f0
    • Xavier Thompson's avatar
      slapgrid: Ignore slapformat dump file in warning · 8a2561ad
      Xavier Thompson authored
      Running slapformat creates a `.slapos-resource` file in each partition.
      Running slapgrid emits a warning if a free partition dir is not empty.
      
      With this commit, slapgrid only emits a warning if a free partition
      contains entries other than the slapformat dump file.
      8a2561ad