1. 27 Oct, 2020 2 commits
    • Jérome Perrin's avatar
      slapos.cookbook:erp5testnode: new log_frontend_url option · 93fa016f
      Jérome Perrin authored
      Also change a bit existing frontend_url to manage it the same way.
      93fa016f
    • Jérome Perrin's avatar
      switch_softwaretype: run software type buildout in same process · b04a4fdf
      Jérome Perrin authored
      This way buildout can reuse egg caches and it's a bit faster:
      
      To run a simple instance buildout, from 2.837s it goes down to 1.875s.
      To run slapos node instance 10 times just after requesting an ERP5 instance, it goes from ~112s to 98s
      
      before:
      
          hyperfine "/srv/slapgrid/slappart4/srv/slapos/inst/slappart0/tmp/shared/python2.7/60364a13cc977dd5a894e0239ac889b9/bin/python2.7 /srv/slapgrid/slappart4/srv/slapos/inst/slappart0/tmp/soft/c63ba7265399450b28f9ea6d5667a5e7/bin/buildout -U"
          Benchmark #1: /srv/slapgrid/slappart4/srv/slapos/inst/slappart0/tmp/shared/python2.7/60364a13cc977dd5a894e0239ac889b9/bin/python2.7 /srv/slapgrid/slappart4/srv/slapos/inst/slappart0/tmp/soft/c63ba7265399450b28f9ea6d5667a5e7/bin/buildout -U
            Time (mean ± σ):      2.837 s ±  0.275 s    [User: 2.481 s, System: 0.285 s]
            Range (min … max):    2.482 s …  3.222 s    10 runs
      
      after:
      
          hyperfine "/srv/slapgrid/slappart4/srv/slapos/inst/slappart0/tmp/shared/python2.7/60364a13cc977dd5a894e0239ac889b9/bin/python2.7 /srv/slapgrid/slappart4/srv/slapos/inst/slappart0/tmp/soft/c63ba7265399450b28f9ea6d5667a5e7/bin/buildout -U"
          Benchmark #1: /srv/slapgrid/slappart4/srv/slapos/inst/slappart0/tmp/shared/python2.7/60364a13cc977dd5a894e0239ac889b9/bin/python2.7 /srv/slapgrid/slappart4/srv/slapos/inst/slappart0/tmp/soft/c63ba7265399450b28f9ea6d5667a5e7/bin/buildout -U
            Time (mean ± σ):      1.875 s ±  0.067 s    [User: 1.660 s, System: 0.148 s]
            Range (min … max):    1.816 s …  2.038 s    10 runs
      b04a4fdf
  2. 05 Aug, 2020 1 commit
  3. 20 Jul, 2020 1 commit
  4. 19 Jun, 2020 2 commits
  5. 04 May, 2020 2 commits
  6. 29 Apr, 2020 1 commit
  7. 27 Apr, 2020 2 commits
  8. 24 Apr, 2020 4 commits
  9. 23 Apr, 2020 1 commit
  10. 08 Apr, 2020 7 commits
  11. 31 Mar, 2020 1 commit
    • Jérome Perrin's avatar
      generic_mysql: shorter delays before retries · 2de4c80f
      Jérome Perrin authored
      This mysql_update service retries every 30 seconds, but what usually
      happens is that it starts at same time as mariadb, make a first attempt
      at connect which fails because mariadb is not ready, sleep for 30
      seconds, reties and succeed. Which is not efficient because we don't
      need to wait for so long.
      Instead of sleeping for 30 seconds between each retries, start with a
      short delay and increase each time, but not more than 30 seconds.
      2de4c80f
  12. 28 Mar, 2020 1 commit
  13. 27 Mar, 2020 1 commit
  14. 19 Mar, 2020 2 commits
  15. 10 Mar, 2020 1 commit
  16. 04 Mar, 2020 2 commits
  17. 03 Mar, 2020 2 commits
  18. 02 Mar, 2020 2 commits
  19. 27 Feb, 2020 1 commit
  20. 05 Feb, 2020 1 commit
  21. 29 Jan, 2020 1 commit
  22. 03 Oct, 2019 1 commit
  23. 24 Sep, 2019 1 commit
    • Thomas Gambier's avatar
      wrapper recipe: add hash-existing-files option · 9976017e
      Thomas Gambier authored
      hash-existing-files list all the files used for hash that are not
      handled by buildout. For those files, the hash is calculated as soon as
      the __init__ function so that if there is a change in those files,
      buildout will remove the existing wrapper (it will uninstall the
      section) and replace it with the new wrapper.
      9976017e