Commit Graph
859 Commits
Author SHA1 Message Date
srwadleigh 6662252649 update pod name 2023-12-06 21:52:23 +00:00
srwadleigh 0b88d47832 clean up readme formatting 2023-12-06 21:51:36 +00:00
srwadleigh 62a78d48fc fix typo in readme 2023-12-06 21:49:49 +00:00
srwadleigh 80713153d8 Merge remote-tracking branch 'origin/main' into keycloak 2023-12-06 21:44:12 +00:00
telackey 077ea80c70 Add deployment status command and fix k8s output for deployment ps (#679) v1.1.0-077ea80-202312061628 v1.1.0-077ea80-202312062135 2023-12-06 09:27:47 -07:00
dboreham 15faed00de Generate a unique deployment id for each deployment (#680)
* Move cluster name generation into a function

* Generate a unique deployment id for each deployment
v1.1.0-15faed0-202312060557
2023-12-05 22:56:58 -07:00
prathamesh0 6bef0c5b2f Separate out GQL proxy server from uniswap-urbit stack (#681)
* Separate out uniswap gql proxy in a stack

* Use proxy server from watcher-ts

* Add a flag to enable/disable the proxy server

* Update env configuratoin for uniswap urbit app stack

* Update stack file for uniswap urbit app stack

* Fix env variables in instructions
v1.1.0-6bef0c5-202312060511
2023-12-06 10:41:10 +05:30
prathamesh0 f27da19808 Use IPFS for hosting glob files for Urbit (#677)
* Use IPFS for hosting glob files for Urbit

* Add env configuration for IPFS endpoints to instructions

* Make ship pier dir configurable in remote deployment script

* Update remote deployment script to accept glob hash arg
v1.1.0-f27da19-202312050930
2023-12-05 15:00:03 +05:30
telackey 2dd54892a1 Allow specifying the webapp tag explicitly (#675) v1.1.0-2dd5489-202312050339 2023-12-04 21:39:16 -06:00
telackey ab0e70ed83 Change path portion of unique cluster name to point to compose file, not argv[0]. (#678) v1.1.0-ab0e70e-202312041939 2023-12-04 13:39:14 -06:00
nabarunandprathamesh c319e90ddd Add a stack for running uniswap frontend on urbit (#670)
* Create uniswap-frontend stack

* Add stack for building uniswap frontend app

* Add a container for Urbit fake ship

* Update with deployment command

* Add a service for uniswap app deployment to urbit

* Use a script to start urbit ship to handle restarts

* Rename stack name to uniswap-urbit-app

* Rename build.sh to build-app.sh and check if build already exists

* Rename stack directory name

* Update uniswap build restart on failure

* Perform uniswap app deployment in the urbit container

* Add steps to create glob for the app

* Tail /dev/null after deployment

* Add steps to install the app to desk

* Host glob files for uniswap

* Update repo branch

* Update readme with command to get urbit password

* Update readme

* Update readme to open urbit web UI

* Expose the port on glob hosting container

* Avoid exposing urbit http port

* Add scripts for installing uniswap on remote urbit instance

* Configure GQL proxy for uniswap app

* Use laconic branch for app repo

* Rename urbit pod for uniswap app deployment

---------

Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
v1.1.0-c319e90-202312041309
2023-12-04 18:39:19 +05:30
telackey 2173e7ce6a If the next version is unsupported, print a big warning and try higher version. (#674) v1.1.0-2173e7c-202311301833 2023-11-30 12:33:06 -06:00
dboreham c19559967d Add doc for deploy-webapp (#672) v1.1.0-c195599-202311300355 2023-11-29 20:55:14 -07:00
dboreham d7093277b4 Use constants (#671) v1.1.0-d709327-202311300351 2023-11-29 20:50:53 -07:00
telackey 03a3645b3c Add --port option to run-webapp. (#667)
* Add --port option to run-webapp

* Fixed merge

* lint
v1.1.0-03a3645-202311291732
2023-11-29 11:32:28 -06:00
dboreham 113c0bfbf1 Propagate env file for webapp deployment (#669) v1.1.0-113c0bf-202311290414 2023-11-28 21:14:02 -07:00
dboreham 1a069a6816 Use a temp file for the spec file name (#668) v1.1.0-1a069a6-202311290256 2023-11-28 19:56:12 -07:00
dboreham a68cd5d65c Webapp deploy (#662) v1.1.0-a68cd5d-202311280502 2023-11-27 22:02:16 -07:00
nabarun 1b94db27c1 Upgrade azimuth watcher release version to 0.1.2 (#666)
* Upgrade azimuth watcher release version

* Fix version for azimuth watcher repo
v1.1.0-1b94db2-202311240836
2023-11-24 14:05:37 +05:30
prathamesh0 9499941891 Increase max connections for Azimuth watcher dbs (#665) v1.1.0-9499941-202311231341 2023-11-23 19:11:02 +05:30
3fefc67e77 Run azimuth contract watcher in active mode (#661)
* Update stack to run azimuth job runner

* Run azimuth watcher in active mode

* Update stack to run job-runners for all watchers

* Update ports in job-runner health checks

* Map metrics ports to host

* Configure historical block processing batch size for Azimuth watcher

* Use deployment command for azimuth stack

---------

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
v1.1.0-3fefc67-202311230930
2023-11-23 15:00:18 +05:30
telackey 1a37255c18 Tweak laconicd config to allow setting endpoint port and to make the fixturenet restartable. (#660)
* Endpoint includes port

* Make it restartable

* Don't try to remove the mounted directory

* Make copy of init.sh
v1.1.0-1a37255-202311221731
2023-11-22 11:31:30 -06:00
dboreham 87bedde5cb Support for k8s ingress and tls (#659) v1.1.0-87bedde-202311212304 2023-11-21 16:04:36 -07:00
dboreham 01029cf7aa Fix for code path that doesn't create a DeploymentContext (#658) v1.1.0-01029cf-202311211535 2023-11-21 08:35:31 -07:00
nabarun 0b87c12c13 Upgrade merkl and sushiswap watcher to v0.1.4 (#657)
* Upgrade merkl and sushi watcher versions

* Set gqlPath to base URL and remove filling start block

* Upgrade watcher versions to 0.1.4
v1.1.0-0b87c12-202311211337
2023-11-21 19:07:09 +05:30
dboreham f6624cb33a Add image push command (#656) v1.1.0-f6624cb-202311210324 2023-11-20 20:23:55 -07:00
dboreham c9c6a0eee3 Changes for remote k8s (#655) v1.1.0-c9c6a0e-202311201613 2023-11-20 09:12:57 -07:00
telackey 5c80887215 Fix missing tty parameter. (#653) v1.1.0-5c80887-202311161858 2023-11-16 12:58:03 -06:00
Ian 80c4b9214b Merge pull request #643 from cerc-io/iskay/update-optimism
Iskay/update optimism
v1.1.0-80c4b92-202311161732
2023-11-16 12:31:57 -05:00
nabarun 70529c43e7 Upgrade merkl and sushiswap watcher versions (#654) v1.1.0-70529c4-202311161057 2023-11-16 16:27:41 +05:30
telackey 1e9d24a8ce Update webapp.md v1.1.0-1e9d24a-202311151852 2023-11-15 12:52:34 -06:00
telackey 9900565714 Update webapp.md v1.1.0-9900565-202311151849 2023-11-15 12:48:58 -06:00
telackey a13f841f34 Update webapp.md v1.1.0-a13f841-202311151837 2023-11-15 12:37:30 -06:00
telackey d37f80553d Add webapp doc (#652) v1.1.0-d37f805-202311151828 2023-11-15 12:28:07 -06:00
telackey 2059d67dca Add run-webapp command. (#651) v1.1.0-2059d67-202311151754 2023-11-15 10:54:27 -07:00
dboreham 638fa01649 Support external stack file (#650) v1.1.0-638fa01-202311150400 2023-11-14 20:59:48 -07:00
telackey 4ae4d3b61d Print docker container logs in webapp test. (#649) v1.1.0-4ae4d3b-202311142330 2023-11-14 17:30:01 -06:00
telackey 9687d84468 646: Add error message for webapp startup hang (#647)
This fixes three issues:

1. #644 (build output)
2. #646 (error on startup)
3. automatic env quote handling (related to 2)


For the build output we now have:

```
#################################################################

Built host container for /home/telackey/tmp/iglootools-home with tag:

    cerc/iglootools-home:local

To test locally run:

    docker run -p 3000:3000 cerc/iglootools-home:local
```

For the startup error, it was hung waiting for the "success" message from the next generate output (itself a workaround for a nextjs bug fixed by this PR we submitted: https://github.com/vercel/next.js/pull/58276).

I added a timeout which will cause it to wait up to a maximum _n_ seconds before issuing:

```
ERROR: 'npm run cerc_generate' exceeded CERC_MAX_GENERATE_TIME.
```

On the quoting itself, I plan on adding a new run-webapp command, but I realized I had a decent spot to do effect the quote replacement on-the-fly after all when I am already escaping the values for insertion/replacement into JS.

The "dequoting" can be disabled with `CERC_RETAIN_ENV_QUOTES=true`.
v1.1.0-9687d84-202311142207
2023-11-14 16:07:26 -06:00
iskay f088cbb3b0 fix linter errors 2023-11-14 14:38:49 +00:00
telackey f1f618c57a Don't change the next.js version by default. (#640) v1.1.0-f1f618c-202311131756 2023-11-13 11:56:04 -06:00
nabarun 0aca087558 Upgrade release versions for merkl and sushiswap watchers (#642)
* Upgrade merkl-sushiswap-v3-watcher-ts release

* Increase blockDelayInMilliSecs for merkl-sushiswap-v3 watcher

* Upgrade sushiswap-v3-watcher-ts release

* Add sushiswap-v3 watcher to stack list

* Avoid mapping ports that are not required to be exposed
v1.1.0-0aca087-202311131206
2023-11-13 17:36:37 +05:30
nabarun a04730e7ac Add a merkl-sushiswap-v3 watcher stack (#641)
* Add a merkl-sushiswap-v3 watcher stack

* Remove unrequired image from list
v1.1.0-a04730e-202311130544
2023-11-13 11:13:55 +05:30
prathamesh0andnabarun 95e881ba19 Add a sushiswap-v3 watcher stack (#638)
* Add a sushiswap-v3 watcher stack

* Add services for watcher db and server

* Add service for watcher job-runner

* Use 0.0.0.0 for watcher server config

---------

Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
v1.1.0-95e881b-202311130529
2023-11-13 10:58:55 +05:30
telackey 414b887036 Allow setting build tool (npm/yarn) and next.js version. (#639)
* Allow setting build tool (npm/yarn) and next.js version.
v1.1.0-414b887-202311102344
2023-11-10 17:44:25 -06:00
iskay 3db443b2bb fix commands import 2023-11-10 20:42:02 +00:00
iskay 1072fc98c3 update fixturenet-optimism 2023-11-10 20:05:22 +00:00
telackey 042b413598 Support the case where webpack config is already present next.config.js (#631)
* Support the case where webpack config is already present next.config.js

* Update scripts for experimental-compile/experimental-generate
v1.1.0-042b413-202311090545
2023-11-08 23:44:48 -06:00
dboreham 8384e95049 Add debug commands to test job (#636) v1.1.0-8384e95-202311090242 2023-11-08 19:42:19 -07:00
dboreham a27cf86748 Add basic k8s test (#635)
* Add CI job

* Add basic k8s test
v1.1.0-a27cf86-202311090212
2023-11-08 19:12:48 -07:00
dboreham ce587457d7 Add env var support for k8s (#634) v1.1.0-ce58745-202311090053 2023-11-08 17:53:46 -07:00