-
Notifications
You must be signed in to change notification settings - Fork 75
Update scenescape to 2025.2 rc2 #1071
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
Irakus
wants to merge
14
commits into
release-2025.2.0
Choose a base branch
from
update_scenescape_2025.2-rc2
base: release-2025.2.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+636
−381
Draft
Changes from 9 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
38dc4e0
update compose
Irakus c942d9b
update compose
Irakus 1d23d0f
bumpt postgres
Irakus e49f1f8
updated web deployment in chart
Irakus 2bb81e0
update chart
Irakus 650a4a9
adjusted helm deployment
Irakus 11c963c
update docs
Irakus 42b371b
set rc2 image
Irakus 92d848d
added pullsecrets field to all deployments
Irakus faa4406
added variable to pgserver
Irakus 02c70fd
Merge branch 'release-2025.2.0' into update_scenescape_2025.2-rc2
Irakus bd63ea1
Merge branch 'release-2025.2.0' into update_scenescape_2025.2-rc2
Irakus 5e54d33
Merge branch 'release-2025.2.0' into update_scenescape_2025.2-rc2
ajagadi1 8cf8260
update deployment manual
Irakus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -167,9 +167,9 @@ services: | |
| devices: | ||
| - "/dev/dri:/dev/dri" | ||
| device_cgroup_rules: | ||
| - 'c 189:* rmw' | ||
| - 'c 209:* rmw' | ||
| - 'a 189:* rwm' | ||
| - "c 189:* rmw" | ||
| - "c 209:* rmw" | ||
| - "a 189:* rwm" | ||
| group_add: | ||
| - "109" | ||
| - "110" | ||
|
|
@@ -208,67 +208,46 @@ services: | |
| restart: on-failure:5 | ||
|
|
||
| pgserver: | ||
| image: docker.io/intel/scenescape-manager:v1.4.0 | ||
| init: true | ||
| image: postgres:17.6 | ||
| env_file: | ||
| - ./${SAMPLE_APP}/src/secrets/pgserver/pgserver.env | ||
| networks: | ||
| - scenescape | ||
| environment: | ||
| - "DBROOT=/workspace" | ||
| - "EXAMPLEDB=smart-intersection-ri.tar.bz2" | ||
| - http_proxy=${http_proxy} | ||
| - https_proxy=${https_proxy} | ||
| - no_proxy=${no_proxy},.scenescape.intel.com,influxdb2 | ||
| - NO_PROXY=${no_proxy},.scenescape.intel.com,influxdb2 | ||
| - HTTP_PROXY=${http_proxy} | ||
| - HTTPS_PROXY=${https_proxy} | ||
| entrypoint: [ | ||
| "/bin/bash", | ||
| "-e", | ||
| "-c", | ||
| "cp /tmp/user_access_config.json /home/scenescape/SceneScape/user_access_config.json && \ | ||
| cp /tmp/smart-intersection-ri.tar.bz2 /home/scenescape/SceneScape/smart-intersection-ri.tar.bz2 && \ | ||
| chown -R scenescape:scenescape /workspace && \ | ||
| SUPASS=$(cat /run/secrets/supass) /usr/local/bin/scenescape-init database --preloadexample", | ||
| ] | ||
| cap_add: | ||
| - SYS_ADMIN | ||
| devices: | ||
| - /dev/fuse | ||
| security_opt: | ||
| - apparmor:unconfined | ||
| POSTGRES_USER: scenescape | ||
| POSTGRES_DB: scenescape | ||
| volumes: | ||
| - pgserver-db:/workspace/db | ||
| - pgserver-migrations:/workspace/migrations | ||
| - pgserver-media:/workspace/media | ||
| - ./${SAMPLE_APP}/src/webserver/user_access_config.json:/tmp/user_access_config.json | ||
| - ./${SAMPLE_APP}/src/webserver/smart-intersection-ri.tar.bz2:/tmp/smart-intersection-ri.tar.bz2 | ||
| secrets: | ||
| - django | ||
| - browser.auth | ||
| - controller.auth | ||
| - supass | ||
| restart: on-failure:5 | ||
| - pgserver-db:/var/lib/postgresql/data | ||
| ports: | ||
| - "5432:5432" | ||
|
|
||
| web: | ||
| image: docker.io/intel/scenescape-manager:v1.4.0 | ||
| image: ghcr.io/open-edge-platform/edge-ai-libraries/intel/scenescape-manager:2025.2-rc2 | ||
| init: true | ||
| networks: | ||
| scenescape: | ||
| aliases: | ||
| - web.scenescape.intel.com | ||
| depends_on: | ||
| - pgserver | ||
| pgserver: | ||
| condition: service_started | ||
| broker: | ||
| condition: service_started | ||
| environment: | ||
| - "DBROOT=/workspace" | ||
| - http_proxy=${http_proxy} | ||
| - https_proxy=${https_proxy} | ||
| - no_proxy=${no_proxy},.scenescape.intel.com,influxdb2 | ||
| - NO_PROXY=${no_proxy},.scenescape.intel.com,influxdb2 | ||
| - HTTP_PROXY=${http_proxy} | ||
| - HTTPS_PROXY=${https_proxy} | ||
| - SUPASS | ||
| - EXAMPLEDB=/home/scenescape/SceneScape/smart-intersection-ri.tar.bz2 | ||
| - DJANGO_DEBUG=True | ||
| command: > | ||
| webserver | ||
| --dbhost pgserver | ||
| --dbtype postgres | ||
| --dbport 5432 | ||
| --broker broker.scenescape.intel.com | ||
| --brokerauth /run/secrets/browser.auth | ||
| --brokerrootcert /run/secrets/certs/scenescape-ca.pem | ||
|
|
@@ -286,6 +265,10 @@ services: | |
| - apparmor:unconfined | ||
| volumes: | ||
| - pgserver-media:/workspace/media | ||
| - pgserver-migrations:/workspace/migrations | ||
| - sample-data:/home/scenescape/SceneScape/sample_data | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Inspecting this volume - it's empty. I'm not sure this is needed
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will fix when migrating to rc3 |
||
| - ./${SAMPLE_APP}/src/webserver/user_access_config.json:/home/scenescape/SceneScape/user_access_config.json | ||
| - ./${SAMPLE_APP}/src/webserver/smart-intersection-ri.tar.bz2:/home/scenescape/SceneScape/smart-intersection-ri.tar.bz2 | ||
| secrets: | ||
| - source: root-cert | ||
| target: certs/scenescape-ca.pem | ||
|
|
@@ -299,7 +282,7 @@ services: | |
| restart: on-failure:5 | ||
|
|
||
| scene: | ||
| image: docker.io/intel/scenescape-controller:v1.4.0 | ||
| image: ghcr.io/open-edge-platform/edge-ai-libraries/intel/scenescape-controller:2025.2-rc2 | ||
| init: true | ||
| environment: | ||
| - http_proxy=${http_proxy} | ||
|
|
@@ -308,19 +291,31 @@ services: | |
| - NO_PROXY=${no_proxy},.scenescape.intel.com,influxdb2 | ||
| - HTTP_PROXY=${http_proxy} | ||
| - HTTPS_PROXY=${https_proxy} | ||
| - CONTROLLER_ENABLE_METRICS | ||
| - CONTROLLER_METRICS_ENDPOINT | ||
| - CONTROLLER_METRICS_EXPORT_INTERVAL_S | ||
| - CONTROLLER_ENABLE_TRACING | ||
| - CONTROLLER_TRACING_ENDPOINT | ||
| - CONTROLLER_TRACING_SAMPLE_RATIO | ||
| networks: | ||
| scenescape: | ||
| configs: | ||
| - source: tracker-config | ||
| target: /home/scenescape/SceneScape/tracker-config.json | ||
| depends_on: | ||
| web: | ||
| condition: service_healthy | ||
| broker: | ||
| condition: service_started | ||
| ntpserver: | ||
| condition: service_started | ||
| command: controller --broker broker.scenescape.intel.com --ntp ntpserv | ||
| command: > | ||
| --restauth /run/secrets/controller.auth | ||
| --brokerauth /run/secrets/controller.auth | ||
| --broker broker.scenescape.intel.com | ||
| --ntp ntpserv | ||
| volumes: | ||
| - pgserver-media:/home/scenescape/SceneScape/media | ||
| - ./${SAMPLE_APP}/src/controller/tracker-config.json:/home/scenescape/SceneScape/tracker-config.json | ||
| secrets: | ||
| - source: root-cert | ||
| target: certs/scenescape-ca.pem | ||
|
|
@@ -381,6 +376,14 @@ secrets: | |
| supass: | ||
| file: ./${SAMPLE_APP}/src/secrets/supass | ||
|
|
||
| configs: | ||
| mosquitto-secure: | ||
| file: ./${SAMPLE_APP}/src/mosquitto/mosquitto-secure.conf | ||
| tracker-config: | ||
| # Use this configuration file to run tracking with time-chunking enabled | ||
| # file: ./controller/config/tracker-config-time-chunking.json | ||
| file: ./${SAMPLE_APP}/src/controller/tracker-config.json | ||
|
|
||
| volumes: | ||
| dlstreamer-pipeline-server-pipeline-root: | ||
| driver: local | ||
|
|
@@ -398,3 +401,4 @@ volumes: | |
| pgserver-db: | ||
| pgserver-migrations: | ||
| pgserver-media: | ||
| sample-data: | ||
1 change: 1 addition & 0 deletions
1
metro-ai-suite/metro-vision-ai-app-recipe/smart-intersection/.gitignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The creation of this environment variable either needs to be moved to install script where
.envfile gets populated with this value or documentation needs to be updated saying user needs to exportsupasswith a value.I believe the creation of
/src/secrets/supassis no longer necessary as this file is no longer supplied as a secret anywhere.Previously it was supplied as a secret to manager and the createDB init was run with the value being read from the file
SUPASS=$(cat /run/secrets/supass) /usr/local/bin/scenescape-init database --preloadexamplebut this is not the case anymore of how it's done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix when migrating to rc3