1. 28 Jun, 2018 4 commits
    • Łukasz Nowak's avatar
      caddy-frontend: Test cases · 6afa5ef0
      Łukasz Nowak authored
      Features:
      
       * forcediphttpsadapter for SNI
       * compatbile with apache-frontend SR
       * local server to test against
       * supervisor state checks
       * promise list checks
       * test data (to save/load textual assertions)
       * own root CA for HTTPs backend
      6afa5ef0
    • Łukasz Nowak's avatar
      slapos.test.software: SlapOS profile test · 5c3dd440
      Łukasz Nowak authored
      Based on Jerome's work from /software/proftpd/test/utils.py
      
      Main changes:
      
       * tearDownClass is called in case of errors in setUpClass (mimic addCleanup
         instance method)
       * the setUpClass is split to smaller methods for ease of further development
       * full instance path is exposed for test introspection
       * software path of master partition is exposed for test introspection
      5c3dd440
    • Łukasz Nowak's avatar
      component/caddy: Upgrade to 0.11.0 · 7cd1789b
      Łukasz Nowak authored
      proxy.timeout is provided
      7cd1789b
    • Łukasz Nowak's avatar
      caddy: Create component/caddy · a8f73ff8
      Łukasz Nowak authored
      In order to follow proper way, move caddy to the component and reuse it.
      a8f73ff8
  2. 27 Jun, 2018 1 commit
  3. 22 Jun, 2018 8 commits
  4. 21 Jun, 2018 1 commit
  5. 13 Jun, 2018 3 commits
  6. 08 Jun, 2018 1 commit
    • Łukasz Nowak's avatar
      deploy-test: "Backport" commit "PyPI is changing" · e8fb6323
      Łukasz Nowak authored
      Extended KVM SR does not have this hosts in allowed, and we need to stick
      with it.
      
      For reference in case if some existing Python distribution does not install,
      it was detected with "git diff 8deeab.. -- stack/slapos.cfg"
      e8fb6323
  7. 07 Jun, 2018 2 commits
  8. 06 Jun, 2018 2 commits
    • Tristan Cavelier's avatar
      fixup! slaprunner: Support resilience on computers with more them 100 partitions · b8be3950
      Tristan Cavelier authored
      The regexp was matching "slappart10" in `/path/to/slappart10/software.cfg`,
      was also matching "slappart10" in `/path/to/aaslappart10aa/software.cfg`
      and was not matching "slappart1" in `/path/to/slappart1/software.cfg`
      or "slappart1000" in `/path/to/slappart1000/software.cfg`.
      
      The fix allows to match "slappartX" in `/path/to/slappartX/software.cfg`
      where X can be between 0 to infinite. Also, it protects from matching
      "slappartX" in `/path/to/aaaslappartXaaa/software.cfg`.
      b8be3950
    • Julien Muchembled's avatar
      build-rina: also test on latest Debian release · e419ece6
      Julien Muchembled authored
      Now that the test suite passes again for Jessie, let's try Stretch.
      e419ece6
  9. 05 Jun, 2018 4 commits
  10. 04 Jun, 2018 1 commit
  11. 01 Jun, 2018 1 commit
    • Jérome Perrin's avatar
      ProFTPd: fixes to support running in a "system level" slapos · fdc9120a
      Jérome Perrin authored
      This SR was developed and tested in environments where both software and instance where owned by the same unix user. These are fixes for problems discovered when running on a "system level" slapos.
      
      This cannot easily be tested without actually using different users (especially the mistake on the mode of the executable script), but this MR introduce some tests to check that service running in instance does not open files or unix sockets outside of instance. It also introduce a utility method to access the supervisor RPC API, it can be useful if tests needs to start/stop a process or get process PID to inspect this process.
      
      I ran into problems, because proftpd sets [`PR_SET_DUMPABLE`](http://man7.org/linux/man-pages/man2/prctl.2.html) to 0, which disables any possibility of inspecting a running program. See 18e28bbb  for details about the chosen approach.
      
      /cc @rafael @Nicolas @luke @Eteri @vpelletier 
      
      /reviewed-on !334
      fdc9120a
  12. 25 May, 2018 1 commit
  13. 24 May, 2018 2 commits
  14. 23 May, 2018 9 commits