An error occurred fetching the project authors.
  1. 14 Nov, 2018 2 commits
  2. 17 Sep, 2018 1 commit
  3. 10 Sep, 2018 2 commits
    • Jérome Perrin's avatar
      erp5: Rework testrunner's HTTP server · 2a457867
      Jérome Perrin authored
      We don't want runUnitTest is to listen on 127.0.0.1, as it is not
      allowed for SlapOS instances, runUnitTest wrapper is extended to include
      `--zserver` with a pre-assigned ip:port.
      
      runTestSuite starts several test in parrallel (controlled by
      `--node_quantity` argument, which is passed by erp5testnode), so we need
      to make sure that we provide it with enough ip:port. For this, we
      extended runTestSuite with a `--zserver_address_list` argument and we
      generate a wrapper with a list of `testrunner.node-count` pre-assigned
      ip:ports.
      
      Because zelenium tests needs to access this zserver over a secure origin
      (otherwise modern browser features such as service worker are not
      available), use an https proxy in the apache from the balancer
      partition.
      
      runUnitTest and runTestSuite have been extended with resp.
      `--zserver_frontend_url` and `--zserver_frontend_url_list` arguments and
      the URLs published by the balancer paritions are set in the wrappers.
      For compatibility reasons, runTestSuite pass parameters as environment
      variables.
      
      Implementation notes:
      
      This introduces a circular depencency, balancer partition needs to know
      the address of the testrunners and zope partitions needs to know the
      URLs of the corresponding http proxies on the apache. This is is handled
      by `slapos.recipe:publish-early`:
      
       1. request zope family with an empty `test-runner-apache-url-list`.
          zope is instanciated a first time.
          zope returns `test-runner-address-list` ( a list of (host, port)
          tuples )
       2. request balancer with `test-runner-address-list`
          balancer is instanciated.
          balancer returns `{{ family_name }}-test-runner-url-list` ( a list
          of apache URLs ), which are published in the root partition.
       3. zope family is re-requested with
          updated`test-runner-apache-url-list` information
      
      instance-erp5.cfg.in template was also reorganised to move
      `[publish-early]` next to `[publish]` at the bottom of the file because
      these sections are semantically related.
      Also test runner generation is moved after zope generation, because we
      want to allocate test runners ports after zopes, otherwise existing
      zopes would get new ports when existing instances are upgraded.
      2a457867
    • Jérome Perrin's avatar
      erp5: new `test-runner` instance parameter · e4d1ea03
      Jérome Perrin authored
      We have new parameters "how many parallel tests this instance can run"
      ( test-runner.node-count ) and "how many supplementary databases each
      test needs" ( test-runner.extra-database-count ).
      
      Instead of configuring "I need a total of 15 databases", we configure "I
      need to be able to run 3 tests in parallel, each test requiring 4 extra
      databases" which generates 3 * (4 +1) databases.
      
      `mariadb.test-database-amount` becomes deprecated in favour of these new
      arguments, but compatibility is preserved.
      e4d1ea03
  4. 07 Sep, 2018 1 commit
  5. 30 Aug, 2018 4 commits
  6. 14 Aug, 2018 1 commit
  7. 29 Jun, 2018 1 commit
    • Vincent Pelletier's avatar
      Stop using erp5 test recipe · 1436c63b
      Vincent Pelletier authored
      The goal is to drop slapos.cookbook:erp5.test
      
      No need for a recipe to do a bit of url parsing and generating 2 wrappers.
      Also, drop unused & empty "host-common" section.
      
      - stack/erp5: Add path to all binary links in PATH
      - stack/erp5: Add single quotation marks to not break parameters in many lines
      - stack/erp5: Fix path to avoid one section to overwrite the file from another section
      - stack/erp5: pass cloudooo host instead of the IP address. The IP address and cloudooo hostname are well in $SLAPPART/etc/hosts
      - stack/erp5: Use use-ipv6 instance parameter to control where caucased listens when locally deployed.
        Drop incomplete 6tunnel usage on balancer toward zopes.
      
      Tests are somehow happy test_result_module/20180626-62AD32BB test_result_module/20180626-70AC16FA
      
      If no objections I would like to merge tomorrow but feel free to press merge for me :)
      
      The goal is rebase !318 to fix the conflict and merge after tomorrow.
      
      /cc @rafael @vpelletier 
      
      /reviewed-on !347
      1436c63b
  8. 22 Jun, 2018 2 commits
  9. 07 Jun, 2018 1 commit
  10. 25 May, 2018 1 commit
  11. 23 May, 2018 1 commit
  12. 18 May, 2018 1 commit
  13. 17 May, 2018 1 commit
  14. 02 May, 2018 1 commit
    • Roque's avatar
      haproxy: http-send-name-header no longer needed · 4ef92ceb
      Roque authored
      - destination server gets its own server id
      - this removes complexity at the cost of respecting consistency in names
      - http-send-name-header is not well supported by haproxy and that it may leads to random errors with not well formated request
      
      /reviewed-on nexedi/slapos!324
      4ef92ceb
  15. 16 Mar, 2018 1 commit
  16. 15 Mar, 2018 1 commit
  17. 07 Mar, 2018 1 commit
  18. 05 Mar, 2018 1 commit
  19. 26 Feb, 2018 1 commit
  20. 24 Feb, 2018 2 commits
  21. 22 Feb, 2018 2 commits
  22. 21 Feb, 2018 1 commit
  23. 13 Feb, 2018 1 commit
    • Julien Muchembled's avatar
      ERP5: new 'private-dev-shm' zope partition option for wendelin.core · e6bd1e78
      Julien Muchembled authored
      Current version of wendelin.core is limited in that there's no cooperation
      in memory allocation between several processes sharing the same /dev/shm.
      Over time, the distribution of memory among processes becomes more and more
      inequal until some of them get killed due to allocation failure.
      
      This is a temporary solution that relies on user namespaces.
      e6bd1e78
  24. 28 Dec, 2017 1 commit
  25. 22 Nov, 2017 1 commit
  26. 07 Nov, 2017 1 commit
  27. 03 Nov, 2017 1 commit
  28. 30 Oct, 2017 1 commit
  29. 20 Oct, 2017 1 commit
  30. 13 Oct, 2017 3 commits