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] Add GHA upload workflow to publish packages #58

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

jakirkham
Copy link
Member

As RAPIDS has its own upload process that differs from conda-forge in some particular ways, we just disable the conda-forge upload logic altogether. Additional we enable GHA artifact storage. This way preserve the artifacts from the conda-build jobs somehow. There are just preserved on GHA instead of being uploaded to Anaconda.org.

Here we add a new workflow to allow RAPIDS to handle uploads itself. This way any upload strategy can be specified. Also if the upload process changes in the future, this workflow can be updated to align with that process. Lastly conda-smithy doesn't touch this custom workflow file, so it will be unaltered by regular conda-smithy re-rendering operations.

@jakirkham
Copy link
Member Author

Put a stub for the upload workflow in PR ( #59 ), which is now merged

This was needed as workflow_run will only be run on workflows already in the default branch

Hopefully now we can run CI here to see the upload workflows behavior and further develop it with CI feedback

@jakirkham jakirkham force-pushed the jakirkham/add_gha_upload_wrkfl branch from e2cec49 to e7778f7 Compare April 19, 2024 01:07
Drop branch selection from GitHub Actions builds. That way all branches
can build packages equally.
To keep GHA artifacts more manageable (given our upload process will now
depend on creating new artifacts regularly), reduce retention from 7
days to 3 days. This should help cleanup artifacts regularly while not
being overly burdensome for testing and debugging. Individual PRs can
always adjust this parameter and re-render to change if needed.
As RAPIDS has its own upload process that differs from conda-forge in
some particular ways, we just disable the conda-forge upload logic
altogether in the prior commits. Additional we enable GHA artifact
storage. This way preserve the artifacts from the conda-build jobs
somehow. There are just preserved on GHA instead of being uploaded to
Anaconda.org.

Here we add a new workflow to allow RAPIDS to handle uploads itself.
This way any upload strategy can be specified. Also if the upload
process changes in the future, this workflow can be updated to align
with that process. Lastly conda-smithy doesn't touch this custom
workflow file, so it will be unaltered by regular conda-smithy
re-rendering operations.
@jakirkham jakirkham force-pushed the jakirkham/add_gha_upload_wrkfl branch from e7778f7 to a12fbf3 Compare April 19, 2024 06:18
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