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

ci: test GitHub Actions for auto-release #339

Merged
merged 3 commits into from
Apr 16, 2022

Conversation

fanshi118
Copy link
Contributor

I was testing the auto-release features using GitHub Actions, taken from this issue . Building dask-gateway went okay; however, I ran into an error while running python build_tools/build_manylinux.py in building dask-gateway-server. There seemed to be an issue with running the docker command in the script . Would be awesome to get some feedback on this!

@fanshi118 fanshi118 marked this pull request as ready for review October 19, 2020 16:57
@fanshi118
Copy link
Contributor Author

As an update to the above, I was able to run build_tools/build_manylinux.py in GitHub Actions and build dask-gateway-server by removing the -it at line 45 in the script. @jcrist : think this may have resolved the first half of #296

@dgerlanc
Copy link

@jcrist Any way we can help to get this merged in? Would be great to have a new release with all recent updates.

Copy link
Member

@jacobtomlinson jacobtomlinson left a comment

Choose a reason for hiding this comment

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

A few comments

.github/workflows/pypi.yml Outdated Show resolved Hide resolved
.github/workflows/pypi.yml Show resolved Hide resolved
Comment on lines +3 to +6
push:
branches:
- master
- auto-release
Copy link
Member

Choose a reason for hiding this comment

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

Do we want this to run on every merge to master? And what is the auto-release branch?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

auto-release is a branch I made in my fork. I was testing the feasibility of this auto-release workflow, so made it run on every merge to master.

Copy link
Member

Choose a reason for hiding this comment

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

Ok sure. That will need removing before merging though.

@fanshi118
Copy link
Contributor Author

@jacobtomlinson - Actually there are two parts of this workflow. One is to build the artifacts and upload them to GitHub (like here), and the other to upload the package to PyPI. The current way we set it up is to run the first part for every merge to master - that is, rebuild the artifacts for every change made to the main/production branch. The second part, upload to PyPI, will only be triggered if a new tag is pushed. Trying to tie this back to the original issue , do we not want the artifacts for this and only push releases for every new tag?

@jacobtomlinson
Copy link
Member

@fanshi118 that makes sense. I can't comment on whether artifacts are desired on every commit to master. Perhaps @jcrist can weigh in?

Base automatically changed from master to main March 9, 2021 16:58
@aktech
Copy link
Contributor

aktech commented Jul 30, 2021

@fanshi118 @jacobtomlinson Is there much left to do in here? Is there anything I can help with?

@jacobtomlinson
Copy link
Member

@aktech I think things are pretty good here. Looks like we were just blocked on the decision to push artifacts for every commit. My vote on this would be no.

@martindurant
Copy link
Member

This is still picking up travis, so we definitely at least need to merge from recent

@consideRatio
Copy link
Collaborator

consideRatio commented Apr 16, 2022

I'll go for a merge on this and use it as a starting point to iterate from! Thank you @fanshi118!

@consideRatio consideRatio merged commit bdb2e5e into dask:main Apr 16, 2022
@consideRatio consideRatio changed the title Test GitHub Actions for auto-release ci: test GitHub Actions for auto-release Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants