1
0
Commit Graph

226 Commits

Author SHA1 Message Date
80c16d2ced Update for latest act_runner. (#316)
Former-commit-id: c7c3cbde8ee4b0cea5833fde7e3db12eb22c34fe
2023-04-11 15:05:08 -05:00
6e33bd47e2 Fix syntax errors (#314)
Former-commit-id: 7c6c46febb97f7ed93efa00f170cc143cf3e70d7
2023-04-11 07:20:38 -06:00
prathamesh0
c2a3ffe0dd 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

Former-commit-id: 6b62247ef7a32e20e55c529afa0b80fadb6873a1
2023-04-11 16:21:03 +05:30
59afaf66ae Make version manually updated
Former-commit-id: f92a2fb3fcd37041fd49180940016fb9dd445171
2023-04-10 06:17:12 -06:00
18279fcef3 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

Former-commit-id: d3715d19520be01a3a5e98ce6ce9874f72cc568a
2023-04-10 10:42:56 +05:30
Zach
53516f3109 Merge pull request #278 from cerc-io/update-docs
update registry install instructions

Former-commit-id: 055fa14cfbd46f3c089e0a1795ecc2b1a17f6ba0
2023-04-06 19:32:29 -04:00
zramsay
5a27a94a7d more little updates
Former-commit-id: 579fa6ff6632c6b73831e479e5642ddaa4610637
2023-04-06 19:31:57 -04:00
86f13e9c6b 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>
Former-commit-id: 6f781ae303915d7612fbc670b4f5f9b521b48121
2023-04-06 15:17:00 +05:30
prathamesh0
72737bfa29 Handle restarts in mobymask-v2 stack (#286)
* Verify existing contract deployment

* Update mobymask-v2 demo instructions

Former-commit-id: 59fe9aae59e2622761fe28beba9e5cc9e6d2614f
2023-04-05 17:52:12 +05:30
63fbaa7ae3 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

Former-commit-id: 94e38ceabaa89a3ec54e25f4a03cf253d5fae5f9
2023-04-05 17:26:38 +05:30
prathamesh0
464ef89a01 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

Former-commit-id: 9ffa9bb5a97b454da76c8cdeb1722109ce430b53
2023-04-05 10:25:50 +05:30
b4d9a3a831 Fail on error installing package
Former-commit-id: 11375fed0c9309f98693320db98c2dad3157fbd6
2023-04-04 20:26:19 -06:00
4da19b652e Update version
Former-commit-id: 9e4240df0763dc963ae85196c62e0362bcedb897
2023-04-04 11:29:16 -06:00
prathamesh0
be08ee81ea 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

Former-commit-id: 2515878eeb3456147d4e50e1b39c98f618d1a3d3
2023-04-04 14:53:28 +05:30
zramsay
22bb1a0bfa key missing line
Former-commit-id: 358c7ea168038784d0b08618ace23240ce0d68df
2023-04-03 16:41:07 -04:00
287468b7c0 Update run script to support COPY and WebSockets. (#275)
Former-commit-id: 4da69ebf4c8c3b838e776d086b9d57444b4d6d48
2023-04-03 14:59:31 -05:00
f23c22d5b9 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

Former-commit-id: b266ac78b4253ff655875922670797a6e56d578f
2023-04-03 18:13:29 +05:30
prathamesh0
1881554ae0 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>
Former-commit-id: fc522140baf918dfed531e8379649887c47c8109
2023-04-03 12:33:47 +05:30
009ce95914 Add missing repo and container
Former-commit-id: 045117c6fb769e381c46eaeccc703a5474151a2e
2023-04-02 08:25:26 -06:00
bddf72ee46 Temporary punch the port through to the host to make things work
Former-commit-id: f6cb041634df98b29e793bbbb2938d7515bcfef3
2023-04-01 10:06:39 -06:00
2b94ed12c2 Run template substitution on start
Former-commit-id: e072a6bc4bd5072905b32f9739cfeadca04288fb
2023-03-31 16:33:48 -06:00
31f9f0e864 Implement deploy time config
Former-commit-id: 409f61d68d756c605501f76fbfc41730cc239a1e
2023-03-31 16:29:59 -06:00
1342be5723 Add a temporary version of config to the hosting container
Former-commit-id: 3372cac35e282e7b6d7d6963fe4d5f94d30c31d2
2023-03-31 08:00:24 -06:00
d25de90df2 Add console host container to stack
Former-commit-id: c45dd545dd6fe45593a9c603a7dd85f02a5c8206
2023-03-31 07:59:43 -06:00
1fdfb9f568 Add console container pod
Former-commit-id: 3fb968c9cfe905c3a98f97d888ece0c707a3f1f9
2023-03-30 00:27:19 -06:00
9b22685484 Add web server to host container
Former-commit-id: d01fb777d4ca03f24ba607dac6156f08d69f53e5
2023-03-30 00:15:36 -06:00
8ee702f6ff Merge branch 'main' into dboreham/add-console
Former-commit-id: 8bfc97bfbecc8e3ba9467fea7d7fdb73934ccb4d
2023-03-29 22:50:22 -06:00
fddd728037 Merge pull request #265 from cerc-io/dboreham/fix-yarn-lock-processing
Handle semver spec in package.json local dependencies

Former-commit-id: 7f155023d215e92eada0a84f199e46b1a0f26df2
2023-03-29 22:47:48 -06:00
fbe76f4713 Handle semver spec in package.json local dependencies
Former-commit-id: c5a532c02bb44c9bdac9bdd97220c57b27d4d201
2023-03-29 22:46:58 -06:00
prathamesh0
79ad4fb15a 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>
Former-commit-id: 71aaa41069196836f2186e83583c91b6c6cae161
2023-03-30 09:44:15 +05:30
46cc0e8b94 Merge branch 'main' into dboreham/add-console
Former-commit-id: c5cf8dda792675705d81664e10b1c7406f7e923e
2023-03-29 21:25:57 -06:00
75ca36e5f7 Update version
Former-commit-id: e23ee1b176aa5db132c94ddf058076dab3aacb8b
2023-03-28 20:00:16 -06:00
51ad55b1d1 Do not switch gid/uid for root and system users
Former-commit-id: b6fb3b396bd48bc434590d3a6723157144d7f924
2023-03-28 19:52:42 -06:00
cb7b6f05f2 Update version
Former-commit-id: 1266ab88be4e55aaff2855a80973325c30a031a1
2023-03-28 11:49:58 -06:00
b3ae2159ee Fix health checks in erc20 containers
Former-commit-id: 35ca979068b764ed53f4705f62f67ee5f5b6bcbd
2023-03-28 10:46:26 -06:00
ce04ca2be5 Update go-ethereum-foundry container for Debian base image
Former-commit-id: 82acc99e2db8f08c282fd714eb98adbae026cb59
2023-03-28 09:52:34 -06:00
126d671bb0 Update version
Former-commit-id: 3caf0da9566eb47cc79af30837af13908e122895
2023-03-28 07:17:06 -06:00
616f85ce6b Update version
Former-commit-id: 7e1137f81147103ddd45153ae059b60215eb537e
2023-03-27 08:00:19 -06:00
bed5e262cc 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

Former-commit-id: 1aeb44d5ad0f112685ef3b239a3ec3e5dffca257
2023-03-27 11:17:12 +05:30
97da39c68b Update version
Former-commit-id: 3706dfd7db3f6b7f3c51d9e4ed8dfd05677ca67e
2023-03-26 21:35:01 -06:00
e7c5d5157e Fix missing container name change
Former-commit-id: e70dca7687ec04936a630729f1abe05179f9bcb6
2023-03-25 18:57:36 -06:00
16ff576413 Use dashes not underscore to match docker-compose file in hosting repo and convention
Former-commit-id: 022afdc352cb61cecb57db7bbc7282efef111818
2023-03-25 18:26:21 -06:00
f4e9837ed2 Merge pull request #238 from cerc-io/telackey/act_runner
Add Gitea action support via act_runner.

Former-commit-id: 7af7f654f6988bf37255c2bf951531e6c9ea30f2
2023-03-25 11:35:07 -06:00
0eb890edaf Merge pull request #230 from cerc-io/dboreham/update-node-version
Update to Node 18

Former-commit-id: ece01730fd1a6cda22b558baa15e5b21d9e09fe4
2023-03-25 11:34:07 -06:00
788b214116 Add Gitea action support via act_runner.
Former-commit-id: 74077d7704109802824dbb8f2e30709a3e1321b8
2023-03-24 22:24:40 -05:00
David Boreham
94c69d6596 Merge main
Former-commit-id: 4a04d20bb28574fd51645b8201b42dfd12d72a08
2023-03-24 19:43:46 -06:00
aa7697dd3e Add lirewine packages
Former-commit-id: ca82d39c0cf9217bd5ebce29f810fc78b3195323
2023-03-25 12:07:44 -06:00
David Boreham
741b225706 Console host container builds
Former-commit-id: 4ad2729ae8d8b009254756a703e49ce4b814f0ef
2023-03-24 19:32:41 -06:00
David Boreham
99f41a3f9f Merge branch 'dboreham/add-console' of github.com:cerc-io/stack-orchestrator into dboreham/add-console
Former-commit-id: 2ca48fd2a272368dedc6aabb94894ef921533f2f
2023-03-24 18:38:50 -06:00
David Boreham
4b0f46bb1b Merge branch 'main' into dboreham/add-console
Former-commit-id: 62d2d37417dff1eb3c823ed3764fa631de9db830
2023-03-24 18:36:36 -06:00
David Boreham
5767b93e6a Use our locally built foundry container
Former-commit-id: da24a4edf66f9475d5f7c730ff0342b52cd7fa4c
2023-03-24 18:23:35 -06:00
e608dca175 Add sdk repo and npm
Former-commit-id: f67e367ead160ec27ac2ac894be2cdfa8bf058ff
2023-03-24 17:31:41 -06:00
38feddb266 Update version file
Former-commit-id: 07de83e6d7a1495659260ccb62e4d84a81c7fb65
2023-03-24 10:26:48 -06:00
1951a5d398 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>
Former-commit-id: cacd306b22dbd12096c3b78d3c4222a8b8772489
2023-03-24 15:53:54 +04:00
2d64f49dc5 Fix npm config
Former-commit-id: 5b8c91d19d40d868d89c6037f9f498f003c8aab9
2023-03-24 02:59:03 -06:00
7c69d9477b Merge branch 'main' into dboreham/add-console
Former-commit-id: af1b5b5cfcadbbafd407410e018fe871c2ce25f4
2023-03-24 02:56:03 -06:00
aa01feb98a Fix up script and npm list
Former-commit-id: e6b91acdeacc5eb27e03fb7d12f13ad23cd7e681
2023-03-24 02:52:37 -06:00
c4e3aa54f1 Remove trailing whitespace
Former-commit-id: 2e7ef1e52eefbd4fc995cdc371be7930650a09c1
2023-03-24 02:31:19 -06:00
364a71d694 Support the @lirewine npm scope
Former-commit-id: 9e322203e9f07364a4ba28b28920aa6c9b945144
2023-03-24 02:30:04 -06:00
d96a6def14 Add lirewine repos and npms
Former-commit-id: 870a9877603f5b1d0e2839575e56dff84bcd31b0
2023-03-24 02:08:56 -06:00
db925bfe35 Merge branch 'main' into dboreham/add-console
Former-commit-id: 44ba54f4a12087e9f637391a219e172dcd5121a4
2023-03-23 18:47:54 -06:00
David Boreham
23fab04ec8 Fix filename
Former-commit-id: 06288fd9e19b35e8b2e14a126ce52cecbe15d33e
2023-03-23 16:09:27 -06:00
David Boreham
4420f45924 Build foundry with Debian base container
Former-commit-id: 21e9f9677173cee479b894c7ea96b6a562d035d9
2023-03-23 16:03:35 -06:00
9e138d8a6a Initial commit
Former-commit-id: c9e931c212f9871f7f328f34a9bad69a490f0db8
2023-03-23 16:02:55 -06:00
David Boreham
653f4c7d0a Update to Node 18
Former-commit-id: 56ff7d210bef007a48057b2e5cb6d7bc20a7b3bf
2023-03-23 14:04:31 -06:00
eb45899433 Merge branch 'main' into dboreham/add-console
Former-commit-id: c307b0a1af1fc0a739ef038a412f6cbd918b4a56
2023-03-22 21:37:23 -06:00
dac22b19b7 Update version
Former-commit-id: d5fd880bba76204e46053a26d7b4186621f413b6
2023-03-22 21:35:48 -06:00
David Boreham
be761d10b1 Initial commit
Former-commit-id: f55aeee5838441cf1f69e3ad9e5f60862beb9125
2023-03-22 17:05:04 -06:00
David Boreham
84bad13934 Update fixturenet create script
Former-commit-id: 01c69990273ac9c9d0d7d6547e853662f4dc63df
2023-03-22 14:52:39 -06:00
c537d787c2 Update version
Former-commit-id: 91ba0ae011be10bcbea44267a3ebbde7aec1037b
2023-03-21 09:55:40 -06:00
39741b2e8f Add Gitea note
Former-commit-id: 74be51b8928494663216ff3e80b5fcb241b833db
2023-03-20 10:14:58 -06:00
48a761875a Update registry deploy instructions
Former-commit-id: ea6f28a3deb8c09e56d0c68779fa5d212f869c33
2023-03-20 10:08:59 -06:00
6ee7c3bbba Update version
Former-commit-id: 4c92391faf54b87620c5dcb4c250aa498fb6d2e6
2023-03-20 08:21:41 -06:00
Nabarun Gogoi
4d3042bfcc 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

Former-commit-id: 78310788729e245040d3144d41c57160be14d774
2023-03-20 18:25:39 +05:30
49092305e4 Remove now unnecessary commands
Former-commit-id: a3541586804e3d19a2e46232f6e642101fcf2ade
2023-03-19 17:30:22 -06:00
b47d303ba4 Merge branch 'main' into dboreham/fixturenet-eth-deploy-contracts
Former-commit-id: c8ba07739ee5cb1ac1a98d50d217ccec890bc93a
2023-03-09 17:10:16 -07:00
8d3bca602a Build foundry locally
Former-commit-id: 6735a0d3785966147c37416628342a1d01f75644
2023-03-09 17:06:07 -07:00
5b79195f86 Merge branch 'main' into dboreham/fixturenet-eth-deploy-contracts
Former-commit-id: 7191dd85182bb159c0c57054e71d62933e2815d5
2023-03-09 08:37:45 -07:00
139626ef8e Update version
Former-commit-id: 01c1230cd109f4aa692a1f64678fe108ca13fae1
2023-03-09 08:37:20 -07:00
f096c014ce Add omitted file
Former-commit-id: a3440ad05bc41e4fcdcf739dfa75d032fb5c8f2f
2023-03-09 06:43:51 -07:00
49b9983b3a Update doc
Former-commit-id: c07f6c51e2de3b9e070d249668339c53c050a888
2023-03-08 22:49:00 -07:00
4fd9e71c84 Configure foundry container
Former-commit-id: b708bb212279deb5475fdca6a0e01d74bbfd8e6e
2023-03-08 22:22:43 -07:00
f57b8b4ba0 Add very basic cluster config mechanism
Former-commit-id: 9cae493458f15c9528b45bc116d2d7563263ef8f
2023-03-08 17:03:14 -07:00
edd7d549d9 Update fixturenet-laconicd docs
Former-commit-id: 89b33c0e38383221d29955f240eabfc725d9d38a
2023-03-07 16:04:43 -07:00
a900945698 Update version
Former-commit-id: f97b1e4720008df481f73ec07cfffc046a085cd8
2023-03-07 10:14:20 -07:00
2937a07cd8 Merge pull request #207 from cerc-io/dboreham/run-cli-in-cluster
Run laconic registry cli in cluster

Former-commit-id: d80fb5dd16e08444d20b067370160d569baa5b09
2023-03-07 10:10:26 -07:00
6ae3c252ea Very basic key export/import implementation
Former-commit-id: 8a8fef6845edbbde34e561bb1b613df1c5a9cc9b
2023-03-07 10:08:04 -07:00
178de8f496 Add simple export/import scheme
Former-commit-id: 277be07dcd2bc4473c963119eb5d47d9739b0c21
2023-03-07 09:07:15 -07:00
e801c28f60 Add foundry cli to fixturenet-eth
Former-commit-id: b43886a1a9863706a7a36573d66a98f665c86859
2023-03-06 15:19:19 -07:00
eb70f2526e Initial commit
Former-commit-id: 49c524e8edc27db89f79a13bbe19a8ece221372e
2023-03-04 18:45:57 -07:00
c3101bc25a Remove debug output
Former-commit-id: f99dbfbdf57217b88cc0ec9e1d6a1cbcccb2ce5c
2023-03-02 10:32:18 -07:00
430b884d72 Update version
Former-commit-id: 2f29e283dec1a59733100d1856f5824826a163e1
2023-02-28 08:01:36 -07:00
9480b4082e usermod does not change group ownership of home dir
Former-commit-id: 17355c9e4292a042e7c8416aafafb044e0fde3e2
2023-02-24 22:44:50 -07:00
467ff235ba Propagate build env vars
Former-commit-id: 5022e355ed9a88658e786a569ff1069ad31ecb56
2023-02-24 22:26:02 -07:00
25a755982e Implement new approach: build a uid-specific container
Former-commit-id: 6704cd752703159530775718d6d61fdeed027bdb
2023-02-24 22:14:28 -07:00
e3e96fa75e Work around docker uid/gid insanity
Former-commit-id: b84a28592df56104fc25ab6337ab5c53bfd658bd
2023-02-23 20:50:20 -07:00
42696f8165 Add build stack doc
Former-commit-id: 187c06ef5a25e0d02527a94a802dd3213a4b417b
2023-02-23 07:22:46 -07:00
8352893d92 Add some doc
Former-commit-id: 1f57ec53265a92c3e873950eacca8b86941cd0c0
2023-02-21 11:25:49 -07:00
f841f8a2de Stack syntax for ERC721.
Former-commit-id: 463b11bb231f2c206fdf508f616e60ab0da574ac
2023-02-21 09:30:07 -06:00
c717fd8a59 Add ipfs pod
Former-commit-id: 6dddceec2743396988ee5065f84ecb8991ef0b3e
2023-02-21 06:16:59 -07:00