Giter VIP home page Giter VIP logo

deployments's Introduction

Deployments Build Status

๐Ÿ“ฆ Real-world deployments of code powering Aragon organizations to Ethereum networks.

For information related to Aragon Network deployments, see aragon-network-deploy.

Environments

Environment Network Info URL
Ethereum Mainnet Mainnet Mainnet https://client.aragon.org
Ethereum Testnet Rinkeby Rinkeby (testnet) https://client.aragon.org
Polygon Mainnet Matic Polygon mainnet https://client.aragon.org
Polygon Testnet Mumbai Polygon testnet https://client.aragon.org

Scripts

To use the scripts or commit changes to the repo, please initialize via yarn first.

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 token-manager 0x6252302b892d2819eecc3a5400346469bc922fcdaab840c4859c8895a0f39e6c  ede0a45a55e8bb33ba84ac11c6989385416d8049 --environment staging

Fetching info for 'token-manager.aragonpm.eth' on staging...
Creating deployment record for [email protected] on staging
Saving archive to environments/staging/token-manager.aragonpm.eth/[email protected]

deployments's People

Contributors

2color avatar aquigorka avatar arabot-1 avatar dependabot[bot] avatar fabriziovigevani avatar facuspagnuolo avatar githubdoramon avatar izqui avatar mathewmeconry avatar mikec avatar nachomazzara avatar osarrouy avatar sohkai avatar theethernaut avatar yuetloo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deployments's Issues

Add deployment process and guidelines

We should document what steps were taken, who took them, and any comments or concerns raised (e.g. from external security partners) before and during a deployment. This is especially important for smart contract deployments, but could be adapted in a lightweight fashion to also cover frontend changes to aragonPM packages.

An initial list (to be expanded as time goes):

  • Repos / contracts to be deployed
    • Functionality delta from previous release (or completely new functionality if no previous deployment)
      • If previous deployment exists, is there an upgrade path and has it been tested?
    • Contract configuration (if parametrizable)
    • State of repo
      • Commit hash
      • Spec status
      • Test status
      • Security review status
  • Deployer
    • Permissions required / used

Sign-offs could be done in the form of approvals to an issue made to document the process for the release (e.g. on this repo).

Mainnet: Publish agent.aragonpm.eth@5

Due to Saint Fame needing NFT support ASAP, they will be performing an upgrade to their Agent instance using this unreleased version:

When we are ready to publish a new version of Agent (which will prompt orgs to upgrade), we should use that address as the contract code so upgraded DAOs get the Agent UI back.

0.8 deployment checklist

aragonOS

Templates

Client

  • Staging: initial release (@sohkai)
  • Staging: release candidate (@sohkai)
  • Rinkeby: major (?) release (@izqui)
  • Mainnet: major (?) release (@izqui)

Apps

Agent

Finance, Voting, TM

  • Staging: minor releases (@sohkai)
  • Rinkeby: minor releases (@izqui)
  • Rinkeby: minor releases (@izqui)

Add deployment for fuse.io (for the GoodDollar project)?

I was just looking at the bounties for GoodDollar and I saw one for adding an Aragon fork on fuse.io (an EVM sidechain).
GoodDollar/Bounties#14

The GoodDollar project is pretty big with 58k active users and they are offering a bounty of about 2k usd which could go to the Aragon DAO. An official deployment would be much better than a fork.

If interested, I can send some fuse for gas and if needed I can also deploy the ENS smart contracts on fuse.
https://docs.ens.domains/deploying-ens-on-a-private-chain

Redeploy Agent v5's `arapp.json`

Agent v5 currently has initialize() in its deprecatedFunctions declaration, which is a tooling limitation (aragonCLI / buidler unable to understand contract inheritance).

Redeploy MiniMeTokenFactory

Our current MiniMeTokenFactory does not emit events when creating tokens, which makes it difficult to dynamically register new tokens in off-chain tools like subgraphs.

We should redeploy this (and all the templates which use it) to the new version at https://github.com/aragon/minime, which does emit this event.

Apps are not appearing when using ipfs companion

The ui components of the most recent deployments were not included. This means that the content is not visible when using ipfs to render the ui. The result when running apm versions is

 โ„น voting.aragonpm.eth has 6 published versions
 โœ” 1.0.0: 0xEae3502771635e6270e01f5B859DDB7ed780aebf ipfs:Qmer59t99nhZMk69TZTtXFn3im8uFLjpsLdub7zb75r1vq
 โœ” 1.0.1: 0xEae3502771635e6270e01f5B859DDB7ed780aebf ipfs:QmPQjG4PSPXvhRYzxFBuU7HWSBTjyHL9HfRXapgjQUigkP
 โœ” 1.0.2: 0xEae3502771635e6270e01f5B859DDB7ed780aebf ipfs:QmXkC9JfpR2xUEUYrGdcepjaBGPopd2cNJg2UKDpi8Hmye
 โœ” 1.0.3: 0xEae3502771635e6270e01f5B859DDB7ed780aebf ipfs:QmctB78EiDW5LtSNA2FY8VUDwDWijv54UFDWKBs4a5nvyj
 โœ” 1.0.4: 0xEae3502771635e6270e01f5B859DDB7ed780aebf ipfs:QmcwXZXdbxF5qgKFh66zfZHTXYoUeHT9gtVqn27WMCvxTr
 โœ– 1.0.5: 0xEae3502771635e6270e01f5B859DDB7ed780aebf Version not found in provider

Deploy proxy versioning oracle

A non-essential part of the 0.8 deployments, but one that we should still do.

Having this would allow the frontend to know which proxies are the newer ones that have fixed the SLOAD fallback issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.