-
Notifications
You must be signed in to change notification settings - Fork 3
Add integration tests to new simtools-prod image #1955
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
base: image-building-prod
Are you sure you want to change the base?
Conversation
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.
Pull request overview
This PR enables integration testing for the simtools-prod Docker image by making the CI-integrationtests.yml workflow reusable and calling it from the build-simtools-prod.yml workflow. The implementation tests only the no_opt (non-AVX optimized) image variant, simplifies the environment configuration process, and adds support for downloading QGSjet tables that are not included in production images.
Key Changes:
- Made CI-integrationtests.yml reusable via
workflow_calltrigger with configurable container image and model versions - Added integration test execution to build-simtools-prod.yml workflow that runs after image build completes
- Simplified and refactored environment variable setup in integration tests by sourcing .env_template directly
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 9 comments.
| File | Description |
|---|---|
| docs/changes/1955.feature.md | Changelog entry documenting the new integration test capability for production images |
| docker/Dockerfile-simtools-prod | Added bzip2 package to support decompression of QGSjet tables during testing |
| .github/workflows/build-simtools-prod.yml | Added job outputs for no_opt tag, enabled PR builds, and integrated test-simtools-prod job calling CI-integrationtests.yml |
| .github/workflows/CI-integrationtests.yml | Converted workflow to support workflow_call trigger, added conditional logic for prod vs dev containers, simplified environment setup, and added QGSjet download step for prod images |
|




Review after merge of #1954
Add integration tests to new simtools production image.
no_optimage only (as there is no functionality to request a certain AVX CPU in the CI)Check this CI workflow for a typical build and test procedure.