diff --git a/app/build_containers.py b/app/build_containers.py index 6cd8f2b8..1ed3cb16 100644 --- a/app/build_containers.py +++ b/app/build_containers.py @@ -115,7 +115,7 @@ def command(ctx, include, exclude, force_rebuild, extra_build_args): # TODO: make this less of a hack -- should be specified in some metadata somewhere # Check if we have a repo for this container. If not, set the context dir to the container-build subdir repo_full_path = os.path.join(dev_root_path, repo_dir) - repo_dir_or_build_dir = repo_dir if os.path.exists(repo_full_path) else build_dir + repo_dir_or_build_dir = repo_full_path if os.path.exists(repo_full_path) else build_dir build_command = os.path.join(container_build_dir, "default-build.sh") + f" {container}:local {repo_dir_or_build_dir}" if not dry_run: if verbose: diff --git a/app/data/container-image-list.txt b/app/data/container-image-list.txt index 6cf5819b..b52b763d 100644 --- a/app/data/container-image-list.txt +++ b/app/data/container-image-list.txt @@ -38,4 +38,5 @@ cerc/optimism-op-node cerc/optimism-op-proposer cerc/pocket cerc/watcher-azimuth +cerc/ipld-eth-state-snapshot cerc/lotus diff --git a/app/data/repository-list.txt b/app/data/repository-list.txt index abf84230..99e3417e 100644 --- a/app/data/repository-list.txt +++ b/app/data/repository-list.txt @@ -30,4 +30,5 @@ ethereum-optimism/optimism pokt-network/pocket-core pokt-network/pocket-core-deployments cerc-io/azimuth-watcher-ts +cerc-io/ipld-eth-state-snapshot filecoin-project/lotus diff --git a/app/data/stacks/build-support/README.md b/app/data/stacks/build-support/README.md index fd85927f..48487731 100644 --- a/app/data/stacks/build-support/README.md +++ b/app/data/stacks/build-support/README.md @@ -30,7 +30,7 @@ $ laconic-so --stack package-registry deploy up ⠿ Container laconic-aecc4a21d3a502b14522db97d427e850-server-1 Started 1.9s New user 'gitea_admin' has been successfully created! This is your gitea access token: 84fe66a73698bf11edbdccd0a338236b7d1d5c45. Keep it safe and secure, it can not be fetched again from gitea. -To use with laconic-so set this environment variable: export CERC_NPM_AUTH_TOKEN=3e493e77b3e83fe9e882f7e3a79dd4d5441c308b +To use with laconic-so set this environment variable: export CERC_NPM_AUTH_TOKEN=84fe66a73698bf11edbdccd0a338236b7d1d5c45 Created the organization cerc-io Gitea was configured to use host name: gitea.local, ensure that this resolves to localhost, e.g. with sudo vi /etc/hosts Success, gitea is properly initialized diff --git a/app/data/stacks/chain-chunker/README.md b/app/data/stacks/chain-chunker/README.md new file mode 100644 index 00000000..e69de29b diff --git a/app/data/stacks/chain-chunker/stack.yml b/app/data/stacks/chain-chunker/stack.yml new file mode 100644 index 00000000..f7676d34 --- /dev/null +++ b/app/data/stacks/chain-chunker/stack.yml @@ -0,0 +1,13 @@ +version: "1.0" +name: chain-chunker +decription: "Stack to build containers for chain-chunker" +repos: + - cerc-io/ipld-eth-state-snapshot + - cerc-io/eth-statediff-service + - cerc-io/ipld-eth-db + - cerc-io/ipld-eth-server +containers: + - cerc/ipld-eth-state-snapshot + - cerc/eth-statediff-service + - cerc/ipld-eth-db + - cerc/ipld-eth-server diff --git a/app/data/stacks/kubo/README.md b/app/data/stacks/kubo/README.md index e9b12321..8388ecf6 100644 --- a/app/data/stacks/kubo/README.md +++ b/app/data/stacks/kubo/README.md @@ -12,10 +12,10 @@ If running in the cloud, visit `IP:5001/webui` and you'll likely see this error: 1. Get the container name with `docker ps`: -2. Go into the container (replace with your container name): +2. Go into the container: ``` -docker exec -it laconic-dbbf5498fd7d322930b9484121a6a5f4-ipfs-1 sh +laconic-so --stack kubo deploy exec ipfs sh ``` 3. Enable CORS as described in point 2 of the error message. Copy/paste/run each line in sequence, then run `exit` to exit the container. diff --git a/docs/laconicd-fixturenet.md b/docs/laconicd-fixturenet.md index eacdf33e..b00cfb3c 100644 --- a/docs/laconicd-fixturenet.md +++ b/docs/laconicd-fixturenet.md @@ -162,7 +162,13 @@ Published demo-record-1.yml with id: bafyreierh3xnfivexlscdwubvczmddsnf46uytyfvr The sample record we deployed looks like: ``` -TODO +record: + type: WebsiteRegistrationRecord + url: 'https://cerc.io' + repo_registration_record_cid: QmSnuWmxptJZdLJpKRarxBMS2Ju2oANVrgbr2xWbie9b2D + build_artifact_cid: QmP8jTG1m9GSDJLCbeWhVSVgEzCPPwXRdCRuJtQ5Tz9Kc9 + tls_cert_cid: QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR + version: 1.0.23 ``` 2. Return to the laconic-console