From 60553f81087cd2190d690d2e020c5d773f455402 Mon Sep 17 00:00:00 2001 From: Harry Tung Date: Tue, 2 Jul 2024 13:48:00 -0700 Subject: [PATCH] Updated image --- deploy/k3s/edge_deployment/edge_deployment.yaml | 6 +++--- test/api/test_motdet.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy/k3s/edge_deployment/edge_deployment.yaml b/deploy/k3s/edge_deployment/edge_deployment.yaml index e3962057..9cb9d7f3 100644 --- a/deploy/k3s/edge_deployment/edge_deployment.yaml +++ b/deploy/k3s/edge_deployment/edge_deployment.yaml @@ -40,7 +40,7 @@ spec: serviceAccountName: edge-endpoint-service-account initContainers: - name: database-prep - image: 723181461334.dkr.ecr.us-west-2.amazonaws.com/edge-endpoint:cicd-fix-659a3520f-dirty-881f8140108c1ef + image: 723181461334.dkr.ecr.us-west-2.amazonaws.com/edge-endpoint:cicd-fix-37bd6a998-dirty-651bd9e5ddf401a imagePullPolicy: IfNotPresent env: # Flag to indicate whether or not to reset all database tables. Resetting WILL delete @@ -59,7 +59,7 @@ spec: containers: - name: edge-endpoint - image: 723181461334.dkr.ecr.us-west-2.amazonaws.com/edge-endpoint:cicd-fix-659a3520f-dirty-881f8140108c1ef + image: 723181461334.dkr.ecr.us-west-2.amazonaws.com/edge-endpoint:cicd-fix-37bd6a998-dirty-651bd9e5ddf401a imagePullPolicy: IfNotPresent ports: - containerPort: 6717 @@ -83,7 +83,7 @@ spec: mountPath: /opt/groundlight/edge/sqlite - name: inference-model-updater - image: 723181461334.dkr.ecr.us-west-2.amazonaws.com/edge-endpoint:cicd-fix-659a3520f-dirty-881f8140108c1ef + image: 723181461334.dkr.ecr.us-west-2.amazonaws.com/edge-endpoint:cicd-fix-37bd6a998-dirty-651bd9e5ddf401a imagePullPolicy: IfNotPresent command: ["/bin/bash", "-c"] args: ["poetry run python -m app.model_updater.update_models"] diff --git a/test/api/test_motdet.py b/test/api/test_motdet.py index 267ccdfd..9c5921d9 100644 --- a/test/api/test_motdet.py +++ b/test/api/test_motdet.py @@ -257,7 +257,7 @@ def test_motion_detection_not_sufficient_if_doesnt_meet_conf_threshold(gl: Groun detector=detector.id, image=original_image, patience_time=30.0, - confidence_threshold=(0.99999), # Require a higher confidence than before + confidence_threshold=base_iq_response.result.confidence + 1e-3, # Require a higher confidence than before ) assert new_response.id != base_iq_response.id, "ImageQuery id should be different whether or not motion det is run"