-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add artifacts with EDM4hep files #353
Conversation
Example EDM4hep files can be obtained from the Continuous Integration (CI) | ||
workflows. From the EDM4hep github page, go to Actions -> Key4hep build, click | ||
one of the runs (the latest scheduled is preferred) and they will appear at the | ||
bottom, under Artifacts. |
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.
Are these publicly visible in the end?
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.
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.
nice :) Thanks for checking.
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.
Very nice. Thanks!
Do I understand correctly that with Also what is the retention policy for artifacts? |
Not entirely sure. I seem to remember that some workflows also fail if they try to overwrite artifacts from another matrix job. But that might be configurable. The retention policy can be configured as well. I think the default is 90 days. |
Yes, that is what would happen. This could be changed, but since we don't expect differences for different OSes or compilers if we wanted to check if they are different this should be done somewhere else. |
To be more complete. It would be nice to create files with both TTree and RNTuple. |
Yes, this is what will happen once this PR is merged. If there aren't any more comments I'll merge this today. |
and add explanations in the README.
See https://github.com/key4hep/EDM4hep/actions/runs/10664951162 as an example, there will be a zip with a TTree file and a RNTuple file. |
Sorry @jmcarcell. Another problem.
These two statements have no effect. See the TBrowser output: |
Looks like another capitalization typo, should be |
Yeah, unfortunately using EDM4hep from Python has several caveats like it's possible to set any attribute even if it doesn't actually exist. |
BEGINRELEASENOTES
ENDRELEASENOTES
The artifacts have been added in this file https://github.com/key4hep/key4hep-actions/blob/main/key4hep-build/action.yml that will have to be changed once the new names here are used. With the last runs there are already some files (TTree being uploaded): https://github.com/key4hep/EDM4hep/actions/runs/10575395035. Since the Key4hep build workflow runs every day, this means new files every day with the latest nightlies (this is why I say latest scheduled is preferred since pull requests will also generate these files).
Tagging @peremato