taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 3f9a1368eca8e27405dff961098c6ab22959e1b3
parent 4d890da3a4fc280033579d0f4dd9e87189ac1977
Author: Florian Dold <florian.dold@gmail.com>
Date:   Tue, 26 Apr 2016 03:32:20 +0200

githooks aren't needed anymore

Diffstat:
Dgithooks/merchant/post-receive | 26--------------------------
Dgithooks/merchant/post-update | 8--------
2 files changed, 0 insertions(+), 34 deletions(-)

diff --git a/githooks/merchant/post-receive b/githooks/merchant/post-receive @@ -1,26 +0,0 @@ -#!/usr/bin/python3 - -import sys -import os - -lines = sys.stdin.readlines() - -print("executing merchant post-receive hook") - -updated = set() - -for line in lines: - try: - old, new, name = line.split() - except ValueError: - print("unexpected format") - os.exit(1) - updated.add(name) - -if "refs/heads/test" in updated: - ret = os.system("echo merchant | timeout 1s tee /home/test/rebuild >/dev/null") - if ret != 0: - print("merchant update failed") - else: - print("updating merchant") - diff --git a/githooks/merchant/post-update b/githooks/merchant/post-update @@ -1,8 +0,0 @@ -#!/bin/sh -# -# An example hook script to prepare a packed repository for use over -# dumb transports. -# -# To enable this hook, rename this file to "post-update". - -exec git update-server-info