1. 02 Dec, 2020 1 commit
  2. 01 Dec, 2020 11 commits
  3. 30 Nov, 2020 12 commits
  4. 27 Nov, 2020 4 commits
    • Thomas Gambier's avatar
      software/nayuos: several improvements · d29781b2
      Thomas Gambier authored
       * use python3 (newest builds requires python3)
       * correctly exclude release directories during rsync so that resiliency
      works
       * use correct names for project/software/instances
      d29781b2
    • Jérome Perrin's avatar
      software/slapos-testing: use nxdtest · 1536ad2e
      Jérome Perrin authored
      We also try to switch the tests to use python -m unittest as a way of
      invoking tests, instead of the deprecated python setup.py test
      1536ad2e
    • Jérome Perrin's avatar
      component/pygolang: minimal -O support in [python-interpreter] · cfdc9b83
      Jérome Perrin authored
      When use this interpreter to run buildout, buildout will pre-compile eggs with
      different level of optimisations, for this it spawns sys.executable with -O
      option (see [1]). Since pymain does not support -O argument and python only
      support changing optimization level at startup, we can not easily handle -O
      argument, execpt by re-executing ourselves with PYTHONOPTIMIZE environment
      variable, which has same effect than setting -O flag
      
      1: https://lab.nexedi.com/nexedi/slapos.buildout/blob/488b2dfd3088cba7b322827c904fe1f93fba73e6/src/zc/buildout/easy_install.py#L1716-1722
      cfdc9b83
    • Jérome Perrin's avatar
      software/slapos-sr-testing: use nxdtest · 3a1e5628
      Jérome Perrin authored
      Change to run all tests with python -m unittest, which will allow us to
      remove workaround for the $PYTHONPATH set by setup.py test.
      
      For this we use `[python-interpreter]` which uses pygolang.main to behave
      like a "normal" python interpreter with eggs available, but without the
      usual problems of interpreters generated by zc.recipe.eggs - it supports
      all command line flags and have current directory in sys.path.
      
      Tests now have an explicit name, that we set to the software name as before,
      and the special test dynamically checking all profiles json schemas (part
      of slapos.cookbook egg, at the root of slapos repository),is named
      json-schemas. It is also changed to run as default tests in python2 and
      python3, not only in extras for python2.
      3a1e5628
  5. 26 Nov, 2020 4 commits
  6. 24 Nov, 2020 3 commits
  7. 20 Nov, 2020 5 commits