-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvalidate-produce-service.sh
executable file
·21 lines (20 loc) · 1.11 KB
/
validate-produce-service.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
docker run --rm \
-e "APPLICATION_BASE_URL=http://host.docker.internal:8080" \
-e "PUBLISH_ARTIFACTS=true" \
-e "PROJECT_NAME=produce-service" \
-e "PROJECT_GROUP=com.ibm.developer" \
-e "REPO_WITH_BINARIES_URL=http://host.docker.internal:8081/artifactory/libs-release-local" \
-e "PROJECT_VERSION=0.0.1-SNAPSHOT" \
-e "EXTERNAL_CONTRACTS_GROUP_ID=com.ibm.developer" \
-e "EXTERNAL_CONTRACTS_ARTIFACT_ID=produce-service" \
-e "EXTERNAL_CONTRACTS_VERSION=0.0.1-SNAPSHOT" \
-e "EXTERNAL_CONTRACTS_REPO_WITH_BINARIES_URL=git://https://github.com/wkorando/produce-contracts.git" \
-v "$(pwd)/build-output:/spring-cloud-contract-output/" \
-v "$(pwd)/contracts/:/contracts:ro" \
springcloud/spring-cloud-contract:2.1.1.RELEASE
#2.1.1.RELEASE
#2.2.0.BUILD-SNAPSHOT --no tests
#-e "EXTERNAL_CONTRACTS_PATH=/path/to/contracts/repo/root" \
#-e "EXTERNAL_CONTRACTS_REPO_WITH_BINARIES_URL=git://https://github.com/wkorando/produce-contracts.git" \
#-e "EXTERNAL_CONTRACTS_PATH=/Users/William.Korando@ibm.com/code/collaborative-contract-driven-development-2-0/produce-contracts/" \
#-e "APPLICATION_BASE_URL=http://host.docker.internal:8080" \