Skip to content
Snippets Groups Projects
Commit 38899a98 authored by MyIgel's avatar MyIgel :fire:
Browse files

Upgrade varnish 6.4 -> 7.0

parent 7a34415e
No related branches found
No related tags found
1 merge request!568Docker1
Pipeline #32392 passed
......@@ -15,7 +15,7 @@ Unattended-Upgrade::Origins-Pattern {
"origin=packages.gitlab.com/gitlab/gitlab-ce,codename=${distro_codename},label=gitlab-ce";
"origin=packages.gitlab.com/gitlab/gitlab-ee,codename=${distro_codename},label=gitlab-ee";
"origin=deb.knot-dns.cz,site=deb.knot-dns.cz,component=main";
"origin=packagecloud.io/varnishcache/varnish64";
"origin=packagecloud.io/varnishcache/varnish70";
};
Unattended-Upgrade::Automatic-Reboot "false";
......
......@@ -4,18 +4,21 @@ include:
varnish:
pkgrepo.managed:
- humanname: varnish64
- name: "deb https://packagecloud.io/varnishcache/varnish64/debian/ {{ grains['oscodename'] }} main"
- key_url: https://packagecloud.io/varnishcache/varnish64/gpgkey
- name: "deb https://packagecloud.io/varnishcache/varnish70/debian/ {{ grains['oscodename'] }} main"
- key_url: https://packagecloud.io/varnishcache/varnish70/gpgkey
- file: /etc/apt/sources.list.d/varnish.list
- clean_file: true
pkg.installed:
- pkgs:
- varnish
- varnish-dev
- version: '6.4.*'
- version: '7.0.*'
- require:
- pkgrepo: varnish
service.running:
- enable: True
- require:
- pkg: varnish
/etc/systemd/system/varnish.service.d/start.conf:
file.managed:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment