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 update subcommand #56

Closed
5 tasks done
loongy opened this issue Mar 24, 2020 · 0 comments
Closed
5 tasks done

Add update subcommand #56

loongy opened this issue Mar 24, 2020 · 0 comments
Assignees
Labels
feature New feature or request

Comments

@loongy
Copy link
Contributor

loongy commented Mar 24, 2020

It is no longer necessary to have Darknodes automatically update themselves. It is now preferable to allow Darknode operators to explicitly decide that they want to accept an update. To this end, the automatic update services have been stripped from the Darknode and we need to add an update subcommand to the CLI.

It should look like:

$ darknode update -version x.y.z

It should do the following:

  • Update to latest version when there is no -version option.
  • Update Darknodes by name.
  • Update Darknodes by tag.
  • Cannot update to version lower than the current Darknode version.
  • SSH into Darknode and download binary from GitHub Release, install, and restart service.
@loongy loongy added the feature New feature or request label Mar 24, 2020
@tok-kkk tok-kkk mentioned this issue Mar 24, 2020
@tok-kkk tok-kkk closed this as completed Mar 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants