Commit Graph

295 Commits

Author SHA1 Message Date
7c6c46febb
Fix syntax errors (#314) 2023-04-11 07:20:38 -06:00
prathamesh0
6b62247ef7
Add an option to pass env file to deploy command (#304)
* Add an option to pass env file to deploy command

* Use env variable mapping in fixturenet-optimism stack

* Use default values from checked in env files

* Use env variable mapping in mobymask-v2 stack

* Update instructions

* Add extra hosts in app compose files and update instructions

* Add CERC prefix to env variables in fixturenet-optimism stack

* Add CERC prefix to env variables in mobymask-v2 stack
2023-04-11 16:21:03 +05:30
80bbbafeb6
New build version scheme (#305)
* Use separate build tag file

* Implement new versioning scheme

* Update workflow file
2023-04-10 06:43:23 -06:00
f92a2fb3fc Make version manually updated 2023-04-10 06:17:12 -06:00
d3715d1952
Add env variable to enable/disable sending txs to L2 from watcher peer (#293)
* Add flag to enable/disable watcher peer L2 txs

* Update watcher-ts version in readme
2023-04-10 10:42:56 +05:30
Zach
055fa14cfb
Merge pull request #278 from cerc-io/update-docs
update registry install instructions
2023-04-06 19:32:29 -04:00
zramsay
579fa6ff66 more little updates 2023-04-06 19:31:57 -04:00
6f781ae303
Separate out watcher and web-apps in mobymask-v2 stack (#287)
* Separate out watcher and web-apps in mobymask stack

* Take L2 RPC endpoint from the env file

* Changes to run watcher and mobymask web-app separately

* Support running watcher without contract deployment and L2 txs

* Remove duplicate mobymask params env

* Add code comments

* Add instructions for running web-apps separately

* Self review fixes

* Fix timeout for mobymask-app on watcher server

---------

Co-authored-by: prathamesh0 <prathamesh.musale0@gmail.com>
2023-04-06 15:17:00 +05:30
prathamesh0
59fe9aae59
Handle restarts in mobymask-v2 stack (#286)
* Verify existing contract deployment

* Update mobymask-v2 demo instructions
2023-04-05 17:52:12 +05:30
94e38ceaba
Add ability to run mobymask-v2 stack with external optimism endpoint (#279)
* Set optimism geth endpoint from env file

* Set L1 account private keys from env

* Only deploy contract and generate invite in mobymask container

* Add readme for running mobymask v2 stack independently

* Modify mobymask container to stop running server and update readmes

* Check deployer account balance before deploying contract

* Fix for checking account balance before deploying

* Update readme description

* Update MobyMask repo tag in readme
2023-04-05 17:26:38 +05:30
prathamesh0
9ffa9bb5a9
Handle restarts for services in fixturenet-optimism stack (#282)
* Check existing L1 contracts deployment

* Rename volume used for generated L2 config

* Check for existing L2 geth data directory

* Cross check existing L2 config against L1 deployment config

* Verify sequencer key in existing L2 geth data directory

* Add instructions to troubleshoot corrupt L2 geth dir

* Separate out instructions to run L2 with external L1

* Update docs
2023-04-05 10:25:50 +05:30
11375fed0c Fail on error installing package 2023-04-04 20:26:19 -06:00
9e4240df07 Update version 2023-04-04 11:29:16 -06:00
prathamesh0
2515878eeb
Add ability to run Optimism fixturenet with external L1 endpoint (#273)
* Remove unnecessary todos

* Set option to log commands in shell scripts

* Replace fixturenet-eth dependency with wait on endpoint

* Skip lighthouse node dependency check

* Update all services in the stack

* Use debug flag to enable shell commands logging

* Add bash in op-batcher container

* Update mobymask-v2 instructions

* Update fixturenet-optimism instructions

* Add descriptions for services

* Move ts files to container-build

* Take L1 RPC endpoint from the env file

* Add dev mode restriction for editing env file
2023-04-04 14:53:28 +05:30
zramsay
358c7ea168 key missing line 2023-04-03 16:41:07 -04:00
4da69ebf4c
Update run script to support COPY and WebSockets. (#275) 2023-04-03 14:59:31 -05:00
b266ac78b4
Replace laconicd with optimism in mobymask-v2 stack (#272)
* Remove laconicd to use optimism endpoint

* Use fixturenet-optimism stack for mobymask-v2-watcher

* Fix setting L1 account private key in mobymask-v2 stack
2023-04-03 18:13:29 +05:30
prathamesh0
fc522140ba
Add Optimism Fixturenet stack (#266)
* Initial version

* Update readme

* Build op-geth container

* Add optimism go code containers

* Add optimism contracts container

* Update optimism contracts container build

* Add fixturenet-optimism-contracts service to deploy L1 contracts

* Add fixturenet-optimism op-node and op-geth

* Avoid reading addresses from a file when sending balances

* Fixes for running op-geth container

* Fix image name and command in optimism-contracts service

* Add a healthcheck to lighthouse bootnode to avoid failing eth txs

* Avoid using hardhat ethers to send balances from an account

* Update script to send balance to L1 bridge proxy contract

* Implement op-node container

* Wait for a finalized L1 block to exist

* Fix for running op-batcher

* Add a todo for restart support

* Integrate optimism-contracts service and update instructions

* Update clean-up to remove docker volumes

* Update volume access permissions

* Add a todo to replace foundry usage with web3 js

* Add known issues

* Fix README

* Fix indentation

* Update known issues

---------

Co-authored-by: David Boreham <david@bozemanpas.com>
Co-authored-by: David Boreham <david@bozemanpass.com>
Co-authored-by: nabarun <nabarun@deepstacksoft.com>
2023-04-03 12:33:47 +05:30
045117c6fb Add missing repo and container 2023-04-02 08:25:26 -06:00
f6cb041634 Temporary punch the port through to the host to make things work 2023-04-01 10:06:39 -06:00
e072a6bc4b Run template substitution on start 2023-03-31 16:33:48 -06:00
409f61d68d Implement deploy time config 2023-03-31 16:29:59 -06:00
3372cac35e Add a temporary version of config to the hosting container 2023-03-31 08:00:24 -06:00
c45dd545dd Add console host container to stack 2023-03-31 07:59:43 -06:00
3fb968c9cf Add console container pod 2023-03-30 00:27:19 -06:00
d01fb777d4 Add web server to host container 2023-03-30 00:15:36 -06:00
8bfc97bfbe Merge branch 'main' into dboreham/add-console 2023-03-29 22:50:22 -06:00
7f155023d2
Merge pull request #265 from cerc-io/dboreham/fix-yarn-lock-processing
Handle semver spec in package.json local dependencies
2023-03-29 22:47:48 -06:00
c5a532c02b Handle semver spec in package.json local dependencies 2023-03-29 22:46:58 -06:00
prathamesh0
71aaa41069
Upgrade dependencies and start inline watcher peer in mobymask-v2 stack (#256)
* Upgrade dependencies in mobymask-v2 stack

* Run inline watcher peer in mobymask v2 stack

---------

Co-authored-by: nabarun <nabarun@deepstacksoft.com>
2023-03-30 09:44:15 +05:30
c5cf8dda79 Merge branch 'main' into dboreham/add-console 2023-03-29 21:25:57 -06:00
e23ee1b176 Update version 2023-03-28 20:00:16 -06:00
b6fb3b396b Do not switch gid/uid for root and system users 2023-03-28 19:52:42 -06:00
1266ab88be Update version 2023-03-28 11:49:58 -06:00
15c0a92f30 Detect transient errors exporting variables and re-try 2023-03-28 11:44:02 -06:00
35ca979068 Fix health checks in erc20 containers 2023-03-28 10:46:26 -06:00
82acc99e2d Update go-ethereum-foundry container for Debian base image 2023-03-28 09:52:34 -06:00
3caf0da956 Update version 2023-03-28 07:17:06 -06:00
7e1137f811 Update version 2023-03-27 08:00:19 -06:00
1aeb44d5ad
Add missing notes and steps in mobymask-v2 stack readme (#241)
* Add missing notes and steps in readme

* Mention clearing of browser cache before opening invite link
2023-03-27 11:17:12 +05:30
3706dfd7db Update version 2023-03-26 21:35:01 -06:00
e70dca7687 Fix missing container name change 2023-03-25 18:57:36 -06:00
022afdc352 Use dashes not underscore to match docker-compose file in hosting repo and convention 2023-03-25 18:26:21 -06:00
7af7f654f6
Merge pull request #238 from cerc-io/telackey/act_runner
Add Gitea action support via act_runner.
2023-03-25 11:35:07 -06:00
ece01730fd
Merge pull request #230 from cerc-io/dboreham/update-node-version
Update to Node 18
2023-03-25 11:34:07 -06:00
74077d7704 Add Gitea action support via act_runner. 2023-03-24 22:24:40 -05:00
David Boreham
4a04d20bb2 Merge main 2023-03-24 19:43:46 -06:00
ca82d39c0c Add lirewine packages 2023-03-25 12:07:44 -06:00
David Boreham
4ad2729ae8 Console host container builds 2023-03-24 19:32:41 -06:00
David Boreham
2ca48fd2a2 Merge branch 'dboreham/add-console' of github.com:cerc-io/stack-orchestrator into dboreham/add-console 2023-03-24 18:38:50 -06:00
David Boreham
62d2d37417 Merge branch 'main' into dboreham/add-console 2023-03-24 18:36:36 -06:00
David Boreham
da24a4edf6 Use our locally built foundry container 2023-03-24 18:23:35 -06:00
f67e367ead Add sdk repo and npm 2023-03-24 17:31:41 -06:00
07de83e6d7 Update version file 2023-03-24 10:26:48 -06:00
cacd306b22
Add web-apps and laconicd in MobyMask v2 watcher stack (#226)
* Rename .env file

* Add web app services to docker compose file

* Add laconicd to deploy contract and send txs

* Add demo with steps for running mobymask app with L2 chain

* Add fix for yarn install on M1 platform in react-peer

* Update multiaddrs to use websockets

* Add notes in readmes

---------

Co-authored-by: prathamesh0 <prathamesh.musale0@gmail.com>
2023-03-24 15:53:54 +04:00
5b8c91d19d Fix npm config 2023-03-24 02:59:03 -06:00
af1b5b5cfc Merge branch 'main' into dboreham/add-console 2023-03-24 02:56:03 -06:00
e6b91acdea Fix up script and npm list 2023-03-24 02:52:37 -06:00
2e7ef1e52e Remove trailing whitespace 2023-03-24 02:31:19 -06:00
9e322203e9 Support the @lirewine npm scope 2023-03-24 02:30:04 -06:00
870a987760 Add lirewine repos and npms 2023-03-24 02:08:56 -06:00
44ba54f4a1 Merge branch 'main' into dboreham/add-console 2023-03-23 18:47:54 -06:00
David Boreham
06288fd9e1 Fix filename 2023-03-23 16:09:27 -06:00
David Boreham
21e9f96771 Build foundry with Debian base container 2023-03-23 16:03:35 -06:00
c9e931c212 Initial commit 2023-03-23 16:02:55 -06:00
David Boreham
56ff7d210b Update to Node 18 2023-03-23 14:04:31 -06:00
c307b0a1af Merge branch 'main' into dboreham/add-console 2023-03-22 21:37:23 -06:00
d5fd880bba Update version 2023-03-22 21:35:48 -06:00
David Boreham
f55aeee583 Initial commit 2023-03-22 17:05:04 -06:00
David Boreham
01c6999027 Update fixturenet create script 2023-03-22 14:52:39 -06:00
91ba0ae011 Update version 2023-03-21 09:55:40 -06:00
74be51b892
Add Gitea note 2023-03-20 10:14:58 -06:00
ea6f28a3de Update registry deploy instructions 2023-03-20 10:08:59 -06:00
4c92391faf Update version 2023-03-20 08:21:41 -06:00
Nabarun Gogoi
7831078872
Add a stack for mobymask-v2-watcher to run peer tests (#222)
* Add mobymask-v2-watcher stack with peer tests

* Rename stack and container

* Avoid building react-peer container

* Improve step for getting container ID
2023-03-20 18:25:39 +05:30
a354158680
Remove now unnecessary commands 2023-03-19 17:30:22 -06:00
c8ba07739e Merge branch 'main' into dboreham/fixturenet-eth-deploy-contracts 2023-03-09 17:10:16 -07:00
6735a0d378 Build foundry locally 2023-03-09 17:06:07 -07:00
21104f6b18 Drive by bug fix 2023-03-09 14:26:15 -07:00
7191dd8518 Merge branch 'main' into dboreham/fixturenet-eth-deploy-contracts 2023-03-09 08:37:45 -07:00
01c1230cd1 Update version 2023-03-09 08:37:20 -07:00
ecc4302c34 Fix for #212 - exception on non-stack deploy 2023-03-09 08:30:18 -07:00
a3440ad05b Add omitted file 2023-03-09 06:43:51 -07:00
c07f6c51e2 Update doc 2023-03-08 22:49:00 -07:00
b708bb2122 Configure foundry container 2023-03-08 22:22:43 -07:00
9cae493458 Add very basic cluster config mechanism 2023-03-08 17:03:14 -07:00
89b33c0e38 Update fixturenet-laconicd docs 2023-03-07 16:04:43 -07:00
b488d82b8f Implement logs command 2023-03-07 11:57:24 -07:00
f97b1e4720 Update version 2023-03-07 10:14:20 -07:00
d80fb5dd16
Merge pull request #207 from cerc-io/dboreham/run-cli-in-cluster
Run laconic registry cli in cluster
2023-03-07 10:10:26 -07:00
8a8fef6845 Very basic key export/import implementation 2023-03-07 10:08:04 -07:00
277be07dcd Add simple export/import scheme 2023-03-07 09:07:15 -07:00
b43886a1a9 Add foundry cli to fixturenet-eth 2023-03-06 15:19:19 -07:00
49c524e8ed Initial commit 2023-03-04 18:45:57 -07:00
be6a473772 Pass environment variables for both exec and up 2023-03-02 10:53:48 -07:00
f99dbfbdf5 Remove debug output 2023-03-02 10:32:18 -07:00
cea4e5a51f Pass uid and gid to compose 2023-02-28 10:22:27 -07:00
4353418fa6
Merge pull request #196 from cerc-io/dboreham/fix-project-name
Make cluster/docker-compose project name unique
2023-02-28 08:47:52 -07:00
a1fdeac3b7 Make cluster/docker-compose project name unique 2023-02-28 08:47:02 -07:00
2f29e283de Update version 2023-02-28 08:01:36 -07:00