Commit Graph

242 Commits (main)

Author SHA1 Message Date
jonathan@vulcanize.io 0149346927 adding trustrpc flag to op-node
Lint Checks / Run linter (push) Failing after 4s Details
2024-03-13 18:18:57 +00:00
jonathan@vulcanize.io 06de4fe485 follow established naming convention 2024-03-13 16:21:29 +00:00
Prathamesh Musale aeddc82ebc Remove latest indexed block value from watcher alerts data (#780)
Deploy Test / Run deploy test suite (push) Successful in 3m34s Details
Smoke Test / Run basic test suite (push) Successful in 4m1s Details
Lint Checks / Run linter (push) Failing after 4s Details
Publish / Build and publish (push) Successful in 54s Details
Webapp Test / Run webapp test suite (push) Successful in 2m53s Details
Part of https://www.notion.so/Setup-grafana-SO-stack-for-monitoring-watchers-7e23042c296c4de6b8676f1f604aa03c

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/780
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-03-13 07:16:15 +00:00
jonathan@vulcanize.io 821d401575 fixed missing rollup
Lint Checks / Run linter (push) Failing after 4s Details
2024-03-13 04:28:16 +00:00
jonathan@vulcanize.io 5123111db0 copy whether absolute path or local 2024-03-13 03:56:17 +00:00
jonathan@vulcanize.io 02c33cb229 working state 2024-03-13 02:49:21 +00:00
Prathamesh Musale 17e860d6e4 Update subgraph watcher versions and instructions to use deployments (#775)
Publish / Build and publish (push) Successful in 54s Details
Deploy Test / Run deploy test suite (push) Successful in 3m39s Details
Smoke Test / Run basic test suite (push) Successful in 4m8s Details
Lint Checks / Run linter (push) Failing after 3s Details
Webapp Test / Run webapp test suite (push) Successful in 2m52s Details
Part of https://www.notion.so/Setup-watchers-on-sandman-34b5514a10634c6fbf3ec338967c871c

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/775
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-03-12 05:32:55 +00:00
jonathan@vulcanize.io b4eda902ea fixed optimum deployment
Lint Checks / Run linter (push) Failing after 4s Details
2024-03-08 19:27:36 +00:00
jonathan@vulcanize.io b4df8104c8 tweaking yml 2024-03-08 17:20:44 +00:00
jonathan@vulcanize.io 07282cdd6e minimal build
Lint Checks / Run linter (push) Failing after 4s Details
2024-03-08 02:56:23 +00:00
jonathan@vulcanize.io e7c935fb78 integration testing, I think 2024-03-07 22:24:46 +00:00
Thomas E Lackey 523b5779be Auto-detect which certificate to use (including wildcards). (#779)
Publish / Build and publish (push) Successful in 53s Details
Deploy Test / Run deploy test suite (push) Successful in 3m39s Details
Webapp Test / Run webapp test suite (push) Successful in 2m47s Details
Smoke Test / Run basic test suite (push) Successful in 3m54s Details
Lint Checks / Run linter (push) Failing after 3s Details
Rather than always requesting a certificate, attempt to re-use an existing certificate if it already exists in the k8s cluster.  This includes matching to a wildcard certificate.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/779
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-03-07 17:38:36 +00:00
jonathan@vulcanize.io 1a636799a6 filepath
Lint Checks / Run linter (push) Failing after 4s Details
2024-03-06 19:34:25 +00:00
jonathan@vulcanize.io 0aa4b350bd keycloak implementation 2024-03-06 19:21:29 +00:00
Thomas E Lackey 62f7ce649d Exit non-0 if docker build fails. (#778)
Publish / Build and publish (push) Successful in 56s Details
Webapp Test / Run webapp test suite (push) Successful in 2m50s Details
Smoke Test / Run basic test suite (push) Successful in 3m51s Details
Lint Checks / Run linter (push) Failing after 3s Details
Deploy Test / Run deploy test suite (push) Successful in 3m35s Details
Make sure to check the exit code of the docker build and bubble it back up to laconic-so.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/778
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-03-06 18:38:30 +00:00
jonathan@vulcanize.io 2252252072 comment format
Lint Checks / Run linter (push) Failing after 4s Details
2024-03-05 20:42:53 +00:00
jonathan@vulcanize.io c92f15f47c comment format 2024-03-05 20:38:09 +00:00
jonathan@vulcanize.io fee32ec703 copying genesis.json to /data/blast-data for blast 2024-03-05 20:32:56 +00:00
David Boreham fb55c1425e Beginnings of blast stack 2024-03-04 15:05:31 -07:00
Thomas E Lackey cc541ac20f Use -slim variant for Dockerfile (#773)
Webapp Test / Run webapp test suite (push) Successful in 2m56s Details
Smoke Test / Run basic test suite (push) Successful in 4m39s Details
Lint Checks / Run linter (push) Failing after 4s Details
Publish / Build and publish (push) Successful in 1m39s Details
Deploy Test / Run deploy test suite (push) Successful in 4m11s Details
This saves about 1GB of space in the image.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/773
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-28 04:37:57 +00:00
Thomas E Lackey 10e2311a8b Add timed logging for the webapp build (#771)
Add lots of log and timer output to webapp builds.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/771
2024-02-28 00:38:11 +00:00
David Boreham 64cec163b3 Sort order was backwards 2024-02-27 09:00:36 -07:00
David Boreham 170ad71397 fetch-containers-fixes (#769)
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/769
Co-authored-by: David Boreham <david@bozemanpass.com>
Co-committed-by: David Boreham <david@bozemanpass.com>
2024-02-27 15:53:05 +00:00
David Boreham da1ff609fe fetch-images command (#768)
Deploy Test / Run deploy test suite (push) Successful in 3m35s Details
Lint Checks / Run linter (push) Failing after 3s Details
Publish / Build and publish (push) Successful in 52s Details
Webapp Test / Run webapp test suite (push) Successful in 3m5s Details
Smoke Test / Run basic test suite (push) Successful in 4m3s Details
Implementation of a command to fetch pre-built images from a remote registry, complementing the --push-images option already present on build-containers.

The two subcommands used together allow a stack to be deployed without needing to built its images, provided they have been already built and pushed to the specified container image registry.

This implementation simply picks the newest image with the right name and platform (matches against the platform Python is running on, so watch out for scenarios where Python is an x86 binary on M1 macs).

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/768
Co-authored-by: David Boreham <david@bozemanpass.com>
Co-committed-by: David Boreham <david@bozemanpass.com>
2024-02-27 15:15:08 +00:00
Thomas E Lackey 21eb9f036f Add support for pnpm as a webapp build tool. (#767)
Lint Checks / Run linter (push) Failing after 4s Details
Publish / Build and publish (push) Successful in 51s Details
Deploy Test / Run deploy test suite (push) Successful in 3m37s Details
Smoke Test / Run basic test suite (push) Successful in 3m50s Details
Webapp Test / Run webapp test suite (push) Successful in 2m54s Details
This adds support for auto-detecting pnpm as a build tool for webapps.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/767
Reviewed-by: David Boreham <dboreham@noreply.git.vdb.to>
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-26 23:31:52 +00:00
Thomas E Lackey a0413659f7 Check for existing tag in remote repo before building. (#764)
Webapp Test / Run webapp test suite (push) Successful in 4m5s Details
Smoke Test / Run basic test suite (push) Successful in 3m55s Details
Deploy Test / Run deploy test suite (push) Successful in 5m13s Details
Publish / Build and publish (push) Successful in 1m5s Details
Lint Checks / Run linter (push) Failing after 3s Details
webapps are meant to be build-once/deploy-many, but we were rebuilding them for every request.  This changes that, so that we rebuild only for every unique ApplicationRecord.

When we push the image, we now tag it according to its ApplicationRecord.

We don't want to use that tag directly in the compose file for the deployment, however, as the deployment needs to be able to adjust to new builds w/o re-writing the file all the time.  Instead, we use a per-deployment unique tag (same as before), we just update what image it references as needed.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/764
2024-02-24 03:22:49 +00:00
zramsay a16fc657bf clarify uniswap urbit readme (#766)
Co-authored-by: zramsay <zach@bluecollarcoding.ca>
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/766
2024-02-24 00:15:53 +00:00
Thomas E Lackey 704c42c404 Use a catchall for single page apps. (#763)
Deploy Test / Run deploy test suite (push) Successful in 3m32s Details
Webapp Test / Run webapp test suite (push) Successful in 2m42s Details
Smoke Test / Run basic test suite (push) Successful in 4m3s Details
Publish / Build and publish (push) Successful in 52s Details
Lint Checks / Run linter (push) Failing after 4s Details
This creates a new environment variable, CERC_SINGLE_PAGE_APP, which controls whether a catchall redirection back to / is applied.

If the value is not explicitly set, we try to detect if the page looks like a single-page app.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/763
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-23 20:32:24 +00:00
David Boreham 202f187172 Fix copy/paste error 2024-02-23 13:15:37 -07:00
David Boreham aaed356d32 Simple container image publication (#762)
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/762
Co-authored-by: David Boreham <david@bozemanpass.com>
Co-committed-by: David Boreham <david@bozemanpass.com>
2024-02-23 19:57:47 +00:00
Thomas E Lackey 2af6ffce77 Tweaks for running the container registry in k8s (#760)
Lint Checks / Run linter (push) Failing after 3s Details
Publish / Build and publish (push) Successful in 52s Details
Deploy Test / Run deploy test suite (push) Successful in 3m31s Details
Webapp Test / Run webapp test suite (push) Successful in 2m47s Details
Smoke Test / Run basic test suite (push) Successful in 3m52s Details
Fixturenet-Eth-Plugeth-Arm-Test / Run an Ethereum plugeth fixturenet test (push) Has been cancelled Details
Minor tweaks for running the container-registry in k8s.  The big change is not requiring --image-registry.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/760
Reviewed-by: David Boreham <dboreham@noreply.git.vdb.to>
2024-02-22 21:11:06 +00:00
David Boreham 642c0ead0d Add test for two config parameters (#758)
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/758
Co-authored-by: David Boreham <david@bozemanpass.com>
Co-committed-by: David Boreham <david@bozemanpass.com>
2024-02-22 19:35:55 +00:00
Thomas E Lackey 6bd77c893a Even more logging fixes (#757)
Smoke Test / Run basic test suite (push) Successful in 4m30s Details
Publish / Build and publish (push) Successful in 1m36s Details
Webapp Test / Run webapp test suite (push) Successful in 2m42s Details
Lint Checks / Run linter (push) Failing after 3s Details
Deploy Test / Run deploy test suite (push) Successful in 3m29s Details
Hopefully the last one for a bit.

This only output the cmdline if log_file is present (ie, not to stdout).  It also fixes a bug where the log_file was not passed in one line.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/757
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-22 01:24:44 +00:00
Thomas E Lackey 4a4d48ddb9 Fix error when logging exception. (#756)
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/756
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-22 00:11:06 +00:00
Thomas E Lackey 08438b1cd5 More logging for webapp deployments (#755)
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/755
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-21 23:48:52 +00:00
Thomas E Lackey 9f1dd284a5 Better error logging for registry deployments. (#754)
Publish / Build and publish (push) Successful in 52s Details
Lint Checks / Run linter (push) Failing after 3s Details
Webapp Test / Run webapp test suite (push) Successful in 2m43s Details
Smoke Test / Run basic test suite (push) Successful in 3m51s Details
Deploy Test / Run deploy test suite (push) Successful in 3m35s Details
We were missing errors related to registration, this should fix that.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/754
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-21 20:12:52 +00:00
Thomas E Lackey db4986dcc6 snowballtool-base backend stack (#751)
Publish / Build and publish (push) Successful in 51s Details
Webapp Test / Run webapp test suite (push) Successful in 2m46s Details
Lint Checks / Run linter (push) Failing after 4s Details
Deploy Test / Run deploy test suite (push) Successful in 3m47s Details
Smoke Test / Run basic test suite (push) Successful in 3m55s Details
This adds a stack for the backend from snowball/snowballtools-base.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/751
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-21 04:45:46 +00:00
Thomas E Lackey 65f05ea80c Run a manual build script, if present. (#750)
Publish / Build and publish (push) Successful in 1m31s Details
Deploy Test / Run deploy test suite (push) Successful in 3m34s Details
Webapp Test / Run webapp test suite (push) Successful in 6m1s Details
Smoke Test / Run basic test suite (push) Successful in 4m4s Details
Lint Checks / Run linter (push) Failing after 3s Details
If the tree has a 'build-webapp.sh' script, use that.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/750
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-21 00:20:50 +00:00
zramsay 01f9fe67ed add Mars v2 interface (#744)
Lint Checks / Run linter (push) Failing after 4s Details
Publish / Build and publish (push) Successful in 51s Details
Deploy Test / Run deploy test suite (push) Successful in 3m38s Details
Webapp Test / Run webapp test suite (push) Successful in 2m42s Details
Smoke Test / Run basic test suite (push) Successful in 3m47s Details
Tested on DO with real funds on mainnet

Co-authored-by: zramsay <zach@bluecollarcoding.ca>
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/744
2024-02-19 19:11:59 +00:00
David Boreham 39f4fa4487 Container Registry Stack (#747)
Smoke Test / Run basic test suite (push) Successful in 3m57s Details
Lint Checks / Run linter (push) Failing after 3s Details
Publish / Build and publish (push) Successful in 50s Details
Webapp Test / Run webapp test suite (push) Successful in 2m42s Details
Container Registry Test / Run contaier registry hosting test on kind/k8s (push) Failing after 1m5s Details
Deploy Test / Run deploy test suite (push) Successful in 3m36s Details
Co-authored-by: David Boreham <david@bozemanpas.com>
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/747
Co-authored-by: David Boreham <david@bozemanpass.com>
Co-committed-by: David Boreham <david@bozemanpass.com>
2024-02-18 18:55:55 +00:00
David Boreham 37b9500483 Support non-tls ingress for kind (#748)
Publish / Build and publish (push) Successful in 3m2s Details
Smoke Test / Run basic test suite (push) Successful in 4m16s Details
Webapp Test / Run webapp test suite (push) Successful in 11m15s Details
Lint Checks / Run linter (push) Failing after 4s Details
Deploy Test / Run deploy test suite (push) Successful in 3m34s Details
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/748
Co-authored-by: David Boreham <david@bozemanpass.com>
Co-committed-by: David Boreham <david@bozemanpass.com>
2024-02-17 01:54:30 +00:00
Thomas E Lackey 3c3e582939 Minor envsubst improvements. (#746)
Lint Checks / Run linter (push) Failing after 3s Details
Publish / Build and publish (push) Successful in 50s Details
Deploy Test / Run deploy test suite (push) Successful in 3m32s Details
Webapp Test / Run webapp test suite (push) Successful in 2m39s Details
Smoke Test / Run basic test suite (push) Successful in 3m49s Details
Minor fixes to envsubst for webapps.  Somewhat specially treated is `LACONIC_HOSTED_CONFIG_homepage` which can be used to replace the homepage in package.json.  With react, this gets an extra `/` though, which we need to remove.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/746
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-16 04:11:09 +00:00
David Boreham d9bb6b3588 Test Database Stack (#737)
Smoke Test / Run basic test suite (push) Successful in 3m54s Details
Deploy Test / Run deploy test suite (push) Successful in 3m40s Details
Publish / Build and publish (push) Successful in 50s Details
Webapp Test / Run webapp test suite (push) Successful in 2m33s Details
Lint Checks / Run linter (push) Failing after 3s Details
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/737
2024-02-15 05:26:29 +00:00
Thomas E Lackey b22c72e715 For k8s, use provisioner-managed volumes when an absolute host path is not specified. (#741)
In kind, when we bind-mount a host directory it is first mounted into the kind container at /mnt, then into the pod at the desired location.

We accidentally picked this up for full-blown k8s, and were creating volumes at /mnt.  This changes the behavior for both kind and regular k8s so that bind mounts are only allowed if a fully-qualified path is specified.  If no path is specified at all, a default storageClass is assumed to be present, and the volume managed by a provisioner.

Eg, for kind, the default provisioner is: https://github.com/rancher/local-path-provisioner

```
stack: test
deploy-to: k8s-kind
config:
  test-variable-1: test-value-1
network:
  ports:
    test:
     - '80'
volumes:
  # this will be bind-mounted to a host-path
  test-data-bind: /srv/data
  # this will be managed by the k8s node
  test-data-auto:
configmaps:
  test-config: ./configmap/test-config
```

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/741
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-14 21:45:01 +00:00
Thomas E Lackey c9444591f5 Fix default webapp port number. (#740)
Lint Checks / Run linter (push) Failing after 3s Details
Deploy Test / Run deploy test suite (push) Successful in 3m27s Details
Smoke Test / Run basic test suite (push) Successful in 3m54s Details
Publish / Build and publish (push) Successful in 51s Details
Webapp Test / Run webapp test suite (push) Successful in 2m41s Details
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/740
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-09 01:20:41 +00:00
Thomas E Lackey 903f3b10e2 Add support for annotations and labels in spec. (#739)
```
stack: webapp-deployer-backend
deploy-to: k8s
annotations:
  foo.bar.annot/{name}: baz
labels:
  a.b.c/{name}.blah: "value"
```

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/739
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-09 00:11:07 +00:00
Thomas E Lackey 72ed2eb91a Fix bad test in tag check. (#738)
Publish / Build and publish (push) Successful in 50s Details
K8s Deploy Test / Run deploy test suite on kind/k8s (push) Failing after 1m3s Details
Webapp Test / Run webapp test suite (push) Successful in 3m2s Details
Smoke Test / Run basic test suite (push) Successful in 3m48s Details
Lint Checks / Run linter (push) Failing after 3s Details
Deploy Test / Run deploy test suite (push) Successful in 3m30s Details
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/738
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-08 20:38:41 +00:00
David Boreham 2104eb5f30 Merge pull request 'Add Mars stack' (#725) from zach/mars into main
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/725
Reviewed-by: David Boreham <dboreham@noreply.git.vdb.to>
2024-02-08 20:30:47 +00:00
zramsay afd6be3b13 Ping pub (#663)
for #170, revives #190
uses https://github.com/LaconicNetwork/explorer/pull/1

Co-authored-by: zramsay <zach@bluecollarcoding.ca>
Co-authored-by: David Boreham <david@bozemanpass.com>
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/663
Co-authored-by: zramsay <zramsay@noreply.git.vdb.to>
Co-committed-by: zramsay <zramsay@noreply.git.vdb.to>
2024-02-08 20:13:12 +00:00
David Boreham f914baa913 Merge branch 'main' into zach/mars 2024-02-08 19:52:49 +00:00
David Boreham 8be1e684e8 Process environment variables defined in compose files (#736)
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/736
Co-authored-by: David Boreham <david@bozemanpass.com>
Co-committed-by: David Boreham <david@bozemanpass.com>
2024-02-08 19:41:57 +00:00
Thomas E Lackey 3309782439 Refactor 2024-02-08 00:47:46 -06:00
Thomas E Lackey 4b3b3478e7 Switch to Docker-style limits 2024-02-08 00:43:41 -06:00
Thomas E Lackey 2a9955055c debug 2024-02-07 16:56:35 -06:00
Thomas E Lackey 8964e1c0fe Add resource limit options to spec. 2024-02-07 16:48:02 -06:00
Thomas E Lackey d2ebb81d77 Tags for undeploy (#734)
Publish / Build and publish (push) Successful in 50s Details
Deploy Test / Run deploy test suite (push) Successful in 3m14s Details
Smoke Test / Run basic test suite (push) Successful in 3m53s Details
Lint Checks / Run linter (push) Failing after 4s Details
Webapp Test / Run webapp test suite (push) Successful in 2m42s Details
```
  --include-tags TEXT             Only include requests with matching tags
                                  (comma-separated).
  --exclude-tags TEXT             Exclude requests with matching tags (comma-
                                  separated).
```

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/734
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-07 21:45:16 +00:00
Thomas E Lackey 4a981d8d2e Fix repo URL (#733)
Needs a '/' (http) not ':' (ssh).

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/733
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-07 18:52:07 +00:00
Thomas E Lackey 88a0236ca9 Add the ability to filter deployment requests by tag. (#730)
Lint Checks / Run linter (push) Failing after 10s Details
Deploy Test / Run deploy test suite (push) Successful in 3m5s Details
Smoke Test / Run basic test suite (push) Successful in 3m55s Details
Publish / Build and publish (push) Successful in 53s Details
Webapp Test / Run webapp test suite (push) Successful in 2m37s Details
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/730
2024-02-07 03:12:40 +00:00
Thomas E Lackey 937b983ec9 Update links from github.com to git.vdb.to (#732)
Update links and references to github.com to git.vdb.to.

Also enable the flake8 lint action in gitea.

Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/732
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-06 22:42:44 +00:00
David Boreham bfbcfb7904
Volume processing fixes (#729)
Publish / Build and publish (push) Successful in 55s Details
Deploy Test / Run deploy test suite (push) Successful in 2m58s Details
Webapp Test / Run webapp test suite (push) Successful in 2m42s Details
Smoke Test / Run basic test suite (push) Successful in 3m57s Details
2024-02-06 12:32:10 -07:00
David Boreham 3d5ececba5
Remove duplicate plugin paths and resulting extraneous error message (#728) 2024-02-06 11:59:37 -07:00
David Boreham 6848fc33cf
Implement dry run support for k8s deploy (#727) 2024-02-06 07:07:56 -07:00
Thomas E Lackey 36bb068983
Add ConfigMap test. (#726)
Publish / Build and publish (push) Successful in 1m24s Details
Deploy Test / Run deploy test suite (push) Successful in 2m52s Details
K8s Deploy Test / Run deploy test suite on kind/k8s (push) Failing after 1m3s Details
Webapp Test / Run webapp test suite (push) Successful in 2m40s Details
Smoke Test / Run basic test suite (push) Successful in 4m24s Details
* Add ConfigMap test.

* eof

* Minor tweak

* Trigger test

---------

Co-authored-by: David Boreham <david@bozemanpass.com>
2024-02-05 14:15:11 -06:00
David Boreham 25a2b70f2c
Fix command in mainnet-eth docs
Publish / Build and publish (push) Successful in 52s Details
Deploy Test / Run deploy test suite (push) Successful in 2m52s Details
Webapp Test / Run webapp test suite (push) Successful in 2m42s Details
Smoke Test / Run basic test suite (push) Successful in 3m42s Details
2024-02-03 18:25:02 -07:00
Thomas E Lackey 2fcd416e29
Basic webapp deployer stack. (#722)
Webapp Test / Run webapp test suite (push) Successful in 2m35s Details
Smoke Test / Run basic test suite (push) Successful in 3m46s Details
Publish / Build and publish (push) Successful in 50s Details
Deploy Test / Run deploy test suite (push) Successful in 2m56s Details
2024-02-02 19:05:15 -07:00
Thomas E Lackey 6629017d6a
Support other webapp types (react, static). (#721)
* Support other webapp types (react, static).
2024-02-02 18:04:06 -06:00
Thomas E Lackey b398050787
Don't include volumes in spec if we don't have any. (#720)
Publish / Build and publish (push) Successful in 51s Details
Deploy Test / Run deploy test suite (push) Successful in 3m3s Details
Webapp Test / Run webapp test suite (push) Successful in 3m6s Details
Smoke Test / Run basic test suite (push) Successful in 4m56s Details
2024-01-31 15:11:32 -06:00
Thomas E Lackey 12ec1bec43
Add ConfigMap support for k8s. (#714)
Publish / Build and publish (push) Successful in 50s Details
Deploy Test / Run deploy test suite (push) Successful in 3m7s Details
Webapp Test / Run webapp test suite (push) Successful in 2m38s Details
Smoke Test / Run basic test suite (push) Successful in 3m45s Details
* Minor fixes for deploying with k8s and podman.

* ConfigMap support
2024-01-30 23:09:48 -06:00
Thomas E Lackey 62af03077f
Add deployed/error status output to the state file. (#719)
* More status info
* Up default resource limits.
* Need ps
2024-01-30 22:13:45 -06:00
Zach 098567625a
Create README.md 2024-01-30 17:47:56 -05:00
Thomas E Lackey 428b05158e
Fix DnsRecord ownership check. (#718)
Smoke Test / Run basic test suite (push) Successful in 3m45s Details
Publish / Build and publish (push) Successful in 58s Details
Deploy Test / Run deploy test suite (push) Successful in 3m3s Details
K8s Deploy Test / Run deploy test suite on kind/k8s (push) Failing after 1m3s Details
Webapp Test / Run webapp test suite (push) Successful in 2m44s Details
* Fix DnsRecord ownership check.

* Var names
2024-01-30 13:31:59 -06:00
zramsay 23ee3e19b7 mars: add env vars to docker-compose 2024-01-29 22:44:55 +00:00
zramsay 2d764fc7d0 basic mars stack 2024-01-29 16:00:58 +00:00
Thomas E Lackey 554f05de87
Fix pip3 error (#709)
Publish / Build and publish (push) Successful in 1m0s Details
Deploy Test / Run deploy test suite (push) Successful in 3m9s Details
Webapp Test / Run webapp test suite (push) Successful in 3m7s Details
Smoke Test / Run basic test suite (push) Failing after 2m25s Details
2024-01-22 21:06:15 -06:00
prathamesh0 282e175566
Remove unnecessary hyperlinks and pin image versions (#706)
Webapp Test / Run webapp test suite (push) Successful in 3m23s Details
Smoke Test / Run basic test suite (push) Successful in 4m47s Details
Publish / Build and publish (push) Successful in 56s Details
Deploy Test / Run deploy test suite (push) Successful in 3m26s Details
K8s Deploy Test / Run deploy test suite on kind/k8s (push) Has been cancelled Details
* Remove invalid dashboard and panel ids from alert rules

* Pin grafana and prometheus versions

* Configure custom grafana server URL
2024-01-17 14:02:10 +05:30
David Boreham 1f9653e6f7
Fix kind mode and add k8s deployment test (#704)
* Fix kind mode and add k8s deployment test

* Fix lint errors
2024-01-16 15:55:58 -07:00
Thomas E Lackey 0587813dd0
Create next.config.js if it is missing. (#701)
Smoke Test / Run basic test suite (push) Successful in 4m3s Details
Publish / Build and publish (push) Successful in 1m3s Details
Deploy Test / Run deploy test suite (push) Successful in 3m16s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m1s Details
Webapp Test / Run webapp test suite (push) Successful in 3m13s Details
* Create next.config.js if it is missing.

* Add comment.
2024-01-15 12:12:59 -06:00
Thomas E Lackey 4b3ea7c30f
Update independent act-runner stack to use custom act as well. (#702)
* Update independent act-runner stack to use custom act as well.

* Remove branches which are not needed or already merged.
2024-01-15 12:10:48 -06:00
Nabarun Gogoi db8aec52aa
Pin commit hash of asset list repo in osmosis frontend app (#703) 2024-01-15 16:56:06 +05:30
Thomas E Lackey b83030f63b
Use custom act with gitea. (#700)
Publish / Build and publish (push) Successful in 55s Details
Deploy Test / Run deploy test suite (push) Successful in 2m51s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m32s Details
Webapp Test / Run webapp test suite (push) Successful in 2m59s Details
Smoke Test / Run basic test suite (push) Successful in 5m28s Details
* Use custom act with gitea.

* Make sure wget is available

* Fix repo url
2024-01-09 22:53:43 -06:00
prathamesh0 a3eb3c0bb0
Setup basic alerting for watchers in monitoring stack (#698)
Webapp Test / Run webapp test suite (push) Failing after 2m36s Details
Smoke Test / Run basic test suite (push) Successful in 4m18s Details
Publish / Build and publish (push) Successful in 1m4s Details
Deploy Test / Run deploy test suite (push) Successful in 3m3s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m22s Details
* Provision Grafana alert contactpoints and policies for Slack

* Add watcher alert rules

* Update watcher monitoring instructions

* Add listening port flag to node exporter command

* Add reference links
2024-01-08 17:25:30 +05:30
Nabarun Gogoi eae2af7ccc
Upgrade watcher versions (#699)
Deploy Test / Run deploy test suite (push) Successful in 3m24s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 2m50s Details
Webapp Test / Run webapp test suite (push) Failing after 2m25s Details
Smoke Test / Run basic test suite (push) Successful in 4m3s Details
Publish / Build and publish (push) Successful in 59s Details
2024-01-08 11:51:54 +05:30
Thomas E Lackey 837e443800
Support application removal requests. (#697)
Publish / Build and publish (push) Successful in 1m10s Details
Deploy Test / Run deploy test suite (push) Successful in 3m18s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m3s Details
Webapp Test / Run webapp test suite (push) Failing after 2m34s Details
Smoke Test / Run basic test suite (push) Successful in 4m12s Details
* Support application removal request.

* Git should never prompt when deploying a webapp
2023-12-21 18:05:40 -06:00
prathamesh0 a57b0cdd26
Add a stack for prom node exporter and its dashboard in monitoring stack (#696)
Publish / Build and publish (push) Successful in 1m0s Details
Deploy Test / Run deploy test suite (push) Successful in 3m10s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m14s Details
Webapp Test / Run webapp test suite (push) Failing after 2m51s Details
Smoke Test / Run basic test suite (push) Successful in 4m13s Details
* Add a stack for Prometheus node exporter

* Add node exporter dashboard to monitoring stack
2023-12-21 15:15:03 +05:30
prathamesh0 38622fb33c
[WIP] Use templating for watcher dashboard and add Postgres exporter (#695)
* Add Postgres exporter and it's dashboard

* Use templating for watcher dashboard

* Add subgraph related panels to watcher dashboard

* Remove individual watcher dashboards and update instructions
2023-12-21 13:41:36 +05:30
prathamesh0 4a1a46facc
Update monitoring stack with additional dashboards and watcher metrics (#693)
Publish / Build and publish (push) Successful in 1m4s Details
Deploy Test / Run deploy test suite (push) Successful in 3m22s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m6s Details
Webapp Test / Run webapp test suite (push) Failing after 2m51s Details
Smoke Test / Run basic test suite (push) Successful in 4m29s Details
* Include retry jobs and update default refresh intervals

* Add prometheus blackbox exporter and it's dashboard

* Add NodeJS application dashboard

* Allow UI updates

* Update watcher dashboards for upstream and external chain heads

* Update watcher dashboards with watcher config metrics

* Upgrade sushiswap and azimuth watchers

* Removed fixed title size values

* Update instructions

* Update instructions for env config

* Update instructions with setup
2023-12-21 09:26:37 +05:30
Zach 42b92f7e23
use square logo for an urbit tile (#689)
Deploy Test / Run deploy test suite (push) Successful in 3m7s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m8s Details
Webapp Test / Run webapp test suite (push) Failing after 2m58s Details
Smoke Test / Run basic test suite (push) Successful in 4m21s Details
Publish / Build and publish (push) Successful in 57s Details
* use square logo for an urbit tile

* bump version, improve info text
2023-12-19 09:50:14 -05:00
Nabarun Gogoi def192edab
Update new environment values for Osmosis frontend app (#694)
Publish / Build and publish (push) Successful in 55s Details
Deploy Test / Run deploy test suite (push) Successful in 3m28s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m26s Details
Webapp Test / Run webapp test suite (push) Failing after 2m43s Details
Smoke Test / Run basic test suite (push) Successful in 5m19s Details
* Update new env values for Osmosis frontend app

* Use .env.production instead of local
2023-12-18 17:49:45 +05:30
David Boreham d8357df345
Add image pull secret to pods (#692)
Publish / Build and publish (push) Successful in 56s Details
Deploy Test / Run deploy test suite (push) Successful in 3m16s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m14s Details
Webapp Test / Run webapp test suite (push) Failing after 2m37s Details
Smoke Test / Run basic test suite (push) Successful in 4m26s Details
2023-12-15 14:27:45 -07:00
Thomas E Lackey 997496b8a5
Update script for new nextjs build output. (#691)
Smoke Test / Run basic test suite (push) Successful in 4m7s Details
Publish / Build and publish (push) Successful in 57s Details
Deploy Test / Run deploy test suite (push) Successful in 3m9s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m5s Details
Webapp Test / Run webapp test suite (push) Failing after 2m36s Details
2023-12-14 19:47:30 -06:00
Thomas E Lackey 61f2884505
Reduce base image size (first round of improvements) (#690) 2023-12-14 17:46:03 -06:00
Thomas E Lackey 27a14737f8
Make the container tag based on the deployment path. (#688)
Publish / Build and publish (push) Successful in 58s Details
Deploy Test / Run deploy test suite (push) Successful in 3m24s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m2s Details
Webapp Test / Run webapp test suite (push) Failing after 3m33s Details
Smoke Test / Run basic test suite (push) Successful in 4m0s Details
2023-12-14 09:49:21 -06:00
prathamesh0 b9b758bfdd
Add a stack for running Osmosis frontend app on Urbit (#683)
* Deploy osmosis on Urbit fake ship

* Remove Urbit configuration from existing osmosis stack

* Add a separate stack for Osmosis front end on Urbit

* Run script for renaming build files with bash

* Add environment variables required in urbit osmosis build

* Fix BASEPATH in compose file

* Remove ipfs-glob-host from network config in osmosis readme

* Use laconic branch for osmosis frontend

---------

Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
2023-12-14 17:28:10 +05:30
prathamesh0 9ba410b095
Add a stack for monitoring watchers with prometheus and grafana (#687)
* Setup Prometheus and Grafana for monitoring stack

* Add dashboard for azimuth watchers

* Add a dashboard for sushiswap watcher

* Persist prometheus server data

* Additional metrics in watcher dashboards

* Update dashboards and add for merkl sushiswap watcher

* Add dashboards for remaining azimuth watchers

* Separate out preconfigured watcher dashboards and add instructions

* Keep the empty dashboards dir
2023-12-14 16:59:00 +05:30
Thomas E Lackey 1f4eb57069
Add --dry-run option (#686)
Webapp Test / Run webapp test suite (push) Failing after 3m51s Details
Smoke Test / Run basic test suite (push) Successful in 3m59s Details
Publish / Build and publish (push) Successful in 56s Details
Deploy Test / Run deploy test suite (push) Successful in 3m12s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m10s Details
2023-12-13 22:56:40 -06:00
Thomas E Lackey 88f66a3626
Add `deployment update` and `deploy-webapp-from-registry` commands. (#676) 2023-12-13 21:02:34 -06:00
prathamesh0 1ef0b316c6
Expose metrics endpoints for sushiswap and merkl sushiswap watchers (#685)
Publish / Build and publish (push) Successful in 1m4s Details
Deploy Test / Run deploy test suite (push) Successful in 3m11s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m13s Details
Webapp Test / Run webapp test suite (push) Failing after 3m49s Details
Smoke Test / Run basic test suite (push) Successful in 4m14s Details
2023-12-13 14:58:26 +05:30
prathamesh0 232d5618cb
Update instructions in osmosis stack (#684)
Deploy Test / Run deploy test suite (push) Successful in 3m16s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m12s Details
Webapp Test / Run webapp test suite (push) Failing after 3m52s Details
Smoke Test / Run basic test suite (push) Successful in 4m19s Details
Publish / Build and publish (push) Successful in 57s Details
2023-12-12 13:54:00 +05:30
Nabarun Gogoi fa6b570f4a
Add stack for running osmosis frontend app (#673)
Publish / Build and publish (push) Successful in 1m8s Details
Deploy Test / Run deploy test suite (push) Successful in 3m17s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m30s Details
Webapp Test / Run webapp test suite (push) Failing after 4m47s Details
Smoke Test / Run basic test suite (push) Successful in 4m37s Details
* osmosis FE stack

* chmod

* dont use 3000

* fix for neww stack format

* updates

* update osmosis readme

* Update stack.yml

* Update osmosis frontend stack to serve app

* Host osmosis app static build using python server

* Fix mapped ports in deployment for containers

* Update instructions

* Use nginx server to host files and handle page reloads

* Fix typo

---------

Co-authored-by: zramsay <zach@bluecollarcoding.ca>
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2023-12-11 14:10:54 +05:30
prathamesh0 f9eb5a4ba8
Refactor to make Urbit setup generic (#682)
K8s Deploy Test / Run deploy test suite (push) Failing after 3m20s Details
Webapp Test / Run webapp test suite (push) Failing after 3m42s Details
Smoke Test / Run basic test suite (push) Successful in 4m28s Details
Publish / Build and publish (push) Successful in 56s Details
Deploy Test / Run deploy test suite (push) Successful in 3m14s Details
* Refactor to make Urbit app deployment script generic

* Rename urbit pod and update instructions

* Add a flag to allow skipping app installation on Urbit

* Make remote Urbit app deployment scripts generic

* Move remote deployment scripts to urbit fixturenet

* Update and use existing kubo pod for Urbit glob hosting
2023-12-08 09:35:00 +05:30
Thomas E Lackey 077ea80c70
Add `deployment status` command and fix k8s output for `deployment ps` (#679)
Publish / Build and publish (push) Successful in 59s Details
Deploy Test / Run deploy test suite (push) Successful in 3m13s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m16s Details
Webapp Test / Run webapp test suite (push) Failing after 3m48s Details
Smoke Test / Run basic test suite (push) Successful in 4m25s Details
2023-12-06 09:27:47 -07:00
David Boreham 15faed00de
Generate a unique deployment id for each deployment (#680)
Publish / Build and publish (push) Successful in 1m8s Details
Deploy Test / Run deploy test suite (push) Successful in 3m13s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m16s Details
Webapp Test / Run webapp test suite (push) Failing after 3m44s Details
Smoke Test / Run basic test suite (push) Successful in 4m40s Details
* Move cluster name generation into a function

* Generate a unique deployment id for each deployment
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
2023-12-06 10:41:10 +05:30
prathamesh0 f27da19808
Use IPFS for hosting glob files for Urbit (#677)
Publish / Build and publish (push) Successful in 1m10s Details
Deploy Test / Run deploy test suite (push) Successful in 3m23s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m13s Details
Webapp Test / Run webapp test suite (push) Failing after 3m42s Details
Smoke Test / Run basic test suite (push) Successful in 4m7s Details
* 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
2023-12-05 15:00:03 +05:30
Thomas E Lackey 2dd54892a1
Allow specifying the webapp tag explicitly (#675)
Webapp Test / Run webapp test suite (push) Failing after 3m56s Details
Smoke Test / Run basic test suite (push) Successful in 4m17s Details
Publish / Build and publish (push) Successful in 56s Details
Deploy Test / Run deploy test suite (push) Successful in 3m23s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m19s Details
2023-12-04 21:39:16 -06:00
Thomas E Lackey ab0e70ed83
Change path portion of unique cluster name to point to compose file, not argv[0]. (#678)
Publish / Build and publish (push) Successful in 1m6s Details
Deploy Test / Run deploy test suite (push) Successful in 3m28s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m16s Details
Webapp Test / Run webapp test suite (push) Failing after 3m55s Details
Smoke Test / Run basic test suite (push) Successful in 4m8s Details
2023-12-04 13:39:14 -06:00
Nabarun Gogoi c319e90ddd
Add a stack for running uniswap frontend on urbit (#670)
Webapp Test / Run webapp test suite (push) Failing after 4m0s Details
Smoke Test / Run basic test suite (push) Successful in 4m31s Details
Publish / Build and publish (push) Successful in 1m2s Details
Deploy Test / Run deploy test suite (push) Successful in 3m12s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m3s Details
* 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>
2023-12-04 18:39:19 +05:30
Thomas E Lackey 2173e7ce6a
If the next version is unsupported, print a big warning and try higher version. (#674)
Smoke Test / Run basic test suite (push) Successful in 4m9s Details
Publish / Build and publish (push) Successful in 58s Details
Deploy Test / Run deploy test suite (push) Successful in 3m47s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 2m56s Details
Webapp Test / Run webapp test suite (push) Failing after 3m42s Details
2023-11-30 12:33:06 -06:00
David Boreham d7093277b4
Use constants (#671) 2023-11-29 20:50:53 -07:00
Thomas E Lackey 03a3645b3c
Add --port option to run-webapp. (#667)
K8s Deploy Test / Run deploy test suite (push) Failing after 3m1s Details
Webapp Test / Run webapp test suite (push) Failing after 3m30s Details
Smoke Test / Run basic test suite (push) Successful in 4m2s Details
Publish / Build and publish (push) Successful in 58s Details
Deploy Test / Run deploy test suite (push) Successful in 3m18s Details
* Add --port option to run-webapp

* Fixed merge

* lint
2023-11-29 11:32:28 -06:00
David Boreham 113c0bfbf1
Propagate env file for webapp deployment (#669)
Deploy Test / Run deploy test suite (push) Successful in 3m21s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m7s Details
Webapp Test / Run webapp test suite (push) Failing after 3m53s Details
Smoke Test / Run basic test suite (push) Successful in 4m7s Details
Publish / Build and publish (push) Successful in 57s Details
2023-11-28 21:14:02 -07:00
David Boreham 1a069a6816
Use a temp file for the spec file name (#668) 2023-11-28 19:56:12 -07:00
David Boreham a68cd5d65c
Webapp deploy (#662)
Webapp Test / Run webapp test suite (push) Failing after 4m1s Details
Smoke Test / Run basic test suite (push) Successful in 4m14s Details
Publish / Build and publish (push) Successful in 58s Details
Deploy Test / Run deploy test suite (push) Successful in 3m40s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m20s Details
2023-11-27 22:02:16 -07:00
Nabarun Gogoi 1b94db27c1
Upgrade azimuth watcher release version to `0.1.2` (#666)
K8s Deploy Test / Run deploy test suite (push) Failing after 3m8s Details
Webapp Test / Run webapp test suite (push) Failing after 3m33s Details
Smoke Test / Run basic test suite (push) Successful in 4m13s Details
Publish / Build and publish (push) Successful in 59s Details
Deploy Test / Run deploy test suite (push) Successful in 2m59s Details
* Upgrade azimuth watcher release version

* Fix version for azimuth watcher repo
2023-11-24 14:05:37 +05:30
prathamesh0 9499941891
Increase max connections for Azimuth watcher dbs (#665)
Webapp Test / Run webapp test suite (push) Failing after 3m34s Details
Smoke Test / Run basic test suite (push) Successful in 4m18s Details
Publish / Build and publish (push) Successful in 57s Details
Deploy Test / Run deploy test suite (push) Successful in 3m9s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m17s Details
2023-11-23 19:11:02 +05:30
Nabarun Gogoi 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>
2023-11-23 15:00:18 +05:30
Thomas E Lackey 1a37255c18
Tweak laconicd config to allow setting endpoint port and to make the fixturenet restartable. (#660)
K8s Deploy Test / Run deploy test suite (push) Failing after 2m59s Details
Webapp Test / Run webapp test suite (push) Failing after 3m31s Details
Smoke Test / Run basic test suite (push) Successful in 4m3s Details
Publish / Build and publish (push) Successful in 55s Details
Deploy Test / Run deploy test suite (push) Successful in 3m21s Details
* Endpoint includes port

* Make it restartable

* Don't try to remove the mounted directory

* Make copy of init.sh
2023-11-22 11:31:30 -06:00
David Boreham 87bedde5cb
Support for k8s ingress and tls (#659)
Smoke Test / Run basic test suite (push) Successful in 4m9s Details
Publish / Build and publish (push) Successful in 1m3s Details
Deploy Test / Run deploy test suite (push) Successful in 3m1s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m4s Details
Webapp Test / Run webapp test suite (push) Failing after 3m34s Details
2023-11-21 16:04:36 -07:00
David Boreham 01029cf7aa
Fix for code path that doesn't create a DeploymentContext (#658) 2023-11-21 08:35:31 -07:00
Nabarun Gogoi 0b87c12c13
Upgrade merkl and sushiswap watcher to `v0.1.4` (#657)
Publish / Build and publish (push) Successful in 55s Details
Deploy Test / Run deploy test suite (push) Successful in 3m36s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m11s Details
Webapp Test / Run webapp test suite (push) Failing after 4m21s Details
Smoke Test / Run basic test suite (push) Successful in 4m4s Details
* Upgrade merkl and sushi watcher versions

* Set gqlPath to base URL and remove filling start block

* Upgrade watcher versions to 0.1.4
2023-11-21 19:07:09 +05:30
David Boreham f6624cb33a
Add image push command (#656)
Publish / Build and publish (push) Successful in 57s Details
Deploy Test / Run deploy test suite (push) Successful in 3m6s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m10s Details
Webapp Test / Run webapp test suite (push) Failing after 3m37s Details
Smoke Test / Run basic test suite (push) Successful in 4m8s Details
2023-11-20 20:23:55 -07:00
David Boreham c9c6a0eee3
Changes for remote k8s (#655)
Publish / Build and publish (push) Successful in 1m2s Details
Deploy Test / Run deploy test suite (push) Successful in 3m6s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m4s Details
Webapp Test / Run webapp test suite (push) Failing after 3m36s Details
Smoke Test / Run basic test suite (push) Successful in 4m4s Details
2023-11-20 09:12:57 -07:00
Thomas E Lackey 5c80887215
Fix missing tty parameter. (#653)
Smoke Test / Run basic test suite (push) Successful in 3m55s Details
Publish / Build and publish (push) Successful in 59s Details
Deploy Test / Run deploy test suite (push) Successful in 3m3s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 2m59s Details
Webapp Test / Run webapp test suite (push) Failing after 3m34s Details
2023-11-16 12:58:03 -06:00
Ian 80c4b9214b
Merge pull request #643 from cerc-io/iskay/update-optimism
Iskay/update optimism
2023-11-16 12:31:57 -05:00
Nabarun Gogoi 70529c43e7
Upgrade merkl and sushiswap watcher versions (#654)
Publish / Build and publish (push) Successful in 1m37s Details
Deploy Test / Run deploy test suite (push) Successful in 3m30s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m8s Details
Webapp Test / Run webapp test suite (push) Failing after 3m56s Details
Smoke Test / Run basic test suite (push) Successful in 4m4s Details
2023-11-16 16:27:41 +05:30
Thomas E Lackey 2059d67dca
Add run-webapp command. (#651) 2023-11-15 10:54:27 -07:00
David Boreham 638fa01649
Support external stack file (#650)
Deploy Test / Run deploy test suite (push) Successful in 3m4s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 2m59s Details
Webapp Test / Run webapp test suite (push) Failing after 3m39s Details
Smoke Test / Run basic test suite (push) Successful in 4m6s Details
Publish / Build and publish (push) Successful in 53s Details
2023-11-14 20:59:48 -07:00
Thomas E Lackey 4ae4d3b61d
Print docker container logs in webapp test. (#649)
Publish / Build and publish (push) Successful in 1m15s Details
Deploy Test / Run deploy test suite (push) Successful in 3m2s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m27s Details
Webapp Test / Run webapp test suite (push) Failing after 3m35s Details
Smoke Test / Run basic test suite (push) Successful in 4m7s Details
2023-11-14 17:30:01 -06:00
Thomas E Lackey 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`.
2023-11-14 16:07:26 -06:00
iskay f088cbb3b0 fix linter errors 2023-11-14 14:38:49 +00:00
Thomas E Lackey f1f618c57a
Don't change the next.js version by default. (#640)
Publish / Build and publish (push) Successful in 58s Details
Deploy Test / Run deploy test suite (push) Successful in 2m55s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 2m57s Details
Webapp Test / Run webapp test suite (push) Failing after 3m40s Details
Smoke Test / Run basic test suite (push) Successful in 3m55s Details
2023-11-13 11:56:04 -06:00
Nabarun Gogoi 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
2023-11-13 17:36:37 +05:30
Nabarun Gogoi a04730e7ac
Add a merkl-sushiswap-v3 watcher stack (#641)
Smoke Test / Run basic test suite (push) Successful in 4m2s Details
Publish / Build and publish (push) Successful in 59s Details
Deploy Test / Run deploy test suite (push) Successful in 2m55s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 2m56s Details
Webapp Test / Run webapp test suite (push) Failing after 3m40s Details
* Add a merkl-sushiswap-v3 watcher stack

* Remove unrequired image from list
2023-11-13 11:13:55 +05:30
prathamesh0 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>
2023-11-13 10:58:55 +05:30
Thomas E Lackey 414b887036
Allow setting build tool (npm/yarn) and next.js version. (#639)
Publish / Build and publish (push) Successful in 1m7s Details
Deploy Test / Run deploy test suite (push) Successful in 3m3s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 2m58s Details
Webapp Test / Run webapp test suite (push) Failing after 3m38s Details
Smoke Test / Run basic test suite (push) Successful in 3m48s Details
* Allow setting build tool (npm/yarn) and next.js version.
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
Thomas E Lackey 042b413598
Support the case where webpack config is already present next.config.js (#631)
Smoke Test / Run basic test suite (push) Successful in 4m16s Details
Publish / Build and publish (push) Successful in 58s Details
Deploy Test / Run deploy test suite (push) Successful in 3m19s Details
K8s Deploy Test / Run deploy test suite (push) Failing after 3m5s Details
Webapp Test / Run webapp test suite (push) Failing after 3m34s Details
* Support the case where webpack config is already present next.config.js

* Update scripts for experimental-compile/experimental-generate
2023-11-08 23:44:48 -06:00
David Boreham ce587457d7
Add env var support for k8s (#634) 2023-11-08 17:53:46 -07:00
David Boreham 5e91c2224e
kind test stack (#629)
Publish / Build and publish (push) Successful in 58s Details
Deploy Test / Run deploy test suite (push) Successful in 3m7s Details
Webapp Test / Run webapp test suite (push) Failing after 3m37s Details
Smoke Test / Run basic test suite (push) Successful in 4m1s Details
2023-11-08 01:11:00 -07:00
Thomas E Lackey 660326f713
Add new build-webapp command and related scripts and containers. (#626)
Publish / Build and publish (push) Successful in 59s Details
Deploy Test / Run deploy test suite (push) Successful in 2m57s Details
Webapp Test / Run webapp test suite (push) Failing after 3m31s Details
Smoke Test / Run basic test suite (push) Successful in 4m3s Details
* Add new build-webapp command and related scripts and containers.
2023-11-07 18:15:04 -06:00
David Boreham 4456e70c93
Rename app -> stack_orchestrator (#625)
Publish / Build and publish (push) Successful in 1m0s Details
Deploy Test / Run deploy test suite (push) Successful in 3m25s Details
Smoke Test / Run basic test suite (push) Successful in 4m21s Details
2023-11-07 00:06:55 -07:00