Skip to content

Commit 5b7307a

Browse files
author
wwanarif
committed
temp update mysqlhost in e2e CI
Signed-off-by: wwanarif <wan.abdul.hakim.bin.wan.arif@intel.com>
1 parent 5eca92b commit 5b7307a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/_e2e-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
fi
5454
sleep 5
5555
sudo apt install ansible -y
56-
ansible-playbook genai-studio.yml -e "container_registry=${OPEA_IMAGE_REPO}opea" -e "container_tag=${{ inputs.tag }}" -e "mysql_host=${OPEA_IMAGE_REPO%%:*}"
56+
ansible-playbook genai-studio.yml -e "container_registry=${OPEA_IMAGE_REPO}opea" -e "container_tag=${{ inputs.tag }}" -e "mysql_host=$(hostname -I | awk '{print $1}')"
5757
sleep 5
5858
kubectl wait --for=condition=ready pod --all --namespace=studio --timeout=300s --field-selector=status.phase!=Succeeded
5959
kubectl wait --for=condition=ready pod --all --namespace=monitoring --timeout=300s --field-selector=status.phase!=Succeeded

0 commit comments

Comments
 (0)