-
Notifications
You must be signed in to change notification settings - Fork 15
Add update service node page for docker in Lisk Service v0.7.0 #1850
Add update service node page for docker in Lisk Service v0.7.0 #1850
Conversation
Codecov Report
@@ Coverage Diff @@
## release/0.7.0 #1850 +/- ##
=================================================
- Coverage 66.90% 66.82% -0.09%
=================================================
Files 300 298 -2
Lines 5140 5112 -28
Branches 927 922 -5
=================================================
- Hits 3439 3416 -23
+ Misses 1701 1696 -5 |
This reverts commit 7307f65.
docs/antora/modules/ROOT/pages/update-existing-node/update-docker.adoc
Outdated
Show resolved
Hide resolved
9daf6e2
to
25a3308
Compare
== Start | ||
|
||
.Inside the lisk-service root folder | ||
---- | ||
cp ./docker/example.env .env |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but this is not about starting it for the first time, it is about how to start it in general. I don't think you need to do it every time you start Lisk Service. So it shouldn't be mentioned here
@@ -12,10 +12,23 @@ Mona Bärenfänger <[email protected]> | |||
:url_snapshot_config: configuration/index.adoc | |||
:url_backups: management/snapshots.adoc | |||
|
|||
NOTE: To upgrade Lisk Service to a desired version, please check out the specific version with *`git checkout <tag>`*, and then create the Docker image, followed by starting Lisk Service as shown in the commands below. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How to update Lisk Service should not be a note, it should at least be a separate section, and every step necessary to update Lisk Service should be explained it that very section, and supported, if possible, by code snippets the user can simply copy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, there is now a section showing how to update Lisk Service 👍
…-add-update-service-node-page-for-source
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall. However, please consider the following recommendations as well.
Co-authored-by: Sameer <[email protected]>
Co-authored-by: Sameer <[email protected]>
Co-authored-by: Sameer <[email protected]>
Co-authored-by: Sameer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Imho it would be beneficial to have separate pages for the update guides, as initially intended, as the process includes several steps and also there are multiple options how to update.
Also, should we include steps to backup the existing data before the update, or is that not necessary?
|
||
To upgrade the Docker container to a desired version, please follow one of the two options below. To find all the tagged versions for Lisk Service, please check the available tags (https://github.com/LiskHQ/lisk-service/tags) on GitHub. | ||
|
||
==== Option A - Download pre-built images from DockerHub |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Option A should be the recommended way to upgrade Lisk Service, imho Option A and B should be switched, because B looks easier
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, imho it would be nice to use tabs to switch between Option A & B
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I have now added tabs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, imho it would be nice to use tabs to switch between Option A & B
I'd prefer that Download pre-built images from DockerHub
remain the first option. Building images locally can be problematic at times if the dependencies are stale and we did not publish an update for any reason.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
|
||
==== Option B - Build images locally | ||
|
||
Build the images locally using the following steps. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At what point does it describe how to download and install the new version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like the step to run git checkout <tag>
in between the Stop Lisk Service
and Build the required updated Docker images
steps are missing. Have left a suggestion here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done as suggested 👍
Co-authored-by: Mona Bärenfänger <[email protected]>
Co-authored-by: Mona Bärenfänger <[email protected]>
Co-authored-by: Sameer <[email protected]>
Co-authored-by: Sameer <[email protected]>
…e-for-source Add update service node page for source in Lisk Service v0.7.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! 🎉
Closes # https://github.com/LiskHQ/lisk-docs/issues/1570