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

Dynamic notebooks sync workflow #705

Conversation

ChristianZaccaria
Copy link
Collaborator

@ChristianZaccaria ChristianZaccaria commented Oct 9, 2024

Issue link

Related Jira: https://issues.redhat.com/browse/RHOAIENG-14201
Jira: https://issues.redhat.com/browse/RHOAIENG-14203

What changes have been made

With this change, we can dispatch the notebooks sync workflow by also providing the specific python version and target branch name, i.e., release-2024a for Notebooks with py3.9.

Additionally, pipenv version has been pinned to use version 2024.0.3 as latest version 2024.1.0 seems to break the workflow. I added a TODO to retry on later major/minor versions of pipenv once available.

Verification steps

Workflow run for py3.9: https://github.com/project-codeflare/codeflare-sdk/actions/runs/11324720561
Generated PR for py3.9 in my fork: ChristianZaccaria/notebooks#3
Workflow run for py3.11: https://github.com/project-codeflare/codeflare-sdk/actions/runs/11325885485/job/31493695580
Generated PR for py3.11 in my fork: ChristianZaccaria/notebooks#4

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • Testing is not required for this change

Copy link

codecov bot commented Oct 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.99%. Comparing base (b90d5d6) to head (026a326).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #705   +/-   ##
=======================================
  Coverage   93.99%   93.99%           
=======================================
  Files          36       36           
  Lines        2364     2364           
=======================================
  Hits         2222     2222           
  Misses        142      142           

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

@ChristianZaccaria
Copy link
Collaborator Author

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 9, 2024
Copy link
Contributor

@Bobbins228 Bobbins228 left a comment

Choose a reason for hiding this comment

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

This lgtm but are you currently testing a 3.11 wf?
I don't see it in the description

@ChristianZaccaria
Copy link
Collaborator Author

@Bobbins228 yes, I was testing for py3.11. I added the workflow run and PR generated for that now. Thanks!

@ChristianZaccaria ChristianZaccaria removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 14, 2024
Copy link
Contributor

@Bobbins228 Bobbins228 left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 14, 2024
Copy link
Contributor

openshift-ci bot commented Oct 14, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: KPostOffice, Ygnas

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 14, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 7c04444 into project-codeflare:main Oct 15, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants