Skip to content

Commit

Permalink
Bumped contract
Browse files Browse the repository at this point in the history
  • Loading branch information
marcingrzejszczak committed Aug 21, 2018
1 parent 64abbdd commit bf48914
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion run_contract_tests.sh
Expand Up @@ -2,7 +2,7 @@

set -o errexit

SC_CONTRACT_DOCKER_VERSION="${SC_CONTRACT_DOCKER_VERSION:-2.0.0.BUILD-SNAPSHOT}"
SC_CONTRACT_DOCKER_VERSION="${SC_CONTRACT_DOCKER_VERSION:-2.0.2.BUILD-SNAPSHOT}"
APP_IP="$( ./whats_my_ip.sh )"
APP_PORT="${APP_PORT:-3000}"
ARTIFACTORY_PORT="${ARTIFACTORY_PORT:-8081}"
Expand Down
2 changes: 1 addition & 1 deletion run_contract_tests_from_external_contracts.sh
Expand Up @@ -5,7 +5,7 @@ set -o errexit
# Here we assume that you've pushed to artifactory an artifact containing all contracts for all projects.
# Example of such a project is available under https://github.com/spring-cloud-samples/spring-cloud-contract-nodejs-external-contracts

SC_CONTRACT_DOCKER_VERSION="${SC_CONTRACT_DOCKER_VERSION:-2.0.0.BUILD-SNAPSHOT}"
SC_CONTRACT_DOCKER_VERSION="${SC_CONTRACT_DOCKER_VERSION:-2.0.2.BUILD-SNAPSHOT}"
APP_IP="$( ./whats_my_ip.sh )"
APP_PORT="${APP_PORT:-3000}"
ARTIFACTORY_PORT="${ARTIFACTORY_PORT:-8081}"
Expand Down
2 changes: 1 addition & 1 deletion run_contract_tests_from_git.sh
Expand Up @@ -12,7 +12,7 @@ cp -r "${CURRENT_DIR}"/git_repository "${CURRENT_DIR}"/build/contracts_git
mv "${CURRENT_DIR}"/build/contracts_git/git "${CURRENT_DIR}"/build/contracts_git/.git
echo "Now we have a git repository available under ["${CURRENT_DIR}"/build/contracts_git/]"

SC_CONTRACT_DOCKER_VERSION="${SC_CONTRACT_DOCKER_VERSION:-2.0.0.BUILD-SNAPSHOT}"
SC_CONTRACT_DOCKER_VERSION="${SC_CONTRACT_DOCKER_VERSION:-2.0.2.BUILD-SNAPSHOT}"
APP_IP="$( ./whats_my_ip.sh )"
APP_PORT="${APP_PORT:-3000}"
APPLICATION_BASE_URL="http://${APP_IP}:${APP_PORT}"
Expand Down
2 changes: 1 addition & 1 deletion run_stub_runner_boot.sh
Expand Up @@ -2,7 +2,7 @@

set -o errexit

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

# Stub coordinates 'groupId:artifactId:version:classifier'
Expand Down
2 changes: 1 addition & 1 deletion run_stub_runner_boot_from_git.sh
Expand Up @@ -3,7 +3,7 @@
set -o errexit

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

# Stub coordinates 'groupId:artifactId:version:classifier'
STUB_GROUP="${STUB_GROUP:-com.example}"
Expand Down
1 change: 1 addition & 0 deletions run_tests.sh
Expand Up @@ -12,6 +12,7 @@ echo -e "\n\nRunning tests against Artifactory\n\n"
pkill -f "node app" || echo "Failed to kill app"
echo "Working around certificate issues" && npm config set strict-ssl false
yes | npm install || echo "Failed to install packages"
yes | npm install express || echo "Failed to install package"
nohup node app &

# Execute contract tests
Expand Down
1 change: 1 addition & 0 deletions run_tests_for_external.sh
Expand Up @@ -15,6 +15,7 @@ echo -e "\n\nRunning tests against Artifactory with external contracts\n\n"
pkill -f "node app" || echo "Failed to kill app"
echo "Working around certificate issues" && npm config set strict-ssl false
yes | npm install || echo "Failed to install packages"
yes | npm install express || echo "Failed to install package"
nohup node app &

# Execute contract tests
Expand Down
1 change: 1 addition & 0 deletions run_tests_from_git.sh
Expand Up @@ -12,6 +12,7 @@ echo -e "\n\nRunning tests from GIT\n\n"
pkill -f "node app" || echo "Failed to kill app"
echo "Working around certificate issues" && npm config set strict-ssl false
yes | npm install || echo "Failed to install packages"
yes | npm install express || echo "Failed to install package"
nohup node app &

# Execute contract tests
Expand Down
2 changes: 1 addition & 1 deletion upload_external_contracts_to_artifactory.sh
Expand Up @@ -5,7 +5,7 @@ set -o errexit
# Here we assume that you've pushed to artifactory an artifact containing all contracts for all projects.
# Example of such a project is available under https://github.com/spring-cloud-samples/spring-cloud-contract-nodejs-external-contracts

SC_CONTRACT_DOCKER_VERSION="${SC_CONTRACT_DOCKER_VERSION:-2.0.0.BUILD-SNAPSHOT}"
SC_CONTRACT_DOCKER_VERSION="${SC_CONTRACT_DOCKER_VERSION:-2.0.2.BUILD-SNAPSHOT}"
APP_IP="$( ./whats_my_ip.sh )"
APP_PORT="${APP_PORT:-3000}"
ARTIFACTORY_PORT="${ARTIFACTORY_PORT:-8081}"
Expand Down

0 comments on commit bf48914

Please sign in to comment.