1. 17 Oct, 2017 2 commits
  2. 11 Oct, 2017 9 commits
  3. 16 Jun, 2017 1 commit
  4. 06 Jun, 2017 1 commit
    • Rafael Monnerat's avatar
      slaprunner: Get information directly from the right section · a2eadf26
      Rafael Monnerat authored
        Use  /folder/script can lead to mistakes which cause error, as
        the instance side cannot find the file. Use directly the section is better to ensure
        you get the file even after changes on common.cfg.
      
        Clean up location set on common.cfg, and reduce code duplication.
      a2eadf26
  5. 05 Jun, 2017 1 commit
  6. 02 Jun, 2017 1 commit
  7. 05 May, 2017 1 commit
    • Rafael Monnerat's avatar
      slaprunner: Allow set software-root via parameters · eec7c81e
      Rafael Monnerat authored
        Allow set software-root via parameters allow the webrunner inside a erp5testnode,
        recover the the previous builds from previous resilient tests, and only update (instead build from scratch)
        This is a typical usage on the webrunner (keep updating SR), so there is no
        problem on use this approach on erp5testnode tests.
      eec7c81e
  8. 30 Nov, 2016 1 commit
  9. 27 Sep, 2016 2 commits
    • Kirill Smelkov's avatar
      slaprunner/sshd: Add support for sftp · 5d05213c
      Kirill Smelkov authored
      For sftp to work we need to define sftp "subsystem" on server side in
      sshd speak. Sftp support in turn allows for sshfs to work.
      
      NOTE
      
      	Subsystem sftp internal-sftp
      
      won't work because we are doing games with ForceCommand and reexecution
      of "$SSH_ORIGINAL_COMMAND" (see previous patch for details).
      5d05213c
    • Kirill Smelkov's avatar
      slaprunner/sshd: Fix quoting in ForceCommand · cff0c969
      Kirill Smelkov authored
      2a733418 (slaprunner: replaces dropbear by openssh) switched slaprunner
      sshd from dropbear to openssh (thanks for it once again) and used
      ForceCommand to imitate login shell to be partitions `${bash:location}/bin/bash -l`.
      
      For case when original ssh command is explicitly provided
      ("$SSH_ORIGINAL_COMMAND" is not empty) the code there tries to just
      execute what was provided by caller.
      
      However the reexecution is not completely correct as for cases when
      origin command contains some quoting, 1 level of quotes is removed.
      
      The case when I hit this in practice is git access to repositories over
      ssh. When git wants to e.g. clone a repository it runs `git-upload-pack
      quoted-path-to-repo.git` and fails this way:
      
      ```
      $ GIT_TRACE=1 git clone ssh://host1/~/B.git
      19:28:23.558858 git.c:350               trace: built-in: git 'clone' 'ssh://host1/~/B.git'
      Cloning into 'B'...
      19:28:23.572994 run-command.c:336       trace: run_command: 'ssh' 'host1' 'git-upload-pack '\''~/B.git'\'''
      fatal: ''~/B.git'' does not appear to be a git repository
      fatal: Could not read from remote repository.
      
      Please make sure you have the correct access rights
      and the repository exists.
      ```
      
      Quoting SSH_ORIGINAL_COMMAND and evaluating it completely via eval fixes this.
      
      /cc @Nicolas, @alain.takoudjou
      cff0c969
  10. 22 Sep, 2016 1 commit
  11. 20 Sep, 2016 1 commit
  12. 16 Sep, 2016 1 commit
  13. 15 Sep, 2016 10 commits
  14. 26 Aug, 2016 1 commit
  15. 25 Aug, 2016 1 commit
  16. 29 Jul, 2016 1 commit
  17. 21 Jun, 2016 1 commit
  18. 14 Jun, 2016 2 commits
  19. 28 Apr, 2016 1 commit
  20. 15 Apr, 2016 1 commit