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

All tags allowed for LIGHTNING_VERSION Docker build argument. #598

Merged
merged 4 commits into from
Jan 24, 2024

Conversation

vincentmr
Copy link
Contributor

@vincentmr vincentmr commented Jan 23, 2024

Before submitting

Please complete the following checklist when submitting a PR:

  • All new features must include a unit test.
    If you've fixed a bug or added code that should be tested, add a test to the
    tests directory!

  • All new functions and code must be clearly commented and documented.
    If you do make documentation changes, make sure that the docs build and
    render correctly by running make docs.

  • Ensure that the test suite passes, by running make test.

  • Add a new entry to the .github/CHANGELOG.md file, summarizing the
    change, and including a link back to the PR.

  • Ensure that code is properly formatted by running make format.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.


Context:
The way our Dockerfile is setup prevent building against anything else than official releases. It can be convenient to rebuild against some branches, tags, etc. and hence this PR introduces flexibility in the LIGHTNING_VERSION build argument.

Description of the Change:
I also added a cron job building all images for master to track any regression in the Docker builds.

Benefits:

Possible Drawbacks:

Related GitHub Issues:

@vincentmr vincentmr changed the title Improve LIGHTNING_VERSION Docker build argument. All tags allowed for LIGHTNING_VERSION Docker build argument. Jan 23, 2024
@vincentmr vincentmr marked this pull request as ready for review January 23, 2024 13:19
Copy link

codecov bot commented Jan 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (415b95b) 98.96% compared to head (1f16ef2) 98.67%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #598      +/-   ##
==========================================
- Coverage   98.96%   98.67%   -0.30%     
==========================================
  Files         169      169              
  Lines       24308    24308              
==========================================
- Hits        24056    23985      -71     
- Misses        252      323      +71     

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

@vincentmr
Copy link
Contributor Author

@vincentmr vincentmr requested review from mlxd, AmintorDusko and a team January 23, 2024 14:00
Copy link
Member

@mlxd mlxd left a comment

Choose a reason for hiding this comment

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

Thanks @vincentmr
Nothing to add 👍

Copy link
Contributor

@AmintorDusko AmintorDusko left a comment

Choose a reason for hiding this comment

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

Thank you for that!

@vincentmr vincentmr merged commit ff34173 into master Jan 24, 2024
83 of 84 checks passed
@vincentmr vincentmr deleted the ci/update_docker_cron branch January 24, 2024 15:15
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.

3 participants