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

Provide rclone/setup-rclone action to setup rclone on the runner #7778

Open
kunaltyagi opened this issue Apr 18, 2024 · 4 comments
Open

Provide rclone/setup-rclone action to setup rclone on the runner #7778

kunaltyagi opened this issue Apr 18, 2024 · 4 comments
Labels
github_actions Pull requests that update GitHub Actions code

Comments

@kunaltyagi
Copy link

What problem are you are trying to solve?

rclone already provides releases on github. However, using rclone on a runner requires manually setting it up. There are setup actions for several tools which make it easy, but no official action for rclone.

How do you think rclone should be changed to solve that?

Hooking an action like https://github.com/robinraju/release-downloader with installation and config creation will allow a nice official experience without worrying much about auditing action code.

rclone already uses github actions for internal use, so exposing an action interface might not be that difficult to maintain in future.

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.
@ncw
Copy link
Member

ncw commented Apr 18, 2024

Release downloader looks very useful.

It doesn't appear to have support for downloading different released depending on the architecture of the github runner though so the config would be a bit messy as you'd need a different one for all the different runner types (linux/windows/macos amd64/macos arm64)

If we could find an action which can download rclone I'd be happy to put config for it in the install instructions.

There do appear to be some setup rclone actions - maybe we could persuade one of these to move their repo to the rclone org and become the official action?

@ncw ncw added the github_actions Pull requests that update GitHub Actions code label Apr 18, 2024
@kunaltyagi
Copy link
Author

Persuading someone might be a good idea. The sole reason for me creating this issues is that there are so many of them (and more if you search on github and not the marketplace)

@milliewalky
Copy link

@ncw
Mine is admittedly quite robust: https://github.com/milliewalky/setup-rclone. It doesn’t support every os|arch configuration for which rclone has been built, but it should suffice for most GitHub-hosted runners and likely the majority of self-hosted runners as well.

@AnimMouse
Copy link

I nominate my AnimMouse/setup-rclone action. It supports all OS and architecture configurations, can get Rclone config from GitHub secrets, can do a config-less operation, can use a service account file, can automatically update the tokens in GitHub secrets, and supports caching the binaries, making installation at 1 to 2 seconds if cached.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

No branches or pull requests

4 participants