Skip to content

Commit bf48914

Browse files
Bumped contract
1 parent 64abbdd commit bf48914

9 files changed

+9
-6
lines changed

run_contract_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -o errexit
44

5-
SC_CONTRACT_DOCKER_VERSION="${SC_CONTRACT_DOCKER_VERSION:-2.0.0.BUILD-SNAPSHOT}"
5+
SC_CONTRACT_DOCKER_VERSION="${SC_CONTRACT_DOCKER_VERSION:-2.0.2.BUILD-SNAPSHOT}"
66
APP_IP="$( ./whats_my_ip.sh )"
77
APP_PORT="${APP_PORT:-3000}"
88
ARTIFACTORY_PORT="${ARTIFACTORY_PORT:-8081}"

run_contract_tests_from_external_contracts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -o errexit
55
# Here we assume that you've pushed to artifactory an artifact containing all contracts for all projects.
66
# Example of such a project is available under https://github.com/spring-cloud-samples/spring-cloud-contract-nodejs-external-contracts
77

8-
SC_CONTRACT_DOCKER_VERSION="${SC_CONTRACT_DOCKER_VERSION:-2.0.0.BUILD-SNAPSHOT}"
8+
SC_CONTRACT_DOCKER_VERSION="${SC_CONTRACT_DOCKER_VERSION:-2.0.2.BUILD-SNAPSHOT}"
99
APP_IP="$( ./whats_my_ip.sh )"
1010
APP_PORT="${APP_PORT:-3000}"
1111
ARTIFACTORY_PORT="${ARTIFACTORY_PORT:-8081}"

run_contract_tests_from_git.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ cp -r "${CURRENT_DIR}"/git_repository "${CURRENT_DIR}"/build/contracts_git
1212
mv "${CURRENT_DIR}"/build/contracts_git/git "${CURRENT_DIR}"/build/contracts_git/.git
1313
echo "Now we have a git repository available under ["${CURRENT_DIR}"/build/contracts_git/]"
1414

15-
SC_CONTRACT_DOCKER_VERSION="${SC_CONTRACT_DOCKER_VERSION:-2.0.0.BUILD-SNAPSHOT}"
15+
SC_CONTRACT_DOCKER_VERSION="${SC_CONTRACT_DOCKER_VERSION:-2.0.2.BUILD-SNAPSHOT}"
1616
APP_IP="$( ./whats_my_ip.sh )"
1717
APP_PORT="${APP_PORT:-3000}"
1818
APPLICATION_BASE_URL="http://${APP_IP}:${APP_PORT}"

run_stub_runner_boot.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -o errexit
44

5-
SC_CONTRACT_DOCKER_VERSION="${SC_CONTRACT_DOCKER_VERSION:-2.0.0.BUILD-SNAPSHOT}"
5+
SC_CONTRACT_DOCKER_VERSION="${SC_CONTRACT_DOCKER_VERSION:-2.0.2.BUILD-SNAPSHOT}"
66
APP_IP="$( ./whats_my_ip.sh )"
77

88
# Stub coordinates 'groupId:artifactId:version:classifier'

run_stub_runner_boot_from_git.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -o errexit
44

55
CURRENT_DIR="$( pwd )"
6-
SC_CONTRACT_DOCKER_VERSION="${SC_CONTRACT_DOCKER_VERSION:-2.0.0.BUILD-SNAPSHOT}"
6+
SC_CONTRACT_DOCKER_VERSION="${SC_CONTRACT_DOCKER_VERSION:-2.0.2.BUILD-SNAPSHOT}"
77

88
# Stub coordinates 'groupId:artifactId:version:classifier'
99
STUB_GROUP="${STUB_GROUP:-com.example}"

run_tests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ echo -e "\n\nRunning tests against Artifactory\n\n"
1212
pkill -f "node app" || echo "Failed to kill app"
1313
echo "Working around certificate issues" && npm config set strict-ssl false
1414
yes | npm install || echo "Failed to install packages"
15+
yes | npm install express || echo "Failed to install package"
1516
nohup node app &
1617

1718
# Execute contract tests

run_tests_for_external.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ echo -e "\n\nRunning tests against Artifactory with external contracts\n\n"
1515
pkill -f "node app" || echo "Failed to kill app"
1616
echo "Working around certificate issues" && npm config set strict-ssl false
1717
yes | npm install || echo "Failed to install packages"
18+
yes | npm install express || echo "Failed to install package"
1819
nohup node app &
1920

2021
# Execute contract tests

run_tests_from_git.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ echo -e "\n\nRunning tests from GIT\n\n"
1212
pkill -f "node app" || echo "Failed to kill app"
1313
echo "Working around certificate issues" && npm config set strict-ssl false
1414
yes | npm install || echo "Failed to install packages"
15+
yes | npm install express || echo "Failed to install package"
1516
nohup node app &
1617

1718
# Execute contract tests

upload_external_contracts_to_artifactory.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -o errexit
55
# Here we assume that you've pushed to artifactory an artifact containing all contracts for all projects.
66
# Example of such a project is available under https://github.com/spring-cloud-samples/spring-cloud-contract-nodejs-external-contracts
77

8-
SC_CONTRACT_DOCKER_VERSION="${SC_CONTRACT_DOCKER_VERSION:-2.0.0.BUILD-SNAPSHOT}"
8+
SC_CONTRACT_DOCKER_VERSION="${SC_CONTRACT_DOCKER_VERSION:-2.0.2.BUILD-SNAPSHOT}"
99
APP_IP="$( ./whats_my_ip.sh )"
1010
APP_PORT="${APP_PORT:-3000}"
1111
ARTIFACTORY_PORT="${ARTIFACTORY_PORT:-8081}"

0 commit comments

Comments
 (0)