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

Add inputs and cron job for Docker builds #597

Merged
merged 11 commits into from
Jan 22, 2024
Merged

Conversation

vincentmr
Copy link
Contributor

@vincentmr vincentmr commented Jan 19, 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:

Description of the Change:
We introduce inputs in the Docker build workflow to enable control on the PennyLane-Lightning version and push to Docker Hub. We also introduce a cron job to prevent drifting of the Docker builds across releases.

Will look like
Screenshot from 2024-01-22 08-25-27

Benefits:
Possible to manual trigger a workflow without pushing to Docker Hub.
Test periodically that Docker builds still proceed without error to prevent last minute bug fix around releases.

Possible Drawbacks:

Related GitHub Issues:

@vincentmr vincentmr marked this pull request as ready for review January 19, 2024 23:09
@vincentmr vincentmr requested a review from a team January 19, 2024 23:09
Copy link

codecov bot commented Jan 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (39cffac) 98.67% compared to head (3cbb7b2) 98.67%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #597   +/-   ##
=======================================
  Coverage   98.67%   98.67%           
=======================================
  Files         169      169           
  Lines       24308    24308           
=======================================
  Hits        23985    23985           
  Misses        323      323           

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

@vincentmr vincentmr changed the title Add cron job for docker. Add inputs and cron job for Docker builds Jan 19, 2024
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.

👍

@vincentmr vincentmr merged commit 415b95b into master Jan 22, 2024
84 checks passed
@vincentmr vincentmr deleted the ci/docker_inputs branch January 22, 2024 17:28
@vincentmr
Copy link
Contributor Author

@vincentmr
Copy link
Contributor Author

Build test and push docker images from CI [sc-49050]

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