Skip to content

Commit

Permalink
use newer ubuntu for old varnish
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Nov 30, 2023
1 parent b36a169 commit 2dc5521
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:

varnish5:
name: PHP ${{ matrix.php }} Legacy Varnish 5
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
env:
VARNISH_VERSION: '5.1'
VARNISH_MODULES_VERSION: '0.14.0'
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:

varnish4:
name: PHP ${{ matrix.php }} Legacy Varnish 4
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
env:
VARNISH_VERSION: '4.1'
VARNISH_MODULES_VERSION: '' # varnish modules compilation fails, not sure why
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/setup-varnish-legacy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -e
echo "### Installing Legacy Varnish $VARNISH_VERSION ###"
curl -A "FOS Github" -o /tmp/libjemalloc1_3.6.0-11_amd64.deb -D - -L -s http://ftp.osuosl.org/pub/ubuntu/pool/universe/j/jemalloc/libjemalloc1_3.6.0-11_amd64.deb
sudo dpkg -i /tmp/libjemalloc1_3.6.0-11_amd64.deb
sudo apt-get update
sudo apt-get install debian-archive-keyring curl gnupg apt-transport-https
VARNISH_VERSION=$VARNISH_VERSION bash -c 'curl -s -L https://packagecloud.io/varnishcache/varnish${VARNISH_VERSION//./}/gpgkey' | sudo apt-key add -
Expand Down

0 comments on commit 2dc5521

Please sign in to comment.