mirror of
https://github.com/adnanh/webhook.git
synced 2025-07-03 09:48:30 +00:00
Remove webhook-contrib content and update README
The Docker, Travis-CI, RPM, and init files are being moved to the separate `webhook-contrib` repository.
This commit is contained in:
parent
8544653787
commit
b314eda1f9
6 changed files with 7 additions and 389 deletions
18
Makefile
18
Makefile
|
@ -1,18 +0,0 @@
|
|||
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) .
|
||||
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue