istio-acceptance-tests

module
v0.0.0-...-9a4be0d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2020 License: Apache-2.0

README

Istio Acceptance Tests

This repository contains code for demoing the Istio bookinfo app on Cloud Foundry and ensuring that it works with new updates.

Prerequisites
  • Working installation of Go
  • Valid $GOPATH

Create a config file

cat << EOF > "${PWD}/config.json"
{
	"cf_system_domain": "bosh-lite.com",
	"cf_admin_user": "admin",
	"cf_admin_password": <admin password>,
	"cf_internal_apps_domain": "apps.internal",
	"cf_internal_istio_domain": "istio.apps.internal",
	"cf_istio_domain": "istio.<system-domain>",
	"product_page_docker_tag": "cfrouting/examples-bookinfo-productpage-v1:latest",
	"reviews_docker_tag": "cfrouting/examples-bookinfo-reviews-v3:latest",
	"ratings_docker_tag": "istio/examples-bookinfo-ratings-v1:1.5.0",
	"details_docker_tag": "istio/examples-bookinfo-details-v1:1.5.0",
	"wildcard_ca": "<envoy_wildcard_ca.ca>"
}
EOF

Note: wildcard_ca is an optional property. It should be be configured if TLS is enabled between clients and the istio-router (enabled by using the enable-tls-termination ops-file).

Note: include_internal_route_tests is an optional property. If set to true, the internal route tests will run. This will require the Envoy sidecar to be in the network datapath (enabled by using the enable-sidecar-proxying ops-file).

Running Tests

CONFIG="$PWD/config.json" scripts/test

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL