it might be interesting for haproxy dataplane api testing вс, 26 июл. 2020 г. в 02:10, Tim Düsterhus <[email protected]>:
> Hi List, > Ilya, > Adis, > > some of you might know my haproxy-auth-request Lua script [1]. After > having good experiences with VTest for HAProxy itself I started building > VTest based tests for haproxy-auth-request running on GitHub Actions [2] > to test the script for all HAProxy branches starting 1.8. > > Initially I performed all the necessary preparation steps manually > within my workflow file, but felt it was unnecessarily verbose having to > compile HAProxy manually. > > Thus today I worked on moving the download and compilation of HAProxy > and VTest into a re-usable GitHub Action that can easily be embedded > without needing to reinvent the wheel everywhere: > > https://github.com/TimWolla/action-install-haproxy > > You can use the test.yml workflow in my haproxy-auth-request repository > as a guidance on how to use it. Currently the only supported build flags > are USE_OPENSSL and USE_LUA. The former because it is generally useful, > the latter, because I need it. > > I hope it comes in useful to those of you who build Lua libraries or > develop an SPOA. > > I'd like to hear your feedback and I'll happily accept pull requests in > case you run into issues. > > I've put Ilya into Cc, because he might be interested after doing all > this CI work on HAProxy and Adis, because I plan to finally use the > haproxy-lua-http library once > https://github.com/haproxy/haproxy/issues/744 is backported to 1.8. > > Best regards > Tim Düsterhus > > [1] https://github.com/TimWolla/haproxy-auth-request > [2] > > https://github.com/TimWolla/haproxy-auth-request/blob/master/.github/workflows/test.yml >

