satellite-ui: update wizard to instruct uplinkng usage

Change-Id: I30cc563d96b6b7a163918b64e9bd72b8e29ef65c
This commit is contained in:
JT Olio 2022-01-21 17:03:05 -07:00 committed by Ivan Fraixedes
parent 3a7fb4588f
commit 02bbcd7fbb
4 changed files with 39 additions and 47 deletions

View File

@ -1,7 +1,7 @@
# How to Release
## Comparing branches or tags
Execute branch.py to compare branches or tags.
Execute branch.py to compare branches or tags.
branch.py has 2 positional arguments:
```
from_ref the ref to show the path from
@ -9,8 +9,8 @@ branch.py has 2 positional arguments:
```
You can find more info by executing `branch.py -h`
Example:
`python branch.py v1.2 master` - this line compares the master branch with the release branch v1.2
Example:
`python branch.py v1.2 master` - this line compares the master branch with the release branch v1.2
The output of this command will be as follows:
```
[- 5e000f4b] release v1.2
@ -18,27 +18,27 @@ The output of this command will be as follows:
...
[+ ec008dcf] build: Go 1.14.4
```
`-` sign means that commit not in the master branch(`from_ref`)
`-` sign means that commit not in the master branch(`from_ref`)
`+` sign means that commit not in v1.2 branch(`to_ref`)
From the above it follows that commits with a plus sign will be included in the next release v1.3
## How to write github changelog
the next step is to create the page on Confluence with our changelog for the release v1.3.
Example: [Release v1.31](https://storjlabs.atlassian.net/wiki/spaces/ENG/pages/1812791357/Release%2Bv1.31)
the next step is to create the page on Confluence with our changelog for the release v1.3.
Example: [Release v1.31](https://storjlabs.atlassian.net/wiki/spaces/ENG/pages/1812791357/Release%2Bv1.31)
Here we need to highlight important changes for each topic(storj-sim, Uplink, Sattelite, Storage Node, General etc.)
## Cutting release branch
Then its time to cut the release branch:
`git checkout -b v1.3` - will create and checkout branch v1.3
`git checkout -b v1.3` - will create and checkout branch v1.3
`git push origin v1.3`- will push release branch to the repo
The next step is to create tag using `tag-release.sh` which is in storj/scripts folder and push it.
Example:
`./scripts/tag-release.sh v1.3.0-rc`
`git push origin v1.3.0-rc`
`git push origin v1.3.0-rc`
Then verify that the Jenkins job of the build Storj V3 for such tag and branch has finished successfully.
Together with that you need to create the same release branch for [tardigrade branding repo](https://github.com/storj/tardigrade-satellite-theme).
@ -46,12 +46,12 @@ Together with that you need to create the same release branch for [tardigrade br
If you need to cherry-pick something after the release branch has been created then you need to create point release.
Make sure that you have the latest changes, checkout the release branch and execute cherry-pick:
`git cherry-pick <your commit hash>`
`git cherry-pick <your commit hash>`
You need to create pull request to the release branch with that commit. After the pull request will be approved and merged you should create new release tag:
`./scripts/tag-release.sh v1.3.1`
and push the tag to the repo:
`git push origin v1.3.1`
Verify that the Jenkins job of the build Storj V3 for such tag has finished successfully.
`git push origin v1.3.1`
Verify that the Jenkins job of the build Storj V3 for such tag has finished successfully.
Double check that there was no change on the tardigrade branding in the meantime. Otherwise, the point release might get a broken tardigrade branding. If there are additional commits on the tardigrade branding it is better to create a release branch and revert them. You also have to update the Jenkins job to build from the release branch. Do not forget to change it back to master for the following regular release.
```
git clone git@github.com:storj/tardigrade-satellite-theme
@ -65,27 +65,28 @@ Update Jenkins job.
The release binaries you can find [here](https://storj-v3-alpha-builds.storage.googleapis.com/index.html).
Use search to find current release and open it.
Here you will need to download 21 binaries
Here you will need to download these binaries
```
"identity_darwin_amd64.zip", "identity_freebsd_amd64.zip", "identity_linux_amd64.zip", "identity_linux_arm.zip", "identity_linux_arm64.zip",
2"identity_windows_amd64.zip", "storagenode-updater_linux_amd64.zip", "storagenode-updater_linux_arm.zip", "storagenode-updater_linux_arm64.zip",
3"storagenode-updater_windows_amd64.zip", "storagenode_freebsd_amd64.zip", "storagenode_linux_amd64.zip", "storagenode_linux_arm.zip", "storagenode_linux_arm64.zip",
4"storagenode_windows_amd64.msi.zip", "storagenode_windows_amd64.zip", "uplink_darwin_amd64.zip", "uplink_freebsd_amd64.zip", "uplink_linux_amd64.zip",
5"uplink_linux_arm.zip", "uplink_linux_arm64.zip", "uplink_windows_amd64.zip"
```
"identity_windows_amd64.zip", "storagenode-updater_linux_amd64.zip", "storagenode-updater_linux_arm.zip", "storagenode-updater_linux_arm64.zip",
"storagenode-updater_windows_amd64.zip", "storagenode_freebsd_amd64.zip", "storagenode_linux_amd64.zip", "storagenode_linux_arm.zip", "storagenode_linux_arm64.zip",
"storagenode_windows_amd64.msi.zip", "storagenode_windows_amd64.zip", "uplink_darwin_amd64.zip", "uplink_freebsd_amd64.zip", "uplink_linux_amd64.zip",
"uplink_linux_arm.zip", "uplink_linux_arm64.zip", "uplink_windows_amd64.zip", "uplinkng_darwin_amd64.zip", "uplinkng_freebsd_amd64.zip", "uplinkng_linux_amd64.zip",
"uplinkng_linux_arm.zip", "uplinkng_linux_arm64.zip", "uplinkng_windows_amd64.zip"
```
Then you will need to go to the storj repo on github and open [releases](https://github.com/storj/storj/releases).
Press button [draft new release](https://github.com/storj/storj/releases/new), select the tag and upload binaries.
Also you will need to post here a changelog from the Confluence page, and press the button `Save draft`. You can look at examples from previous releases on GitHub.
## Which tests do we want to execute
Everything that could break production.
Everything that could break production.
From the perspective of a storage node operator the storage node needs to run stable, should not get disqualified or suspended, payout and usage data should be available on the dashboard, graceful exit, garbage collection. Everything that touches on of these topics is most likely worth a test.
From the perspective of a satellite operator the durability, availability and accounting is important. This includes the audit and repair system. Also customer and storage node signups should work. Anything in these area is worth a test.
From the perspective of a satellite operator the durability, availability and accounting is important. This includes the audit and repair system. Also customer and storage node signups should work. Anything in these area is worth a test.
For an uplink the network just needs to work. Node selection is critical. If we keep selecting full or bad nodes the uplink will have a hard time to upload enough pieces. It also affects performance.
## Forum post changelog
On the forum you need to highlight the most important changes for the storage node operators and describe it a little.
## Useful links
[Deployment documentation](https://storjlabs.atlassian.net/wiki/spaces/OPS/pages/153190401/Satellite+-+post+phoenix#satellite.qa.storj.io)
[Deployment documentation](https://storjlabs.atlassian.net/wiki/spaces/OPS/pages/153190401/Satellite+-+post+phoenix#satellite.qa.storj.io)
[Storage node rollout process](https://storjlabs.atlassian.net/wiki/spaces/OPS/pages/138084357/Storagenode)

View File

@ -134,18 +134,18 @@ func TestOnboarding_WizardCLIFlow(t *testing.T) {
page.MustElement("[aria-roledescription=windows]").MustClick()
windowsBinaryLink, err := page.MustElementX("(//a[text()=\" Windows Uplink Binary \"])").Attribute("href")
require.NoError(t, err)
require.Equal(t, *windowsBinaryLink, "https://github.com/storj/storj/releases/latest/download/uplink_windows_amd64.zip")
require.Equal(t, *windowsBinaryLink, "https://github.com/storj/storj/releases/latest/download/uplinkng_windows_amd64.zip")
page.MustElement("[aria-roledescription=linux]").MustClick()
linuxAMDBinaryLink, err := page.MustElementX("(//a[text()=\" Linux AMD64 Uplink Binary \"])").Attribute("href")
require.NoError(t, err)
require.Equal(t, *linuxAMDBinaryLink, "https://github.com/storj/storj/releases/latest/download/uplink_linux_amd64.zip")
require.Equal(t, *linuxAMDBinaryLink, "https://github.com/storj/storj/releases/latest/download/uplinkng_linux_amd64.zip")
linuxARMBinaryLink, err := page.MustElementX("(//a[text()=\" Linux ARM Uplink Binary \"])").Attribute("href")
require.NoError(t, err)
require.Equal(t, *linuxARMBinaryLink, "https://github.com/storj/storj/releases/latest/download/uplink_linux_arm.zip")
require.Equal(t, *linuxARMBinaryLink, "https://github.com/storj/storj/releases/latest/download/uplinkng_linux_arm.zip")
page.MustElement("[aria-roledescription=macos]").MustClick()
macOSBinaryLink, err := page.MustElementX("(//a[text()=\" macOS Uplink Binary \"])").Attribute("href")
require.NoError(t, err)
require.Equal(t, *macOSBinaryLink, "https://github.com/storj/storj/releases/latest/download/uplink_darwin_amd64.zip")
require.Equal(t, *macOSBinaryLink, "https://github.com/storj/storj/releases/latest/download/uplinkng_darwin_amd64.zip")
// Back and forth click test
page.MustElementX("(//span[text()=\"< Back\"])").MustClick()

View File

@ -17,7 +17,7 @@
<div class="cli-install__windows">
<h2 class="cli-install__macos__sub-title">
1. Download the
<a href="https://github.com/storj/storj/releases/latest/download/uplink_windows_amd64.zip">
<a href="https://github.com/storj/storj/releases/latest/download/uplinkng_windows_amd64.zip">
Windows Uplink Binary
</a>
zip file
@ -42,21 +42,18 @@
<h2 class="cli-install__linux__sub-title">Curl Download</h2>
<div class="cli-install__linux__commands">
<p class="cli-install__linux__commands__item">
curl -L https://github.com/storj/storj/releases/latest/download/uplink_linux_amd64.zip -o uplink_linux_amd64.zip
curl -L https://github.com/storj/storj/releases/latest/download/uplinkng_linux_amd64.zip -o uplinkng_linux_amd64.zip
</p>
<p class="cli-install__linux__commands__item">
unzip -o uplink_linux_amd64.zip
unzip -o uplinkng_linux_amd64.zip
</p>
<p class="cli-install__linux__commands__item">
chmod 755 uplink
</p>
<p class="cli-install__linux__commands__item">
sudo mv uplink /usr/local/bin/uplink
sudo install uplinkng /usr/local/bin/uplink
</p>
</div>
<a
class="cli-install__linux__link"
href="https://github.com/storj/storj/releases/latest/download/uplink_linux_amd64.zip"
href="https://github.com/storj/storj/releases/latest/download/uplinkng_linux_amd64.zip"
>
Linux AMD64 Uplink Binary
</a>
@ -64,21 +61,18 @@
<h2 class="cli-install__linux__sub-title">Curl Download</h2>
<div class="cli-install__linux__commands">
<p class="cli-install__linux__commands__item">
curl -L https://github.com/storj/storj/releases/latest/download/uplink_linux_arm.zip -o uplink_linux_arm.zip
curl -L https://github.com/storj/storj/releases/latest/download/uplinkng_linux_arm.zip -o uplinkng_linux_arm.zip
</p>
<p class="cli-install__linux__commands__item">
unzip -o uplink_linux_arm.zip
unzip -o uplinkng_linux_arm.zip
</p>
<p class="cli-install__linux__commands__item">
chmod 755 uplink
</p>
<p class="cli-install__linux__commands__item">
sudo mv uplink /usr/local/bin/uplink
sudo install uplinkng /usr/local/bin/uplink
</p>
</div>
<a
class="cli-install__linux__link"
href="https://github.com/storj/storj/releases/latest/download/uplink_linux_arm.zip"
href="https://github.com/storj/storj/releases/latest/download/uplinkng_linux_arm.zip"
>
Linux ARM Uplink Binary
</a>
@ -89,21 +83,18 @@
<h2 class="cli-install__macos__sub-title">Curl Download</h2>
<div class="cli-install__macos__commands">
<p class="cli-install__macos__commands__item">
curl -L https://github.com/storj/storj/releases/latest/download/uplink_darwin_amd64.zip -o uplink_darwin_amd64.zip
curl -L https://github.com/storj/storj/releases/latest/download/uplinkng_darwin_amd64.zip -o uplinkng_darwin_amd64.zip
</p>
<p class="cli-install__macos__commands__item">
unzip -o uplink_darwin_amd64.zip
unzip -o uplinkng_darwin_amd64.zip
</p>
<p class="cli-install__macos__commands__item">
chmod 755 uplink
</p>
<p class="cli-install__macos__commands__item">
sudo mv uplink /usr/local/bin/uplink
sudo install uplinkng /usr/local/bin/uplink
</p>
</div>
<a
class="cli-install__macos__link"
href="https://github.com/storj/storj/releases/latest/download/uplink_darwin_amd64.zip"
href="https://github.com/storj/storj/releases/latest/download/uplinkng_darwin_amd64.zip"
>
macOS Uplink Binary
</a>

View File

@ -22,7 +22,7 @@
Uplink CLI
</a>
and run
<b class="cli__msg__bold">uplink setup.</b>
<b class="cli__msg__bold">uplink setup</b>.
</p>
<OSContainer>
<template #windows>