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 #730

Merged
merged 2 commits into from
Aug 10, 2023

Conversation

tiborsimko
Copy link
Member

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

Amends cluster creation scripts to support either Docker or Podman container technologies based on docker version information.

Closes #729.

@codecov-commenter
Copy link

codecov-commenter commented Jul 13, 2023

Codecov Report

Merging #730 (9af21ae) into master (bb0b1a1) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

❗ Current head 9af21ae differs from pull request most recent head e0c0138. Consider uploading reports for the commit e0c0138 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #730      +/-   ##
==========================================
- Coverage   18.90%   18.87%   -0.04%     
==========================================
  Files          26       26              
  Lines        2195     2199       +4     
==========================================
  Hits          415      415              
- Misses       1780     1784       +4     
Files Changed Coverage Δ
reana/config.py 100.00% <ø> (ø)
reana/reana_dev/cluster.py 0.00% <0.00%> (ø)
reana/reana_dev/docker.py 0.00% <0.00%> (ø)
reana/reana_dev/kind.py 0.00% <0.00%> (ø)

@tiborsimko tiborsimko force-pushed the podman-friendly branch 2 times, most recently from 13a0bd5 to cea49fc Compare July 13, 2023 20:18
@tiborsimko tiborsimko force-pushed the podman-friendly branch 4 times, most recently from 0203a3d to e9a7028 Compare August 7, 2023 16:30
default:
base: auto
target: auto
threshold: 2%
Copy link
Member Author

Choose a reason for hiding this comment

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

@mdonadoni Changes to code coverage settings were necessary due to codecov updates. The values above are one possibility how to make CI pass and yet encourage some code coverage. Let's discuss IRL tomorrow what targets and thresholds we would like to aim at.

Adds desired targets and threshold values for code coverage tests in
pull requests.

Removes custom code coverage range to fall back to codecov defaults.
Adds fully qualified canonical locations of container images, making the
container technology setup podman-friendly.

Amends cluster creation scripts to support either Docker or Podman
container technologies based on `docker version` information.

Closes reanahub#729.
@tiborsimko
Copy link
Member Author

tiborsimko commented Aug 8, 2023

(1) The 34 PR set is finished and the tests are passing with Podman:

$ reana-dev run-ci -m /var/reana:/var/reana -c r-d-r-roofit --admin-email xxx --admin-password yyy

...

$ reana-dev run-example -c DEMO --submit-only

...

$ reana-dev run-example -c DEMO --check-only
...
Test matrix:
  - 9 demo example(s): reana-demo-alice-lego-train-test-run, reana-demo-alice-pt-analysis, reana-demo-atlas-recast, reana-demo-bsm-search, reana-demo-cms-dimuon-mass-spectrum, reana-demo-cms-h4l, reana-demo-helloworld, reana-demo-root6-roofit, reana-demo-worldpopulation
  - 4 workflow engine(s): cwl, serial, snakemake, yadage
  - 1 compute backend(s): kubernetes

Test results:
  - 18 submitted: alice-lego-train-test-run-serial-kubernetes, alice-pt-analysis-serial-kubernetes, atlas-recast-yadage-kubernetes, bsm-search-yadage-kubernetes, cms-dimuon-mass-spectrum-serial-kubernetes, cms-h4l-snakemake-kubernetes, helloworld-cwl-kubernetes, helloworld-serial-kubernetes, helloworld-snakemake-kubernetes, helloworld-yadage-kubernetes, root6-roofit-cwl-kubernetes, root6-roofit-serial-kubernetes, root6-roofit-snakemake-kubernetes, root6-roofit-yadage-kubernetes, worldpopulation-cwl-kubernetes, worldpopulation-serial-kubernetes, worldpopulation-snakemake-kubernetes, worldpopulation-yadage-kubernetes
  - 0 running
  - 0 pending
  - 0 queued
  - 18 passed
  - 0 failed

OK

Going to test with Docker later this evening...

(2) Check out the full PR set by using:

reana-dev git-fetch -c ALL
reana-dev git-checkout-pr \
    -b blog.reana.io 37 \
    -b docs.reana.io 175 \
    -b pytest-reana 108 \
    -b reana 730 \
    -b reana-auth-krb5 9 \
    -b reana-auth-rucio 4 \
    -b reana-auth-vomsproxy 18 \
    -b reana-client 661 \
    -b reana-client-go 145 \
    -b reana-commons 404 \
    -b reana-db 197 \
    -b reana-demo-alice-lego-train-test-run 22 \
    -b reana-demo-alice-pt-analysis 8 \
    -b reana-demo-atlas-recast 44 \
    -b reana-demo-bsm-search 28 \
    -b reana-demo-cdci-crab-pulsar-integral-verification 11 \
    -b reana-demo-cms-dimuon-mass-spectrum 12 \
    -b reana-demo-cms-h4l 23 \
    -b reana-demo-cms-reco 29 \
    -b reana-demo-helloworld 62 \
    -b reana-demo-lhcb-d2pimumu 13 \
    -b reana-demo-root6-roofit 63 \
    -b reana-demo-worldpopulation 53 \
    -b reana-env-aliphysics 6 \
    -b reana-env-jupyter 13 \
    -b reana-env-root6 17 \
    -b reana-job-controller 392 \
    -b reana-message-broker 52 \
    -b reana-server 604 \
    -b reana-ui 336 \
    -b reana-workflow-controller 513 \
    -b reana-workflow-engine-cwl 241 \
    -b reana-workflow-engine-serial 178 \
    -b reana-workflow-engine-snakemake 58 \
    -b reana-workflow-engine-yadage 240 \
    -b www.reana.io 77

(3) Run the usual run-ci test with Docker, and everything worked well.

@mdonadoni mdonadoni merged commit e0c0138 into reanahub:master Aug 10, 2023
11 checks passed
@tiborsimko tiborsimko deleted the podman-friendly branch August 10, 2023 15:21
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
3 participants