Skip to content

Commit

Permalink
[type:fix] e2e k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
moremind committed Oct 9, 2023
1 parent a9b6cc7 commit e907ce1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ for sync in ${SYNC_ARRAY[@]}; do
if [[ "${MIDDLEWARE_SYNC_ARRAY[@]}" =~ "${sync}" ]]; then
kubectl apply -f "${SHENYU_TESTCASE_DIR}"/k8s/shenyu-"${sync}".yml
sleep 10s
if [[ "${sync}" == "nacos" ]]; then
kubectl port-forward deployment/shenyu-nacos 8848:8848
kubectl port-forward deployment/shenyu-nacos 9848:9848
kubectl port-forward deployment/shenyu-nacos 9849:9849
fi
fi
kubectl apply -f "${PRGDIR}"/shenyu-admin-"${sync}".yml
sh "${CUR_PATH}"/healthcheck.sh http://localhost:31095/actuator/health
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ data:
shenyu:
sync:
nacos:
url: localhost:30848
url: localhost:8848
namespace: 1c10d748-af86-43b9-8265-75f487d20c6c
username:
password:
Expand Down Expand Up @@ -526,7 +526,7 @@ data:
shenyu:
sync:
nacos:
url: localhost:30848
url: localhost:8848
namespace: 1c10d748-af86-43b9-8265-75f487d20c6c
username:
password:
Expand Down

0 comments on commit e907ce1

Please sign in to comment.