Amogan/test daq buildtools workflow#336
Merged
Merged
Conversation
…into amogan/test_daq_buildtools_workflow
13 tasks
13 tasks
jcfreeman2
approved these changes
Feb 25, 2026
Collaborator
jcfreeman2
left a comment
There was a problem hiding this comment.
Approved. Using the johnfreeman/test_daq_buildtools_workflow branch I confirmed the workflow was triggered and executed correctly. For good measure, I sabotaged dbt-build and saw the workflow triggered and then fail. There was a workflow which triggered and then seemed to stall when the container was spun up (https://github.com/DUNE-DAQ/daq-buildtools/actions/runs/22413586275) but that seems like a GitHub and/or docker issue as opposed to any issue with the Workflow itself.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
This PR moves the script
test_daq-buildtools.sh, currently housed indaq-release, intodaq-buildtoolsand adds a workflow to runtest_daq-buildtools.shon pull request. Due to security risks of running code from a pull request, this workflow runs onubuntu-latestin our nightly build container. Note that this container doesn't includellvmorlcov(and shouldn't), so I've modifiedtest_daq-buildtools.shto only rundbt-build --lint, dbt-clang-format.sh, anddbt-lcov.sh` if the necessary packages are installed.To test, you can fork a branch off of
amogan/test_daq_buildtools_workflowand make some arbitrary modifications, including a trigger on pull request toamogan/test_daq_buildtools_workflow. For example, I created a branch calledamogan/test_pull_request_triggerand modifiedtest_daq_buildtools.ymlto includeI then opened a pull request from
amogan/test_pull_request_triggertargetingamogan/test_daq_buildtools_workflow, which actuated the workflow. See #338 (not to be merged/reviewed).Post-Merge Wrap-up
Once we've ascertained that this workflow performs as expected,
test_daq-buildtools.shshould be removed fromdaq-releaseto avoid drift. This means that the nightly dbt regression test workflow indaq-releasewill need to be modified to checkoutdaq-buildtoolsand runtest_daq-buildtools.shfrom there. I'll also need to close #338 without merging.Type of change
Testing checklist
dbt-build --unittest)pytest -s minimal_system_quick_test.py)daqsystemtest_integtest_bundle.sh)python -m pytest)pre-commit run --all-files)Comments here on the testing
Further checks
dbt-build --lint, and/or see https://dune-daq-sw.readthedocs.io/en/latest/packages/styleguide/)(Indicate issue here: # (issue))