-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #947 from ethereum/flamingo
Deployment & Flamingo Doc Updates
- Loading branch information
Showing
7 changed files
with
29 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Releases | ||
|
||
This section covers the process of making a Trin release. | ||
This section covers the process of making & deploying a Trin release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,17 @@ | |
|
||
## First time Setup | ||
- Get access to cluster repo (add person to @trin-deployments) | ||
- Download cluster repo: | ||
```shell= | ||
git clone [email protected]:ethereum/cluster.git | ||
cd cluster | ||
python3 -m venv venv | ||
. venv/bin/activate | ||
pip install ansible | ||
sudo apt install ansible-core | ||
``` | ||
- `git clone` the cluster repo: https://github.com/ethereum/cluster.git | ||
- Install dependencies within `cluster` virtualenv: | ||
```shell= | ||
cd cluster | ||
python3 -m venv venv | ||
. venv/bin/activate | ||
pip install ansible | ||
sudo apt install ansible-core | ||
``` | ||
On mac you can do `brew install ansible` instead of `apt`. | ||
- [Install keybase](https://keybase.io/docs/the_app/install_linux) | ||
- Publish your pgp public key with keybase, using: `keybase pgp select --import` | ||
- This fails if you don't have a pgp key yet. If so, create one with `gpg --generate-key` | ||
|
@@ -26,6 +28,7 @@ sudo apt install ansible-core | |
## Each Deployment | ||
### Prepare | ||
- Generally we want to cut a new release before deployment, see previous page for instructions. | ||
- Announce in Discord #trin that you're about to run the deployment | ||
- Make sure to schedule plenty of time to react to deployment issues | ||
|
@@ -117,6 +120,8 @@ but none were. | |
``` | ||
It means your key isn't working. Check with `@paulj`. | ||
|
||
If using `gpg` and decryption problems persist, see [this potential fix](https://github.com/getsops/sops/issues/304#issuecomment-377195341). | ||
|
||
### What do I do if Ansible says a node is unreachable? | ||
You might see this during a deployment: | ||
> fatal: [trin-ams3-18]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: connect to host 178.128.253.26 port 22: Connection timed out", "unreachable": true} | ||
|
9 changes: 0 additions & 9 deletions
9
book/src/developers/contributing/releases/prerelease_checklist.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters