feat: Add single-container package image#2300
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Note Unit test generation is a public access feature. Expect some limitations and changes as we gather feedback and continue to improve it. Generating unit tests... This may take up to 20 minutes. |
|
Request timed out after 900000ms (requestId=ed71da14-2acd-4d60-a334-e72ad8bd9706) |
df63036 to
00d3eac
Compare
Description
Adds a single-container package image build path for local validation and demo deployments:
task package-single-image,docker-images:package-single, andtools/deployment/package/build-single-image.sh.tools/deployment/package/Dockerfile.singleandrun-single-container.sh.supervisord.python3 -m clp_py_utils.create-db-tables, and results-cache setup usespython3 -m clp_py_utils.initialize-results-cache.The only remaining entrypoint DB bootstrap is the minimum first-run MariaDB database/user setup that the upstream MariaDB container entrypoint normally performs before the CLP Python DB initialization modules can connect.
Checklist
Validation performed
bash -n tools/deployment/package/single-container/entrypoint.sh tools/deployment/package/single-container/wait-for-files.sh tools/deployment/package/single-container/wait-for-tcp.sh tools/deployment/package/build-single-image.sh tools/deployment/package/run-single-container.sh tools/docker-images/clp-package/build.shgit diff --checktools/deployment/package/single-container/supervisord.confwith Pythonconfigparser.clp-package-single:latestwithtools/deployment/package/build-single-image.sh.~/samples/bigmounted at/mnt/logs.supervisorctl status: all long-running services wereRUNNING;db-table-creatorandresults-cache-indices-creatorexited successfully.GET /healthreturnedAPI server is running; WebUI returned HTTP 200.authenticate_user clp-user passsucceeded, RedisPINGreturnedPONG./spark-event-logs-1through the WebUI/API flow into datasetspark_validation3: compression job 3 completed with 8/8 tasks, 2,126,027,157 uncompressed bytes and 37,785,117 compressed bytes.SparkListenerLogStartreturned 6,512 results andSparkListenerTaskEndreturned 293,947 results.