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 release tracking to project automation scripts #17001

Merged

Conversation

jarmak-nv
Copy link
Contributor

Description

This PR adds two new jobs to the project automations. One to extract the version number from the branch name, and one to set the project Release field to the version found.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@jarmak-nv jarmak-nv requested a review from a team as a code owner October 4, 2024 17:58
@jarmak-nv jarmak-nv requested a review from AyodeAwe October 4, 2024 17:58
@jarmak-nv jarmak-nv added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Oct 4, 2024
@jarmak-nv jarmak-nv requested a review from vyasr October 4, 2024 17:58
Copy link
Contributor

@vyasr vyasr left a comment

Choose a reason for hiding this comment

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

This looks awesome, thanks!

Comment on lines +86 to +87
PROJECT_ID: "PVT_kwDOAp2shc4AiNzl"
SINGLE_SELECT_FIELD_ID: "PVTSSF_lADOAp2shc4AiNzlzgg52UQ"
Copy link
Contributor

Choose a reason for hiding this comment

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

Where do you find this information?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You have to do a graphQL query to get it since there's no visible way to get it - somewhat frustrating design. I have a notebook that I need to publish somewhere that runs queries to get the project ID + all field IDs + all option IDs.

I hard code them since they're static and this way we use less API calls, which are somewhat obfuscated with graphQL so I like to minimize them.

@vyasr
Copy link
Contributor

vyasr commented Oct 7, 2024

/merge

@rapids-bot rapids-bot bot merged commit f926a61 into rapidsai:branch-24.12 Oct 7, 2024
100 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants