Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

References

AWS Management Console (amazon.com)

Devnet - FIO Operations

Devnet Testing (fioprotocol.io)

FIO DevNet Private Repository

DevNet Build, Deploy and Test Process

The DevNet build, and deploy process follows the LocalNet Release process (steps 1-4). See FIO LocalNet Release Notes. In addition, perform the following steps on the devnet master node to spin up the nodes, devnet-a, devnet-b and devnet-c. Note that this requires access to the AWS Management Console for the DevNet cluster.

The DevNet boot node, devnet.fioprotocol.io, has the following directory layout;

Under /home/ubuntu, the following directories exist;

  • devnet ← contains devnet repo and devnet executable

  • repos ← contains directories with names aligned with the build

    • localnet: a develop repo directory

    • mainnet: a mainnet release directory (branches are those is the last release to MainNet)

    • reltest: a release test directory (branches are a combination of those in MainNet and Develop)

For the purposes of this document the repo directory will be reltest.

  1. Stop and clean any running chains using fio.devtools/start.sh

  2. Build, and install fio as discussed in FIO LocalNet Release Notes.

  3. Start the chain and build the contracts (see above)

  4. Using the devnet tool, upgrade the nodes, devnet-a, devnet-b and devnet-c.

    1. Stop all remote nodes using the command ./devnet -f config.yml stop. Note that fio-nodeos is started on startup/boot of nodes

      1. For devnet-a, the config yaml file is a.yml

      2. For devnet-b, the config yaml file is b.yml

      3. For devnet-c, the config yaml file is c.yml

    2. Upgrade and start the nodes with the newly build nodeos using the command, ./devnet -f config.yml -bin <FIO Install Dir>/bin/nodeos upgrade

      1. The FIO Install Dir is /home/ubuntu/fio/<Version Nbr>

      2. For devnet-a, the config yaml file is a.yml

      3. For devnet-b, the config yaml file is b.yml

      4. For devnet-c, the config yaml file is c.yml

  • No labels