mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 18:01:08 -05:00
Remove jenkins related code
This commit is contained in:
3
Makefile
3
Makefile
@@ -8,7 +8,6 @@ GIT_BRANCH ?= $(shell git symbolic-ref --short HEAD 2> /dev/null || echo "detach
|
|||||||
GIT_COMMIT ?= $(shell git rev-parse HEAD)
|
GIT_COMMIT ?= $(shell git rev-parse HEAD)
|
||||||
|
|
||||||
DOCKER_BUILDER_IMAGE_NAME = govuk/notify-api-builder:master
|
DOCKER_BUILDER_IMAGE_NAME = govuk/notify-api-builder:master
|
||||||
DOCKER_TTY ?= $(if ${JENKINS_HOME},,t)
|
|
||||||
|
|
||||||
BUILD_TAG ?= notifications-api-manual
|
BUILD_TAG ?= notifications-api-manual
|
||||||
BUILD_NUMBER ?= 0
|
BUILD_NUMBER ?= 0
|
||||||
@@ -103,7 +102,7 @@ build-with-docker: ; ## don't do anything
|
|||||||
|
|
||||||
.PHONY: test-with-docker
|
.PHONY: test-with-docker
|
||||||
test-with-docker: prepare-docker-build-image create-docker-test-db ## Run tests inside a Docker container
|
test-with-docker: prepare-docker-build-image create-docker-test-db ## Run tests inside a Docker container
|
||||||
@docker run -i${DOCKER_TTY} --rm \
|
@docker run -it --rm \
|
||||||
--name "${DOCKER_CONTAINER_PREFIX}-test" \
|
--name "${DOCKER_CONTAINER_PREFIX}-test" \
|
||||||
--link "${DOCKER_CONTAINER_PREFIX}-db:postgres" \
|
--link "${DOCKER_CONTAINER_PREFIX}-db:postgres" \
|
||||||
-e SQLALCHEMY_DATABASE_URI=postgresql://postgres:postgres@postgres/test_notification_api \
|
-e SQLALCHEMY_DATABASE_URI=postgresql://postgres:postgres@postgres/test_notification_api \
|
||||||
|
|||||||
Reference in New Issue
Block a user