1. 08 Dec, 2020 2 commits
  2. 05 Dec, 2020 2 commits
  3. 04 Dec, 2020 13 commits
  4. 02 Dec, 2020 2 commits
    • Jérome Perrin's avatar
      testing: don't reset PYTHONPATH · c83bb10e
      Jérome Perrin authored
      we no longer use python setup.py test
      c83bb10e
    • Jérome Perrin's avatar
      slap/standalone: don't unset PYTHONPATH · 9e5ba82d
      Jérome Perrin authored
      We were doing this because we use to run tests with `python setup.py test`
      which automatically sets PYTHONPATH, so it was affecting sub processes
      started by standalone.
      
      Nowadays we no longer use this method of running tests, so we are not really
      supposed to use PYTHONPATH, so we don't unset this environment variable,
      there might be valid cases where users want to force a different python path
      (but I can not think of any) and it simplifies the code a bit.
      9e5ba82d
  5. 01 Dec, 2020 3 commits
  6. 30 Nov, 2020 1 commit
  7. 27 Nov, 2020 3 commits
    • Jérome Perrin's avatar
      slap/standalone: let standalone's supervisord control instance supervisord · dc4f7604
      Jérome Perrin authored
      Instead of letting slapos commands start supervisord in daemon mode, run it
      as a program from standalone supervisord daemon.
      
      The $INSTANCE/etc/supervisord.conf will be created by `slapos node instance`
      the first time user runs it, until this, the service will restart in a loop,
      complaining that config file is not found.
      
      Also review stop to expose timeout argument and use a longer timeout by
      default (and cleanup some unused imports).
      dc4f7604
    • Jérome Perrin's avatar
      tests/test_slapgrid: don't use python -S in test scripts · 491336e9
      Jérome Perrin authored
      I guess this code was using python -S to try to be independant from anything
      that can happen in site.py, but that's not needed when running on testnode.
      
      pygolang.pymain does not support -S and we are moving tests environments to
      use pygolang.pymain, so let's remove this if we don't need it.
      491336e9
    • Jérome Perrin's avatar
      Fix slapos node prune usages with root slapos · 15675348
      Jérome Perrin authored
      - also write pid file to prevent race condition
       - check user is root
      
      See merge request !267
      15675348
  8. 26 Nov, 2020 8 commits
  9. 25 Nov, 2020 1 commit
    • Thomas Gambier's avatar
      slapgrid: compare os name in lower case · bc79d780
      Thomas Gambier authored
      When comparing OS to see if they match for binary cache, we only compare
      the lower case distribution name because sometimes "Debian' is
      capitalized and sometimes not.
      bc79d780
  10. 24 Nov, 2020 5 commits