Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
e3ba40e8
Unverified
Commit
e3ba40e8
authored
Nov 03, 2025
by
Dillon Cullinan
Committed by
GitHub
Nov 03, 2025
Browse files
ci: Fix frontend pod detection in deploy tests (#4054)
Signed-off-by:
Dillon Cullinan
<
dcullinan@nvidia.com
>
parent
dadf0e22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
.github/workflows/container-validation-backends.yml
.github/workflows/container-validation-backends.yml
+4
-5
No files found.
.github/workflows/container-validation-backends.yml
View file @
e3ba40e8
...
...
@@ -344,7 +344,7 @@ jobs:
deploy-operator
:
runs-on
:
cpu-amd-m5-2xlarge
if
:
needs.changed-files.outputs.has_code_changes == 'true'
needs
:
[
changed-files
,
operator
]
needs
:
[
changed-files
,
operator
,
vllm
,
sglang
,
trtllm
]
env
:
DYNAMO_INGRESS_SUFFIX
:
dev.aire.nvidia.com
outputs
:
...
...
@@ -455,6 +455,7 @@ jobs:
export FRAMEWORK_RUNTIME_IMAGE="${{ secrets.AZURE_ACR_HOSTNAME }}/ai-dynamo/dynamo:${{ github.sha }}-${FRAMEWORK}-amd64"
export KUBE_NS=$NAMESPACE
export GRAPH_NAME=$(yq e '.metadata.name' $DEPLOYMENT_FILE)
echo "GRAPH_NAME=${GRAPH_NAME}" >> $GITHUB_ENV
# Update the deployment file in-place
yq -i '.spec.services.[].extraPodSpec.mainContainer.image = env(FRAMEWORK_RUNTIME_IMAGE)' $DEPLOYMENT_FILE
...
...
@@ -479,7 +480,7 @@ jobs:
echo ""
kubectl get all -n $KUBE_NS
export FRONTEND_POD=$(kubectl get pods -n ${KUBE_NS} | grep
"
frontend
"
| sort -k1 | tail -n1 | awk '{print $1}')
export FRONTEND_POD=$(kubectl get pods -n ${KUBE_NS} | grep
${GRAPH_NAME}-
frontend | sort -k1 | tail -n1 | awk '{print $1}')
export CONTAINER_PORT=$(kubectl get pod $FRONTEND_POD -n ${KUBE_NS} -o jsonpath='{.spec.containers[0].ports[?(@.name=="http")].containerPort}')
echo "Container port is ${CONTAINER_PORT}"
kubectl port-forward pod/$FRONTEND_POD 8000:${CONTAINER_PORT} -n ${KUBE_NS} &
...
...
@@ -547,7 +548,6 @@ jobs:
timeout-minutes
:
5
env
:
NAMESPACE
:
${{ needs.deploy-operator.outputs.NAMESPACE }}
PROFILE
:
${{ matrix.profile }}
run
:
|
set -x
export KUBECONFIG=$(pwd)/.kubeconfig
...
...
@@ -557,8 +557,7 @@ jobs:
kubectl get all
echo "Deleting DynamoGraphDeployments for this job in namespace $NAMESPACE..."
PROFILE_SANITIZED="${PROFILE/_/-}"
kubectl delete dynamographdeployments $FRAMEWORK-$PROFILE_SANITIZED -n $NAMESPACE || true
kubectl delete dynamographdeployments ${GRAPH_NAME} -n $NAMESPACE || true
deploy-test-sglang
:
runs-on
:
cpu-amd-m5-2xlarge
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment