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

Split release and source dockerfile #1178

Conversation

JuanPedroGHM
Copy link
Member

@JuanPedroGHM JuanPedroGHM commented Jul 10, 2023

Description

Original purpose: Github action runners became incapable of building the heat docker file with the nvidia container, so a solution had to be found. This remains to be fixed, but the split Dockerfile and example scripts should alleviate some of the hurdles in building/running containers for users.

Additionally, removed any specific heat version number from the documentation, scripts and Dockerfiles.

Issue/s resolved: #1168, #1254

Changes proposed:

  • Split docker file for release and source
  • Default argument of Dockerfile.release changed from "1.3.0" to "latest"
  • Default argument of docker.yml changed from "1.3.0" to "latest"
  • Updated documentation to reflect changes
  • Example script to build and upload a new container to ghcr registry
  • Example slurm/enroot setup to run heat tests inside a container

Due Diligence

  • All split configurations tested
  • Multiple dtypes tested in relevant functions
  • Documentation updated (if needed)
  • Title of PR is suitable for corresponding CHANGELOG entry

Does this change modify the behavior of other functions? If so, which?

no

@JuanPedroGHM JuanPedroGHM linked an issue Jul 10, 2023 that may be closed by this pull request
@ghost
Copy link

ghost commented Jul 10, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@github-actions
Copy link
Contributor

Thank you for the PR!

@github-actions
Copy link
Contributor

Thank you for the PR!

@codecov
Copy link

codecov bot commented Jul 10, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f62e2b1) 91.83% compared to head (89e73f0) 91.83%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1178   +/-   ##
=======================================
  Coverage   91.83%   91.83%           
=======================================
  Files          77       77           
  Lines       11191    11191           
=======================================
  Hits        10277    10277           
  Misses        914      914           
Flag Coverage Δ
unit 91.83% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions
Copy link
Contributor

Thank you for the PR!

1 similar comment
@github-actions
Copy link
Contributor

Thank you for the PR!

@github-actions
Copy link
Contributor

Thank you for the PR!

1 similar comment
@github-actions
Copy link
Contributor

Thank you for the PR!

@JuanPedroGHM JuanPedroGHM force-pushed the fix/1168-update-docker-image-and-documentation-on-release13x-and-main branch from 9826dfa to e046708 Compare July 13, 2023 12:57
@github-actions
Copy link
Contributor

Thank you for the PR!

@github-actions
Copy link
Contributor

Thank you for the PR!

@github-actions
Copy link
Contributor

Thank you for the PR!

Copy link
Contributor

Thank you for the PR!

1 similar comment
Copy link
Contributor

Thank you for the PR!

@JuanPedroGHM JuanPedroGHM marked this pull request as ready for review October 31, 2023 14:07
@JuanPedroGHM JuanPedroGHM added the documentation Anything related to documentation label Oct 31, 2023
Copy link
Contributor

github-actions bot commented Nov 6, 2023

Thank you for the PR!

@mtar mtar removed the PR talk label Nov 6, 2023
@mtar mtar requested a review from bhagemeier November 9, 2023 12:00
Copy link
Member

@bhagemeier bhagemeier left a comment

Choose a reason for hiding this comment

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

Please check my comment regarding the documentation.

docker/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

Thank you for the PR!

Copy link
Contributor

Thank you for the PR!

The copy of tzdata was originally intended to be used from the root
of the repository. The documentation states building docker images
from the docker directory. This had to be aligned.

Moreover, each RUN line in a Dockerfile represents the building of
another intermediate image. This has to be taken into account when
writing the files. Commands such as "cd" will not work on separate
lines.
Copy link
Contributor

Thank you for the PR!

@bhagemeier bhagemeier merged commit 1263887 into main Nov 21, 2023
9 checks passed
@mtar mtar deleted the fix/1168-update-docker-image-and-documentation-on-release13x-and-main branch February 28, 2024 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Anything related to documentation interoperability PR talk
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update docker image and documentation on release/1.3.x and main
5 participants