From 6baa2e231416edcca72d0816942145b64a6d1d26 Mon Sep 17 00:00:00 2001 From: "jonathan@vulcanize.io" Date: Fri, 12 Apr 2024 17:14:21 +0000 Subject: [PATCH] lotus stack --- .../container-build/cerc-lotus/Dockerfile | 2 +- .../data/stacks/mainnet-lotus/README.md | 26 +++++++++++++++++++ .../data/stacks/mainnet-lotus/stack.yml | 10 +++++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 stack_orchestrator/data/stacks/mainnet-lotus/README.md create mode 100644 stack_orchestrator/data/stacks/mainnet-lotus/stack.yml diff --git a/stack_orchestrator/data/container-build/cerc-lotus/Dockerfile b/stack_orchestrator/data/container-build/cerc-lotus/Dockerfile index 01e252b2..e276078c 100644 --- a/stack_orchestrator/data/container-build/cerc-lotus/Dockerfile +++ b/stack_orchestrator/data/container-build/cerc-lotus/Dockerfile @@ -1,5 +1,5 @@ ##################################### -FROM golang:1.19.12-bullseye AS lotus-builder +FROM golang:1.21.7-bullseye AS lotus-builder MAINTAINER Lotus Development Team RUN apt-get update && apt-get install -y ca-certificates build-essential clang ocl-icd-opencl-dev ocl-icd-libopencl1 jq libhwloc-dev diff --git a/stack_orchestrator/data/stacks/mainnet-lotus/README.md b/stack_orchestrator/data/stacks/mainnet-lotus/README.md new file mode 100644 index 00000000..c9d25b4a --- /dev/null +++ b/stack_orchestrator/data/stacks/mainnet-lotus/README.md @@ -0,0 +1,26 @@ +# Blast stack + +## Clone required repositories +``` +$ laconic-so --stack mainnet-lotus setup-repositories +``` +## Build the stack's containers +``` +$ laconic-so --stack mainnet-lotus build-containers +``` +## Create a deployment of the stack +``` +$ laconic-so --stack mainnet-lotus deploy init --map-ports-to-host any-same --output lotus-spec.yml +``` +[Insert details on how to configure the stack] +``` +$ laconic-so --stack mainnet-lotus deploy create --deployment-dir lotus-deployment --spec-file lotus-spec.yml +``` +## Start the stack +``` +$ laconic-so deployment --dir lotus-deployment start +``` +Check logs: +``` +$ laconic-so deployment --dir lotus-deployment logs +``` diff --git a/stack_orchestrator/data/stacks/mainnet-lotus/stack.yml b/stack_orchestrator/data/stacks/mainnet-lotus/stack.yml new file mode 100644 index 00000000..47b22167 --- /dev/null +++ b/stack_orchestrator/data/stacks/mainnet-lotus/stack.yml @@ -0,0 +1,10 @@ +version: "1.0" +name: mainnet-lotus +description: "A lotus stack" +repos: + - git.vdb.to/cerc-io/lotus +containers: + - cerc/webapp-base + - cerc/lotus +pods: + - mainnet-lotus