Skip to content
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

fix(ci): don't use pre-filled JANA_PLUGIN_PATH with EICrecon plugins #942

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

wdconinc
Copy link
Contributor

Briefly, what does this PR introduce?

JANA_PLUGIN_PATH in eic-shell (and therefore CI environments) is prepopulated with /usr/local/lib/EICrecon/plugins:/usr/local/plugins. This means that removing (intentionally or otherwise) a plugin in a PR will still cause it to be found in /usr/local/lib/EICrecon/plugins. We need /usr/local/plugins though, because that contains the janadot plugin to create callgraphs.

There's an issue reported to JANA2 (JeffersonLab/JANA2#136) that points out that installing plugins in a shared namespace at /usr/local/plugins may lead to issues and does not conform to the linux FHS. But at least EICrecon plugins are not installed there, otherwise we would have exactly this issue.

What kind of change does this PR introduce?

  • Bug fix (issues, potentially)
  • New feature (issue #__)
  • Documentation update
  • Other: __

Please check if this PR fulfills the following:

  • Tests for the changes have been added
  • Documentation has been added / updated
  • Changes have been communicated to collaborators

Does this PR introduce breaking changes? What changes might users need to make to their code?

No.

Does this PR change default behavior?

No.

@wdconinc
Copy link
Contributor Author

This will avoid mistakes like https://github.com/eic/EICrecon/actions/runs/6137527478/job/16653814205?pr=940#step:5:126 sneaking through without failures.

@wdconinc wdconinc temporarily deployed to github-pages September 10, 2023 21:09 — with GitHub Actions Inactive
@wdconinc wdconinc added this pull request to the merge queue Sep 11, 2023
Copy link
Member

@veprbl veprbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense.

Merged via the queue into main with commit 67ccc18 Sep 11, 2023
92 checks passed
@wdconinc wdconinc deleted the avoid-jana-plugin-path branch September 11, 2023 17:10
github-merge-queue bot pushed a commit that referenced this pull request Sep 15, 2023
### Briefly, what does this PR introduce?
Allow to create shared instead of static algorithms libraries, and allow
skipping the creation of an algorithms plugin.

Depends on:
- [x] #942 (cherry-picked)
- [x] #938 (cherry-picked)

### What kind of change does this PR introduce?
- [x] Bug fix (issue #628 again)
- [ ] New feature (issue #__)
- [ ] Documentation update
- [ ] Other: __

### Please check if this PR fulfills the following:
- [ ] Tests for the changes have been added
- [ ] Documentation has been added / updated
- [ ] Changes have been communicated to collaborators

### Does this PR introduce breaking changes? What changes might users
need to make to their code?
No.

### Does this PR change default behavior?
No.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants