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

[WIP] Start GHA workflow to publish to release channel #56

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jakirkham
Copy link
Member

Creates a new custom workflow that runs after conda-build finishes if it is on the main branch. The idea being this will copy the packages from rapidsai-nightly to rapidsai. This does not happen for other branches than main (so branch-YY.MM would be excluded and only publish to the nightly channel). This would help automate the final step to get XGBoost packages onto the rapidsai channel.

Creates a new custom workflow that runs after conda-build finishes if it
is on the `main` branch. The idea being this will copy the packages from
`rapidsai-nightly` to `rapidsai`. This does not happen for other
branches than `main` (so `branch-YY.MM` would be excluded and only
publish to the nightly channel). This would help automate the final step
to get XGBoost packages onto the `rapidsai` channel.
Comment on lines +34 to +39
# Copy over packages
VERSION=2.0.3
conda server copy --to-owner rapidsai rapidsai-nightly/libxgboost/$VERSION
conda server copy --to-owner rapidsai rapidsai-nightly/py-xgboost/$VERSION
conda server copy --to-owner rapidsai rapidsai-nightly/r-xgboost/$VERSION
conda server copy --to-owner rapidsai rapidsai-nightly/xgboost/$VERSION
Copy link
Member Author

Choose a reason for hiding this comment

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

This is a stub that would need to be filled out more correctly to handle the copying

For example it could query conda build --output or we could use conda search to pick up the most recent packages and copy those

@jakirkham
Copy link
Member Author

jakirkham commented Apr 18, 2024

Another option related to this one we might consider is to disable uploads and switch to GHA artifact retention like we used during testing ( #3 ). Started that approach in PR ( #58 )

Then we could use this new workflow to handle whether packages are uploaded from GHA artifact retention to rapidsai-nightly or rapidsai. We could then purge the artifacts once the upload was complete. Maybe an action like download-workflow-artifact would come in handy for this

@jakirkham
Copy link
Member Author

@raydouglass @hcho3 maybe this could be an approach to smooth out the release process hiccup identified earlier

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.

1 participant