/deployments

Real-world deployments of Aragon code to Ethereum networks

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

Deployments Build Status

📦 Real-world deployments of 1Hive code to Ethereum networks.

Environments

Environment Ethereum Network Info URL
Mainnet Mainnet Mainnet https://mainnet.aragon.org
Rinkeby (testnet) Rinkeby Rinkeby (testnet) https://rinkeby.aragon.org
Staging (testnet) Rinkeby Staging (rinkeby) https://aragon.staging.aragonpm.com
Flora (sidechain) Flora Flora (sidechain) http://ethinzo3d-dns-reg1.eastus.cloudapp.azure.com:8540

Scripts

scripts/decompress

It will traverse all the compressed files for versions of the different environments and save them to the decompressed directory.

The decompressed directory will contain an archive for all saved versions published in all environments. This directory can then be added and pinned to IPFS and ensures availability of all the files of the system.

scripts/save

The save scripts can be used to log a version of a repo published to APM.

Usage:

scripts/save [repo name] [publish tx hash] [commit hash] --environment [name]

It will check the version published in that transaction, fetch and archive the content of the version and create an entry in the environment deploys.yml file.

Example:

$ scripts/save redemptions.open 0x6252302b892d2819eecc3a5400346469bc922fcdaab840c4859c8895a0f39e6c  ede0a45a55e8bb33ba84ac11c6989385416d8049 --environment staging

Fetching info for 'redemptions.open.aragonpm.eth' on staging...
Creating deployment record for redemptions.open.aragonpm.eth@1.0.0 on staging
Saving archive to environments/staging/redemptions.open.aragonpm.eth/redemptions.open.aragonpm.eth@1.0.0.tar.gz