From c9bb0d0ccbec00a332b7e0ad141814a804b06ff5 Mon Sep 17 00:00:00 2001 From: Zach Date: Fri, 23 Jun 2023 14:27:05 -0400 Subject: [PATCH] Lasso stack (#434) * lasso stack * add readme * copy pasta --- app/data/compose/docker-compose-lasso.yml | 8 ++++++++ app/data/container-build/cerc-lasso/build.sh | 4 ++++ app/data/container-image-list.txt | 1 + app/data/pod-list.txt | 1 + app/data/repository-list.txt | 1 + app/data/stacks/lasso/README.md | 7 +++++++ app/data/stacks/lasso/stack.yml | 8 ++++++++ 7 files changed, 30 insertions(+) create mode 100644 app/data/compose/docker-compose-lasso.yml create mode 100755 app/data/container-build/cerc-lasso/build.sh create mode 100644 app/data/stacks/lasso/README.md create mode 100644 app/data/stacks/lasso/stack.yml diff --git a/app/data/compose/docker-compose-lasso.yml b/app/data/compose/docker-compose-lasso.yml new file mode 100644 index 00000000..6e54b5ee --- /dev/null +++ b/app/data/compose/docker-compose-lasso.yml @@ -0,0 +1,8 @@ +version: "3.2" + +services: + lasso: + image: cerc/lasso:local + restart: always + ports: + - "0.0.0.0:3000:3000" diff --git a/app/data/container-build/cerc-lasso/build.sh b/app/data/container-build/cerc-lasso/build.sh new file mode 100755 index 00000000..a27f2fcd --- /dev/null +++ b/app/data/container-build/cerc-lasso/build.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +# Build the lasso image +source ${CERC_CONTAINER_BASE_DIR}/build-base.sh +docker build -t cerc/lasso:local -f ${CERC_REPO_BASE_DIR}/lasso/Dockerfile ${build_command_args} ${CERC_REPO_BASE_DIR}/lasso diff --git a/app/data/container-image-list.txt b/app/data/container-image-list.txt index 5ed4b2d2..3e4877c0 100644 --- a/app/data/container-image-list.txt +++ b/app/data/container-image-list.txt @@ -42,3 +42,4 @@ cerc/ipld-eth-state-snapshot cerc/watcher-gelato cerc/lotus cerc/go-opera +cerc/lasso diff --git a/app/data/pod-list.txt b/app/data/pod-list.txt index a871c112..70fc5330 100644 --- a/app/data/pod-list.txt +++ b/app/data/pod-list.txt @@ -29,3 +29,4 @@ watcher-azimuth watcher-gelato fixturenet-lotus mainnet-go-opera +lasso diff --git a/app/data/repository-list.txt b/app/data/repository-list.txt index 3d159686..7c7bc1d4 100644 --- a/app/data/repository-list.txt +++ b/app/data/repository-list.txt @@ -35,3 +35,4 @@ github.com/cerc-io/gelato-watcher-ts github.com/filecoin-project/lotus git.vdb.to/cerc-io/test-project github.com/Fantom-foundation/go-opera +github.com/cerc-io/lasso diff --git a/app/data/stacks/lasso/README.md b/app/data/stacks/lasso/README.md new file mode 100644 index 00000000..226e4e39 --- /dev/null +++ b/app/data/stacks/lasso/README.md @@ -0,0 +1,7 @@ +# lasso + +``` +laconic-so --stack lasso setup-repositories +laconic-so --stack lasso build-containers +laconic-so --stack lasso deploy up +``` diff --git a/app/data/stacks/lasso/stack.yml b/app/data/stacks/lasso/stack.yml new file mode 100644 index 00000000..e756202c --- /dev/null +++ b/app/data/stacks/lasso/stack.yml @@ -0,0 +1,8 @@ +version: "0.1" +name: lasso +repos: + - github.com/cerc-io/lasso +containers: + - cerc/lasso +pods: + - lasso