Skip to content

Commit

Permalink
Merge pull request gohugoio#43 from adnanh/revert-42-master
Browse files Browse the repository at this point in the history
Revert "adding rpm spec file and sysv init script"
  • Loading branch information
adnanh committed Oct 30, 2015
2 parents db25fcd + 5f7dd72 commit 2e40847
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 337 deletions.
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

9 changes: 0 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
DOCKER_IMAGE_NAME=adnanh/webhook
CONTAINER_NAME=webhook
COMMIT := $(shell git rev-parse HEAD)
SHORTCOMMIT := $(shell git rev-parse HEAD|cut -c-7)
TEMPDIR := $(shell mktemp -d)


docker-build: Dockerfile
docker build --force-rm=true --tag=${DOCKER_IMAGE_NAME} .
Expand All @@ -12,8 +8,3 @@ docker-run:
@echo "Here's an example command on how to run a webhook container:"
@echo "docker run -d -p 9000:9000 -v /etc/webhook:/etc/webhook --name=${CONTAINER_NAME} \\"
@echo " ${DOCKER_IMAGE_NAME} -verbose -hooks=/etc/webhook/hooks.json -hotreload"

build_rpm:
git archive --format=tar.gz --prefix webhook-$(COMMIT)/ --output $(TEMPDIR)/webhook-$(SHORTCOMMIT).tar.gz $(COMMIT)
rpmbuild -ta --define "_commit $(COMMIT)" $(TEMPDIR)/webhook-$(SHORTCOMMIT).tar.gz

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Join the chat at https://gitter.im/adnanh/webhook](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/adnanh/webhook?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Flattr this](https://button.flattr.com/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=adnanh&url=https%3A%2F%2Fwww.github.com%2Fadnanh%2Fwebhook) [![Build Status](https://travis-ci.org/adnanh/webhook.svg?branch=master)](https://travis-ci.org/adnanh/webhook)
[![Join the chat at https://gitter.im/adnanh/webhook](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/adnanh/webhook?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Flattr this](https://button.flattr.com/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=adnanh&url=https%3A%2F%2Fwww.github.com%2Fadnanh%2Fwebhook)

# What is webhook?
[webhook](https://github.com/adnanh/webhook/) is a lightweight configurable tool written in Go, that allows you to easily create HTTP endpoints (hooks) on your server, which you can use to execute configured commands. You can also pass data from the HTTP request (such as headers, payload or query variables) to your commands. [webhook](https://github.com/adnanh/webhook/) also allows you to specify rules which have to be satisfied in order for the hook to be triggered.
Expand Down
186 changes: 0 additions & 186 deletions golang-github-adnanh-webhook.spec

This file was deleted.

111 changes: 0 additions & 111 deletions webhook.init

This file was deleted.

0 comments on commit 2e40847

Please sign in to comment.