forked from cerc-io/stack-orchestrator
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a750f0d9e | ||
|
|
8a6ba6d01b | ||
|
|
b4ddef7ff0 | ||
|
|
a38ac5470d | ||
|
|
77380aec94 | ||
|
|
ce7e5f2d82 | ||
|
|
4dda8e2a87 | ||
|
|
24ab259741 | ||
|
|
607575e4f4 | ||
|
|
86e245e272 | ||
|
|
d677e5f369 | ||
|
|
9991baa8d6 |
@@ -13,6 +13,8 @@ services:
|
|||||||
grafana:
|
grafana:
|
||||||
restart: always
|
restart: always
|
||||||
image: grafana/grafana
|
image: grafana/grafana
|
||||||
|
environment:
|
||||||
|
- GF_SECURITY_ADMIN_PASSWORD=changeme6325
|
||||||
volumes:
|
volumes:
|
||||||
- ../config/fixturenet-eth-metrics/grafana/etc/provisioning/dashboards:/etc/grafana/provisioning/dashboards
|
- ../config/fixturenet-eth-metrics/grafana/etc/provisioning/dashboards:/etc/grafana/provisioning/dashboards
|
||||||
- ../config/fixturenet-eth-metrics/grafana/etc/provisioning/datasources:/etc/grafana/provisioning/datasources
|
- ../config/fixturenet-eth-metrics/grafana/etc/provisioning/datasources:/etc/grafana/provisioning/datasources
|
||||||
|
|||||||
@@ -16,6 +16,12 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive && export DEBCONF_NO
|
|||||||
RUN mkdir /scripts
|
RUN mkdir /scripts
|
||||||
COPY install-dependencies.sh /scripts
|
COPY install-dependencies.sh /scripts
|
||||||
|
|
||||||
|
# Override the definition of GERBIL_PATH in the base image, but
|
||||||
|
# is safe because (at present) no gerbil packages are installed in the base image
|
||||||
|
# We do this in order to allow a set of pre-installed packages from the container
|
||||||
|
# to be used with an arbitrary, potentially different set of projects bind mounted
|
||||||
|
# at /src
|
||||||
|
ENV GERBIL_PATH=/.gerbil
|
||||||
RUN bash /scripts/install-dependencies.sh
|
RUN bash /scripts/install-dependencies.sh
|
||||||
|
|
||||||
# Needed to prevent git from raging about /src
|
# Needed to prevent git from raging about /src
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ DEPS=(github.com/fare/gerbil-utils
|
|||||||
github.com/vyzo/gerbil-libp2p
|
github.com/vyzo/gerbil-libp2p
|
||||||
) ;
|
) ;
|
||||||
for i in ${DEPS[@]} ; do
|
for i in ${DEPS[@]} ; do
|
||||||
|
echo "Installing gerbil package: $i"
|
||||||
gxpkg install $i &&
|
gxpkg install $i &&
|
||||||
gxpkg build $i
|
gxpkg build $i
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ if [ -n "$CERC_SCRIPT_DEBUG" ]; then
|
|||||||
set -x
|
set -x
|
||||||
fi
|
fi
|
||||||
export LIGHTHOUSE_BASE_URL="http://fixturenet-eth-lighthouse-1:8001"
|
export LIGHTHOUSE_BASE_URL="http://fixturenet-eth-lighthouse-1:8001"
|
||||||
export GETH_BASE_URL="http://fixturenet-eth-geth-1-1:8545"
|
export GETH_BASE_URL="http://fixturenet-eth-geth-1:8545"
|
||||||
# See: https://stackoverflow.com/a/246128/1701505
|
# See: https://stackoverflow.com/a/246128/1701505
|
||||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||||
$SCRIPT_DIR/status.sh
|
$SCRIPT_DIR/status.sh
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
# Use locally build foundry base image to work around there being
|
FROM ghcr.io/foundry-rs/foundry
|
||||||
# no aarm64 image published.
|
|
||||||
FROM foundry-rs/foundry:local
|
|
||||||
|
|
||||||
RUN apk update ; apk add --no-cache --allow-untrusted ca-certificates curl bash git jq
|
RUN apk update ; apk add --no-cache --allow-untrusted ca-certificates curl bash git jq
|
||||||
RUN apk add --no-cache --upgrade grep
|
RUN apk add --no-cache --upgrade grep
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
# fixturenet-eth
|
||||||
|
|
||||||
|
A "loaded" version of fixturenet-eth, with all the bells and whistles enabled.
|
||||||
|
|
||||||
|
TODO: write me
|
||||||
|
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
version: "1.0"
|
||||||
|
name: fixturenet-eth-loaded
|
||||||
|
decription: "Loaded Ethereum Fixturenet"
|
||||||
|
repos:
|
||||||
|
- cerc-io/go-ethereum
|
||||||
|
- cerc-io/tx-spammer
|
||||||
|
- cerc-io/ipld-eth-server
|
||||||
|
- cerc-io/ipld-eth-db
|
||||||
|
- cerc/go-ethereum
|
||||||
|
containers:
|
||||||
|
- cerc/lighthouse
|
||||||
|
- cerc/fixturenet-eth-geth
|
||||||
|
- cerc/fixturenet-eth-lighthouse
|
||||||
|
- cerc/ipld-eth-server
|
||||||
|
- cerc/ipld-eth-db
|
||||||
|
- cerc/keycloak
|
||||||
|
- cerc/tx-spammer
|
||||||
|
pods:
|
||||||
|
- fixturenet-eth
|
||||||
|
- tx-spammer
|
||||||
|
- fixturenet-eth-metrics
|
||||||
|
- keycloak
|
||||||
|
- ipld-eth-server
|
||||||
|
- ipld-eth-db
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
# This file should be re-generated running: scripts/update-version-file.sh script
|
# This file should be re-generated running: scripts/update-version-file.sh script
|
||||||
v1.0.15-e142104
|
v1.0.18-3bd0c74
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ def command(ctx, include, exclude, cluster, command, extra_args):
|
|||||||
command_to_exec = extra_args_list[1:]
|
command_to_exec = extra_args_list[1:]
|
||||||
container_exec_env = {
|
container_exec_env = {
|
||||||
"CERC_SCRIPT_DEBUG": "true"
|
"CERC_SCRIPT_DEBUG": "true"
|
||||||
} if debug else None
|
} if debug else {}
|
||||||
if verbose:
|
if verbose:
|
||||||
print(f"Running compose exec {service_name} {command_to_exec}")
|
print(f"Running compose exec {service_name} {command_to_exec}")
|
||||||
docker.compose.execute(service_name, command_to_exec, envs=container_exec_env)
|
docker.compose.execute(service_name, command_to_exec, envs=container_exec_env)
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
# Release Process
|
||||||
|
|
||||||
|
## Manually publish to github releases
|
||||||
|
|
||||||
|
In order to build, the shiv and wheel packages must be installed:
|
||||||
|
```
|
||||||
|
$ pip install shiv
|
||||||
|
$ pip install wheel
|
||||||
|
```
|
||||||
|
|
||||||
|
Then:
|
||||||
|
|
||||||
|
1. Define `CERC_GH_RELEASE_SCRIPTS_DIR`
|
||||||
|
1. Define `CERC_PACKAGE_RELEASE_GITHUB_TOKEN`
|
||||||
|
1. Run `./scripts/tag_new_release.sh <major> <minor> <patch>`
|
||||||
|
1. Run `./scripts/build_shiv_package.sh`
|
||||||
|
1. Run `./scripts/publish_shiv_package_github.sh <major> <minor> <patch>`
|
||||||
|
1. Commit the new version file.
|
||||||
|
|
||||||
|
e.g.
|
||||||
|
|
||||||
|
```
|
||||||
|
$ export CERC_GH_RELEASE_SCRIPTS_DIR=~/projects/cerc/github-release-api/
|
||||||
|
$ export CERC_PACKAGE_RELEASE_GITHUB_TOKEN=github_pat_xxxxxx
|
||||||
|
$ ./scripts/tag_new_release.sh 1 0 17
|
||||||
|
$ ./scripts/build_shiv_package.sh
|
||||||
|
$ ./scripts/publish_shiv_package_github.sh 1 0 17
|
||||||
|
```
|
||||||
|
|
||||||
Reference in New Issue
Block a user