YongchaoWu | 9a84f51 | 2019-12-16 22:54:11 +0100 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | |
YongchaoWu | ffde6eb | 2020-01-17 13:58:51 +0100 | [diff] [blame^] | 3 | # Set the images for the Policy agent app to use for the auto tests. Do not add the image tag. |
| 4 | # |
YongchaoWu | 9a84f51 | 2019-12-16 22:54:11 +0100 | [diff] [blame] | 5 | # Local image and tag, shall point to locally built image (non-nexus path) |
YongchaoWu | 91fa338 | 2020-01-12 17:54:31 +0100 | [diff] [blame] | 6 | export POLICY_AGENT_LOCAL_IMAGE=o-ran-sc/nonrtric-policy-agent |
YongchaoWu | ffde6eb | 2020-01-17 13:58:51 +0100 | [diff] [blame^] | 7 | # Remote image |
| 8 | export POLICY_AGENT_REMOTE_IMAGE=nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-policy-agent |
YongchaoWu | 9a84f51 | 2019-12-16 22:54:11 +0100 | [diff] [blame] | 9 | |
| 10 | # Common env var for auto-test. |
| 11 | |
| 12 | POLICY_AGENT_PORT=8081 |
| 13 | POLICY_AGENT_LOGPATH="/var/log/policy-agent/application.log" #Path the application log in the policy agent container |
YongchaoWu | ffde6eb | 2020-01-17 13:58:51 +0100 | [diff] [blame^] | 14 | DOCKER_SIM_NWNAME="nonrtric-docker-net" #Name of docker private network |
| 15 | CONSUL_HOST="consul-server" #Host name of consul |
| 16 | CONSUL_PORT=8500 #Port number of consul |
| 17 | CONFIG_BINDING_SERVICE="config-binding-service" #Host name of CBS |
| 18 | PA_APP_BASE="policy-agent" #Base name for policy agent container |