An error occurred fetching the project authors.
  1. 05 Feb, 2021 1 commit
    • Jérome Perrin's avatar
      software/*: version up urllib3, requests and dependencies · 340a7609
      Jérome Perrin authored
      Several softwares were using fixed versions, but versions are also defined in
      stack/slapos.cfg, so let's use from stack/slapos.cfg which will simplify
      version management.
      
      This urllib3 has visible changes for us, it no longer send the request path
      "as is", but normalizes the . and .. which is not what we want in
      caddy-frontend test, so we adjust the test to use prepared requests, which is
      the recommended approach for this kind of low level needs. Since prepared
      requests does not set default user agent "python-requests", tests checking that
      user agent is in log files have been adjusted to use a dedicated test user agent
      header.
      
      Another change is that certificates are now verified by default, so we adjust
      seleniumserver tests to disable certificate validation. jstestnode, already
      had a patch regarding certificate validation, because we wanted certificates
      to be validated before it was the default. We just update this patch a bit
      because we want to keep the optional behaviours of validating against a
      specific CA or to disable validation.
      340a7609
  2. 29 Jan, 2021 1 commit
    • Łukasz Nowak's avatar
      caddy-frontend: Unskip some tests · 49812018
      Łukasz Nowak authored
      By using a late instance creation, it's possible to escape requirement of
      the cluster being fully instantiated by default, so it's possible to test
      various interesting corner cases.
      49812018
  3. 27 Jan, 2021 1 commit
  4. 26 Jan, 2021 3 commits
  5. 19 Jan, 2021 2 commits
    • Łukasz Nowak's avatar
      8263933b
    • Łukasz Nowak's avatar
      caddy-frontend: Stabilise negative revalidation · a5ca9a36
      Łukasz Nowak authored
      Thanks to work on TrafficServer bug 7425 it was possible to understand
      correctly the switches and setup ATS to SlapOS CDN needs.
      
      max_stale_age with negative_revalidating_enabled is used to simulate
      stale-if-error and negative_revalidating_lifetime is set to 0, as Expires
      header provided by this switch is needless in SlapOS case.
      
      Tests are updated to follow the real use case, by rewriting ATS configuration
      to meet times required for the test to finish in reasonable time.
      a5ca9a36
  6. 15 Jan, 2021 1 commit
  7. 31 Dec, 2020 2 commits
  8. 15 Dec, 2020 1 commit
  9. 10 Nov, 2020 3 commits
  10. 09 Nov, 2020 1 commit
    • Łukasz Nowak's avatar
      caddy-frontend: Dodge lowercasing in profile generation · 3d747c95
      Łukasz Nowak authored
      slapos.cookbook:softwaretype tends to lowercase keys in each section, which
      has been undetected due to using lowercase references of slaves in the tests.
      
      By restructuring information in the sections, and putting slave references
      inside of dumped part of information, now the slave reference case is kept.
      
      Also real care was taken to stabilise published lists by sorting them, as it
      also slipped, that they could be unstable.
      
      Tests has been updated to catch this issue, also other tests were fixed, as
      they had wrong assertions.
      3d747c95
  11. 20 Oct, 2020 4 commits
  12. 09 Oct, 2020 1 commit
  13. 05 Oct, 2020 2 commits
  14. 30 Sep, 2020 1 commit
  15. 29 Sep, 2020 1 commit
  16. 25 Sep, 2020 1 commit
  17. 24 Sep, 2020 1 commit
    • Łukasz Nowak's avatar
      caddy-frontend: Fix host matching in Haproxy · 65c9c4cb
      Łukasz Nowak authored
      By using regular expressions, matching exact host names up to the optional
      port and putting wildcard matches in the end, the Haproxy acl rules will allow
      to direct request to correct backend.
      65c9c4cb
  18. 15 Sep, 2020 2 commits
  19. 24 Aug, 2020 1 commit
  20. 30 Jul, 2020 2 commits
    • Łukasz Nowak's avatar
      caddy-frontend: Expose backend log files to slaves · 65700284
      Łukasz Nowak authored
      Backend logs are exposed as usual access and error logs.
      
      By using rsyslogd templates and regex filtering, the rsyslogd reacts itself
      and creates needed files per each slave which accesses it. Thanks to this, it's
      configuration is static from point of view of SlapOS profiles, and can be
      generated once.
      
      As the rsyslogd configuration became fully special to backend-haproxy, the
      rsyslogd template filename and its references has been correctly renamed.
      65700284
    • Łukasz Nowak's avatar
      caddy-frontend: Ensure logs are correctly linked · a4a2555b
      Łukasz Nowak authored
      The logrotate folder also serves as an publication folder for logs, so be sure
      that logs are linked there.
      a4a2555b
  21. 27 Jul, 2020 1 commit
  22. 17 Jul, 2020 7 commits