From 5cdf6b078b3d76e9048681a401ffadce6c42339c Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Mon, 13 Nov 2017 12:45:36 -0500 Subject: [PATCH] Update wpt-sync webhook and install necessary packages. --- upstream-wpt-webhook/init.sls | 6 ++++++ upstream-wpt-webhook/map.jinja | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/upstream-wpt-webhook/init.sls b/upstream-wpt-webhook/init.sls index 85e93bcc..8af38f17 100644 --- a/upstream-wpt-webhook/init.sls +++ b/upstream-wpt-webhook/init.sls @@ -30,6 +30,9 @@ upstream-wpt-webhook: - upgrade: True - require: - virtualenv: upstream-wpt-webhook + pkg.installed: + - pkgs: + - patchutils {% if grains.get('virtual_subtype', '') != 'Docker' %} service.running: - enable: True @@ -37,6 +40,7 @@ upstream-wpt-webhook: - require: - pip: upstream-wpt-webhook - git: web-platform-tests + - pkg: upstream-wpt-webhook - watch: - file: /home/wpt-sync/upstream-wpt-sync-webhook/config.json - file: /etc/init/wpt-webhook.conf @@ -47,6 +51,8 @@ web-platform-tests: git.latest: - user: wpt-sync - branch: master + - rev: master + - force_fetch: True - depth: 1 - target: /home/wpt-sync/upstream-wpt-sync-webhook/web-platform-tests - name: https://github.com/w3c/web-platform-tests.git diff --git a/upstream-wpt-webhook/map.jinja b/upstream-wpt-webhook/map.jinja index 639eaec7..9f183538 100644 --- a/upstream-wpt-webhook/map.jinja +++ b/upstream-wpt-webhook/map.jinja @@ -1,5 +1,5 @@ {% set webhook = { - 'rev': '21cc4c1b9c46aa5d955611100d2bae716a163179' + 'rev': '28dd6a38c416f26e4e0ce0f3cd318cf70917a7da' } %}