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

docker: podman-friendly image locations #8

Merged
merged 2 commits into from
Aug 24, 2023

Conversation

tiborsimko
Copy link
Member

Adds fully qualified canonical locations of container images, making the container technology setup podman-friendly.

Closes reanahub/reana#729.

Copy link
Member

@mdonadoni mdonadoni left a comment

Choose a reason for hiding this comment

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

LGTM! A new release of reana-client is needed to make the CI partially pass, but still haven't investigated why local run fails

@tiborsimko
Copy link
Member Author

tiborsimko commented Aug 10, 2023

still haven't investigated why local run fails

It could be due to open data downloading problems perhaps? (Edit: indeed, the CI logs say "E-TFile::Init: file ./data/AliESDs.root is truncated at 22189816 bytes: should be 376822741, trying to recover".)

Just tried to run the same docker run ... instructions locally, and everything seems to work (modulo entrypoint-related warnings). So we could force rerunning the test and see...

docker run -i --rm -v `pwd`:/workdir reanahub/reana-env-aliphysics:vAN-20180614-1 bash -c "; cd /workdir && mkdir -p ./data && curl -fsS --retry 9 -o ./data/AliESDs.root http://opendata.cern.ch/record/1102/files/assets/alice/2010/LHC10h/000139038/ESD/0003/AliESDs.root && source ./fix-env.sh && (root -b -q './runEx01.C' | tee run.log) && source ./fix-env.sh && (root -b -q './plot.C' | tee plot.log)"

Fixes CI procedures that often fail due to file transfer troubles:

```
E-TFile::Init: file ./data/AliESDs.root is truncated at 143108667 bytes: should be 376822741, trying to recover
```

The docker build test run is now executed using much smaller input file.
(Only in the CI; in the README we keep "proper" larger demo file.)
Adds fully qualified canonical locations of container images, making the
container technology setup podman-friendly.

Closes reanahub/reana#729.
@tiborsimko tiborsimko merged commit 2685864 into reanahub:master Aug 24, 2023
2 checks passed
@tiborsimko tiborsimko deleted the podman-friendly branch August 24, 2023 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

installation: allow using rootless podman
2 participants