1. 15 May, 2020 1 commit
    • Martin Tzvetanov Grigorov's avatar
      Major reorganization of the CircleCI workflows · 100ccc2b
      Martin Tzvetanov Grigorov authored
      In order to build aarch64 packages it relies on the machine executors
      feature based on QEMU. Since the same scripts were needed to build
      packages for different architectures they were extracted in standalone
      shell scripts.
      
      Alpine Linux packages are now built in addition to RPM and Deb packages
      but considering how long emulation takes for aarch64 packages, packaging
      was moved to a nightly workflow.
      
      Some changes happened in the pkg-varnish-cache repository to accomodate
      the CircleCI reorganization, mainly around dependency management.
      
      More information in the CircleCI README file.
      
      Closes #3313
      Reviewed-by: 's avatarGuillaume Quintard <guillaume@varnish-software.com>
      Signed-off-by: 's avatarDridi Boukelmoune <dridi.boukelmoune@gmail.com>
      100ccc2b
  2. 14 May, 2020 3 commits
  3. 13 May, 2020 4 commits
  4. 12 May, 2020 4 commits
  5. 11 May, 2020 1 commit
  6. 10 May, 2020 3 commits
  7. 07 May, 2020 2 commits
    • Nils Goroll's avatar
      fix make maintainer-clean · cb61f602
      Nils Goroll authored
      vcc_compile.h is not generated
      EXTRA_DIST is not necessarily generated
      cb61f602
    • Nils Goroll's avatar
      sync Makefile for generate.py · f2a800cc
      Nils Goroll authored
      - missing dependencies in each of the both places of invocation
      - vrt_obj.h is generated, so it cannot be a dependency at the same time
      
      notice with out-of-tree parallel build
      f2a800cc
  8. 05 May, 2020 7 commits
  9. 04 May, 2020 2 commits
  10. 02 May, 2020 1 commit
  11. 30 Apr, 2020 1 commit
  12. 28 Apr, 2020 2 commits
    • Jordan Christiansen's avatar
      Fix typo · a9f56f6a
      Jordan Christiansen authored
      a9f56f6a
    • Nils Goroll's avatar
      When connecting to backends, respect the administrative health · fe5e8265
      Nils Goroll authored
      When making a connection a "real" backend (VBE), we checked the probed
      health state and did not take into account the administrative health
      state as set with `varnishadm backend.set_health ... {healthy,sick}`.
      
      Our documentation was not particularly explicit on this aspect either,
      but the administrative states `sick` and `healthy` made no sense if
      `auto` semantics was implied always. Also, the semantics were implicitly
      documented for `backend.list`.
      
      Implementation note:
      
      The relevant change is to call `VRT_Healthy()`, which does check the
      administrative health, in place of checking `(struct backend *)->sick`
      in `vbe_dir_getfd()`.
      
      As a `VRT_CTX` is required by `VRT_Healthy()`, we change the arguments of
      `vbe_dir_getfd()` accordingly: The busyobj can now be taken from the ctx,
      but the worker argument differs for pipe mode vs. fetch, so we preserve
      it as an explicit argument.
      
      A test for overriding a probed backend as healthy has been added to
      c00048.vtc, which requires a second probe to hit server s1 and fail.
      This is timing sensitive, so I hope that the backend probe interval
      of 5 seconds is long enough for all our test environments. If not,
      we probably need to make it longer or add another vtc.
      
      Fixes #3299
      fe5e8265
  13. 27 Apr, 2020 4 commits
    • Dridi Boukelmoune's avatar
      Dist-clean varnishstat_curses_help.c · 448e2edc
      Dridi Boukelmoune authored
      Since we no longer distribute it...
      448e2edc
    • Dridi Boukelmoune's avatar
      Don't distribute varnishstat_curses_help.c · 0d8eb095
      Dridi Boukelmoune authored
      It's cheap to rebuild, and it might lead to rebuilding it in $(srcdir)
      instead of $(builddir) in a VPATH build. If the source tree is write
      protected this will obviously fail.
      
      Reported by phk.
      0d8eb095
    • Nils Goroll's avatar
      Add VDP_END action for delivery processors · de6288cb
      Nils Goroll authored
      VDP_END marks the end of successful processing, it is issued by
      VDP_DeliverObj() and may also be sent downstream by processors ending
      the stream (for return value != 0)
      
      VDP_END must at most be generated once per processor, so any VDP
      sending it downstream must itself not forward it a second time.
      
      * VDP_bytes()
      
      The only relevant change is the assertion that VDP_END must not be
      received by any VDP more than once. This comes with minor
      restructuring of the handling of the three actions
      
      * VDP_DeliverObj()
      
      Here, VDP_END is pushed down after succesful iteration over the
      objects. We could also send the last storage segment with VDP_END, but
      this would require a change in all stevedores. Unless there is a good
      case for it, I do not see much value in this minor optimization.
      
      * ESI:
      
      In ved_vdp_esi_bytes we now push down VDP_END whenever we are done
      with an ESI object at esi_level == 0.
      
      ved_bytes() handles the pushes from higher esi levels downwards, so
      it now changes VDP_END into VDP_FLUSH. We need to remove the
      additional VDP_FLUSH from ved_deliver because the VDP_END from
      VDP_DeliverObj() needs to be the last bit sent.
      
      The gzgz vdp actually does something which would be impossible for an
      esi_level == 0 VDP: push bytes from _fini. This could be reworked, but
      there is also no need to.
      
      * range VDP
      
      Here we now send the VDP_END with the last segment before the end of
      the range is it.
      
      We also take the opportunity and eleminate null VDP_bytes calls before
      the range is reached.
      
      * rot13 debug VDP
      
      Here we need to ensure that we pass on VDP_END
      de6288cb
    • Poul-Henning Kamp's avatar
      Remove VSB_QUOTE_GLOB, it was committed prematurely and does not · c5e9cf1c
      Poul-Henning Kamp authored
      quite work the way it should.
      c5e9cf1c
  14. 23 Apr, 2020 1 commit
  15. 15 Apr, 2020 1 commit
  16. 14 Apr, 2020 3 commits