Skip to content

Commit 87d9231

Browse files
committed
Migrated to Varnish Cache 7.7.x
1 parent 7ead4e1 commit 87d9231

File tree

13 files changed

+634
-10
lines changed

13 files changed

+634
-10
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ jobs:
3636
3737
- name: Install Varnish Cache
3838
run: |
39-
git clone https://github.com/varnishcache/varnish-cache.git ./varnish
40-
pushd varnish
39+
wget --no-check-certificate https://varnish-cache.org/_downloads/varnish-7.7.0.tgz
40+
tar zxvf varnish-*.tgz
41+
pushd varnish-*/
4142
./autogen.sh
4243
CC='${{ matrix.cc }}' ./configure
4344
make -sj32

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,11 @@ RUN apt update \
4141
&& apt clean \
4242
&& rm -rf /var/lib/apt/lists/*
4343

44-
RUN git clone https://github.com/varnishcache/varnish-cache.git /tmp/varnish \
45-
&& cd /tmp/varnish \
44+
RUN cd /tmp \
45+
&& wget --no-check-certificate https://varnish-cache.org/_downloads/varnish-7.7.0.tgz \
46+
&& tar zxvf varnish-*.tgz \
47+
&& rm -f varnish-*.tgz \
48+
&& cd varnish-* \
4649
&& ./autogen.sh \
4750
&& ./configure \
4851
&& make \

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

2-
.. image:: https://github.com/carlosabalde/libvmod-redis/actions/workflows/main.yml/badge.svg?branch=master
2+
.. image:: https://github.com/carlosabalde/libvmod-redis/actions/workflows/main.yml/badge.svg?branch=7.7
33
:alt: GitHub Actions CI badge
44
:target: https://github.com/carlosabalde/libvmod-redis/actions
5-
.. image:: https://codecov.io/gh/carlosabalde/libvmod-redis/branch/master/graph/badge.svg
5+
.. image:: https://codecov.io/gh/carlosabalde/libvmod-redis/branch/7.7/graph/badge.svg
66
:alt: Codecov badge
77
:target: https://codecov.io/gh/carlosabalde/libvmod-redis
88

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AC_PREREQ([2.68])
2-
AC_INIT([libvmod-redis], [trunk], [], [vmod-redis])
2+
AC_INIT([libvmod-redis], [21.0], [], [vmod-redis])
33
AC_COPYRIGHT([Copyright (c) Carlos Abalde <carlos.abalde@gmail.com>])
44
AC_CONFIG_MACRO_DIR([m4])
55
AC_CONFIG_AUX_DIR([build-aux])
@@ -35,7 +35,7 @@ AC_ARG_WITH([rst2man],
3535

3636
m4_ifndef([VARNISH_PREREQ], AC_MSG_ERROR([Need varnish.m4 -- see README.rst]))
3737

38-
#VARNISH_PREREQ([5.0], [5.1])
38+
VARNISH_PREREQ([7.7], [7.8])
3939
VARNISH_VMODS([redis])
4040

4141
VMOD_TESTS="$(cd $srcdir/src && echo tests/*.vtc)"

0 commit comments

Comments
 (0)