1. 30 Oct, 2019 9 commits
    • Jérome Perrin's avatar
      slaprunner: support shared parts · 1a5df533
      Jérome Perrin authored
      If slaprunner itself was installed on a slapos which had shared parts
      enabled, these shared parts will also be used while installing softwares
      inside the slaprunner.
      
      Because ${buildout:shared-part-list} is a multi line property, it was
      not possible to generate .cfg files (which needs special handling of
      multi-line strings) directly from software buildout (where jinja
      templates are not yet available), so we use a trick of generating a
      plain text file in software and parsing it during instance.
      1a5df533
    • Jérome Perrin's avatar
      slaprunner: publish a ssh:// url · 95c05120
      Jérome Perrin authored
      Instead of having to copy and paste the "ssh command", having a
      clickable link is more user friendly. This integrates seamlessly with
      ChromeOS secure shell app (eventhough the app does not do anything with
      fingerprint as per version 0.19)
      95c05120
    • Jérome Perrin's avatar
      slaprunner: ~/bin/slapos: don't override SLAPOS_CONFIGURATION · 2118a01c
      Jérome Perrin authored
      Because this slapos often is executed when just running `slapos` at is
      in the $PATH, we should also consider special cases where users want to
      call this script with another $SLAPOS_CONFIGURATION.
      
      When $SLAPOS_CONFIGURATION is already set, ~/bin/slapos will not change
      it, it will only set it when not set.
      2118a01c
    • Jérome Perrin's avatar
      slaprunner: set $HOME · 06c1f15d
      Jérome Perrin authored
      Because slaprunner might be instanciated in a different directory than
      the shell user $HOME (like in recursive SlapOS), it's necessary to set
      HOME to the base directory. For "bare metal" SlapOS, this would not make
      any difference.
      06c1f15d
    • Jérome Perrin's avatar
      slaprunner: set $TERMINFO in bash profile · d74eb583
      Jérome Perrin authored
      so that terminal uses terminfo from the same curses library.
      d74eb583
    • Jérome Perrin's avatar
    • Jérome Perrin's avatar
      component/openssh: version up 7.7p1 · 897b1bc3
      Jérome Perrin authored
      Also change download URL to use https:// (no reason to use http)
      Also switch to git format patch
      897b1bc3
    • Jérome Perrin's avatar
      seleniumserver: enable firefox 68.0.2esr · a03831d8
      Jérome Perrin authored
      this is the firefox we are currently using on testnodes. It's useful to
      be able to run test with exactly same version to debug issues.
      
      /reviewed-on !646
      a03831d8
    • Jérome Perrin's avatar
      71128b63
  2. 28 Oct, 2019 5 commits
  3. 24 Oct, 2019 1 commit
  4. 23 Oct, 2019 1 commit
  5. 21 Oct, 2019 2 commits
  6. 18 Oct, 2019 1 commit
  7. 17 Oct, 2019 3 commits
  8. 16 Oct, 2019 1 commit
  9. 15 Oct, 2019 1 commit
  10. 11 Oct, 2019 2 commits
  11. 10 Oct, 2019 9 commits
  12. 09 Oct, 2019 2 commits
  13. 08 Oct, 2019 1 commit
  14. 07 Oct, 2019 2 commits
    • Jérome Perrin's avatar
      Update most SR tests to use slapos.testing · 6ddbb205
      Jérome Perrin authored
      Update almost all tests to use nexedi/slapos.core!64 
      
      Notable changes:
       * the testcase class is generated dynamically with `makeModuleSetUpAndTestCaseClass`
       * `self.slap` allow low level control of slapos
       * IP addresses are available as `_ipv6_address` and `_ipv4_address` class attributes
       * `getSupervisorRPCServer` no longer exist, instead use `self.slap.instance_supervisor_rpc` (as context manager)
       * now the framework takes care of running promises and instance step fail when instanciation fail or when promises are not satisfied (as a result, some tests checking promises are dropped)
       * test needs `slapos` and `supervisord` commands in PATH. It's important to have a recent enough `slapos` and not the `~/bin/slapos` from slaprunner which sets `$SLAPOS_CONFIGURATION` 
      
      Following tests were not updated:
       * `caddy-frontend` as this will require more work, because this software uses shared partitions and maybe other things will need to be adapted in the tests. 
       * `slapos-master` as it is same as ERP5 and I thought maybe we can do better than duplicating code, so I left it as is for now.
       * `nextcloud` as this fail the `slapos node instance` step.
      
      There are also a few style changes or small fixes to make pylint happy and some other fixes for problems with softwares and also a fix for seleniumrunner flaky test.
      
      /reviewed-on nexedi/slapos!624
      6ddbb205
    • Jérome Perrin's avatar
      213d79a5