-
Notifications
You must be signed in to change notification settings - Fork 359
How to Run and Deploy IATs
hnandiwada edited this page Aug 16, 2019
·
2 revisions
- Download the IATs repo.
- Ask networking team for an environment with Istio already deployed.
- Deploy new CAPI:
a. Download bosh manifest:
bosh -d manifest > /tmp/cf-manifest.yml
b. In/tmp/cf-manifest.yml
: update /releases/capi/version to be "latest" c. In thecapi-release
directory:bosh create-release --force --version=1.83.4+<something>
bosh upload-release
bosh -d cf deploy /tmp/cf-manifest.yml --no-redact
- Get CF admin password from credhub:
a. Search for credential:
credhub g -n cf_admin_password
b. With the credential name:credhub g -n /bosh-<bosh_env_name>/cf/cf_admin_password
- Make a
config.json
file using thecf_admin_password
from step 3 and the domains found inbosh-manifest.yml
:cat << EOF > "${PWD}/config.json" { "cf_system_domain": "bosh-lite.com", "cf_admin_user": "admin", "cf_admin_password": <cf_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
- Download chromedriver and make sure it is in your
PATH
- In the CF incubator, change
"cf"
to"cf6"
as shown below:func CfWithCustomReporter(cmdStarter Starter, reporter Reporter, args ...string) *gexec.Session { request, err := cmdStarter.Start(reporter, "cf6", args...) if err != nil { panic(err) } return request }
- Run
CONFIG="$PWD/config.json" scripts/test
At this point, the IATs should be able to run successfully.
-
Pipelines
-
Contributing
- Tips and Tricks
- Cloud Controller API v3 Style Guide
- Playbooks
- Development configuration
- Testing
-
Architectural Details
-
CC Resources
- Apps
- Audit Events
- Deployments
- Labels
- Services
- Sidecars
-
Dependencies
-
Troubleshooting
- Ruby Console Script to Find Fields that Cannot Be Decrypted
- Logging database queries in unit tests
- Inspecting blobstore cc resources and cc packages(webdav)
- How to Use USR1 Trap for Diagnostics
- How to Perf: Finding and Fixing Bottlenecks
- How to get access to mysql database
- How To Get a Ruby Heap Dumps & GC Stats from CC
- How to curl v4 internal endpoints with mtls
- How to access Bosh Director console and restore an outdated Cloud Config
- Analyzing Cloud Controller's NGINX logs using the toplogs script
-
k8s
-
Archive