Skip to content

Commit

Permalink
drop danger integration because it broke
Browse files Browse the repository at this point in the history
  • Loading branch information
mikz committed Oct 25, 2017
1 parent 220e3e1 commit 336270b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ before_install:
- travis/install-s2i.sh
- export PATH="${PATH}:${HOME}/openresty/bin:${HOME}/openresty/luajit/bin:${HOME}/openresty/nginx/sbin:${HOME}/bin:${HOME}/.luarocks/bin"
script:
- make builder-image danger
- make test-doc
- make builder-image
- make test-doc
8 changes: 0 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ endif

export COMPOSE_PROJECT_NAME

DANGER_IMAGE ?= quay.io/3scale/danger

test: ## Run all tests
$(MAKE) --keep-going busted prove builder-image test-builder-image prove-docker runtime-image test-runtime-image

Expand All @@ -39,12 +37,6 @@ apicast-source: ## Create Docker Volume container with APIcast source code
docker create --rm -v /opt/app-root/src --name $(COMPOSE_PROJECT_NAME)-source $(IMAGE_NAME) /bin/true
docker cp . $(COMPOSE_PROJECT_NAME)-source:/opt/app-root/src

danger: apicast-source
danger: TEMPFILE := $(shell mktemp)
danger:
env | grep -E 'CIRCLE|TRAVIS|DANGER|SEAL' > $(TEMPFILE)
docker pull $(DANGER_IMAGE)
docker run --rm -w /opt/app-root/src --volumes-from=$(COMPOSE_PROJECT_NAME)-source --env-file=$(TEMPFILE) -u $(shell id -u) $(DANGER_IMAGE) danger

busted: dependencies $(ROVER) ## Test Lua.
@$(ROVER) exec bin/busted
Expand Down

0 comments on commit 336270b

Please sign in to comment.