From bd1c7bcb3f5c61fc19cf81dbf4cd69078745b0c8 Mon Sep 17 00:00:00 2001 From: nabarun Date: Thu, 24 Oct 2024 12:03:43 +0000 Subject: [PATCH] Add step to fetch asset addresses in nitro-node playbook (#15) Part of [Service Provider Setup](https://www.notion.so/Service-provider-setup-a09e2207e1f34f3a847f7ce9713b7ac5) Co-authored-by: Adw8 Reviewed-on: https://git.vdb.to/cerc-io/testnet-ops/pulls/15 --- nitro-nodes-setup/run-nitro-nodes.yml | 5 +++++ service-provider-setup/README.md | 6 ++++-- stack-orchestrator-setup/README.md | 26 +++++++++++++------------- user-setup/README.md | 3 ++- 4 files changed, 24 insertions(+), 16 deletions(-) diff --git a/nitro-nodes-setup/run-nitro-nodes.yml b/nitro-nodes-setup/run-nitro-nodes.yml index e224d1f..45b755f 100644 --- a/nitro-nodes-setup/run-nitro-nodes.yml +++ b/nitro-nodes-setup/run-nitro-nodes.yml @@ -115,3 +115,8 @@ get_url: url: https://git.vdb.to/cerc-io/testnet-laconicd-stack/raw/branch/main/ops/stage2/nitro-node-config.yml dest: "{{ nitro_directory }}" + + - name: Fetch required asset addresses + get_url: + url: https://git.vdb.to/cerc-io/testnet-laconicd-stack/raw/branch/main/ops/stage2/assets.json + dest: "{{ nitro_directory }}" diff --git a/service-provider-setup/README.md b/service-provider-setup/README.md index b46e161..12d46b3 100644 --- a/service-provider-setup/README.md +++ b/service-provider-setup/README.md @@ -1,5 +1,7 @@ # service-provider-setup +This setup has been tested on digitalocean droplets running ubuntu 22.04 LTS + ## Prerequisites - Setup Ansible: follow the [installation](../README.md#installation) guide to setup ansible on your machine @@ -56,8 +58,8 @@ # vars/webapp-vars.yml authority_name: "" # eg: laconic-authority - cpu_reservation: "1" # minimum number of cpu cores to be used, eg: 2 - memory_reservation: "2G" # minimum amount of memory in GB to be used, eg: 4G + cpu_reservation: "1" # minimum number of cpu cores to be used, eg: 1 + memory_reservation: "2G" # minimum amount of memory in GB to be used, eg: 2G cpu_limit: "6" # maximum number of cpu cores to be used, eg: 6 memory_limit: "8G" # maximum amount of memory in GB to be used, eg: 8G deployer_gpg_passphrase: "" # passphrase for creating GPG key used by webapp-deployer, eg: SECRET diff --git a/stack-orchestrator-setup/README.md b/stack-orchestrator-setup/README.md index 6789e98..cc65966 100644 --- a/stack-orchestrator-setup/README.md +++ b/stack-orchestrator-setup/README.md @@ -62,23 +62,23 @@ Run the following commands on your target machine: ``` If the command outputs `"$HOME/bin is not in PATH"`, you'll need to add it to your `PATH`. -- To add `$HOME/bin` to your `PATH`, run the following command: + - To add `$HOME/bin` to your `PATH`, run the following command: - ```bash - export PATH="$HOME/bin:$PATH" - ``` + ```bash + export PATH="$HOME/bin:$PATH" + ``` -- To make this change permanent, add the following line to your shell configuration file (`~/.bashrc` or `~/.zshrc`, depending on your shell): + - To make this change permanent, add the following line to your shell configuration file (`~/.bashrc` or `~/.zshrc`, depending on your shell): - ```bash - # For bash users - echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc - source ~/.bashrc + ```bash + # For bash users + echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc + source ~/.bashrc - # For zsh users - echo 'export PATH="$HOME/bin:$PATH"' >> ~/.zshrc - source ~/.zshrc - ``` + # For zsh users + echo 'export PATH="$HOME/bin:$PATH"' >> ~/.zshrc + source ~/.zshrc + ``` - Once the PATH is set, verify the installation by running the following commands: diff --git a/user-setup/README.md b/user-setup/README.md index 3954c81..56e6e39 100644 --- a/user-setup/README.md +++ b/user-setup/README.md @@ -14,10 +14,11 @@ ## Setup a user +Execute the following commands in the `user-setup` directory + - Create a new `hosts.ini` file: ```bash - cd user-setup/ cp ../hosts.example.ini hosts.ini ```