diff --git a/.env b/.env index 442a5f0d8..f13ed7dff 100644 --- a/.env +++ b/.env @@ -1 +1 @@ -RELEASE_VERSION=v0.0.10 +RELEASE_VERSION=v0.0.11 diff --git a/Makefile b/Makefile index fee984e17..f7a15dec4 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ #SOURCES = $(wildcard java/**/*.java) rwildcard=$(wildcard $1$2) $(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2)) SOURCES := $(call rwildcard,java/,*.java) -RELEASE_VERSION = v0.0.10 +RELEASE_VERSION = v0.0.11 build: java/registry/target/registry.jar echo ${SOURCES} rm -rf java/claim/target/*.jar @@ -30,6 +30,7 @@ test: build @curl -v http://localhost:8081/health @cd java/apitest && ../mvnw -Pe2e test || echo 'Tests failed' @docker-compose down + @rm -rf db-data-1 || echo "no permission to delete" # test with distributed definition manager @RELEASE_VERSION=latest KEYCLOAK_IMPORT_DIR=java/apitest/src/test/resources KEYCLOAK_SECRET=a52c5f4a-89fd-40b9-aea2-3f711f14c889 MANAGER_TYPE=DistributedDefinitionsManager DB_DIR=db-data-2 docker-compose up -d @echo "Starting the test" && sh build/wait_for_port.sh 8080 @@ -38,6 +39,7 @@ test: build @curl -v http://localhost:8081/health @cd java/apitest && ../mvnw -Pe2e test || echo 'Tests failed' @docker-compose down + @rm -rf db-data-2 || echo "no permission to delete" # test with native search service @RELEASE_VERSION=latest KEYCLOAK_IMPORT_DIR=java/apitest/src/test/resources KEYCLOAK_SECRET=a52c5f4a-89fd-40b9-aea2-3f711f14c889 MANAGER_TYPE=DistributedDefinitionsManager DB_DIR=db-data-3 SEARCH_PROVIDER_NAME=dev.sunbirdrc.registry.service.NativeSearchService docker-compose up -d @echo "Starting the test" && sh build/wait_for_port.sh 8080 @@ -46,6 +48,7 @@ test: build @curl -v http://localhost:8081/health @cd java/apitest && ../mvnw -Pe2e test || echo 'Tests failed' @docker-compose down + @rm -rf db-data-3 || echo "no permission to delete" make -C services/certificate-signer test make -C services/public-key-service test make -C services/context-proxy-service test