From c111c83adcdd2553c007f00cc4e64007a6db5dfd Mon Sep 17 00:00:00 2001 From: semeniak97mf Date: Thu, 31 Oct 2024 13:12:55 +0300 Subject: [PATCH] Remove telemetry and p2p from devnet deployment --- .github/workflows/devnet-deploy.yml | 8 +------- devnet/docker-compose.yml | 5 ----- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/devnet-deploy.yml b/.github/workflows/devnet-deploy.yml index ba483e7..0a5d9e1 100644 --- a/.github/workflows/devnet-deploy.yml +++ b/.github/workflows/devnet-deploy.yml @@ -30,15 +30,9 @@ jobs: echo "${LATEST_RELEASE}" gh release download "${LATEST_RELEASE}" --repo Atleta-network/atleta --pattern "chain-spec.devnet.json" --dir chainspecs - - name: Generate config.env - run: | - touch devnet/docker_conf.env - echo "TELEMETRY_DOMAIN=${{ secrets.TELEMETRY_DOMAIN }}" >> devnet/docker_conf.env - - name: Copy Files to Server run: | scp devnet/docker-compose.yml ${{ secrets.DEVNET_USERNAME }}@${{ secrets.DEVNET_HOST }}:/sportchain/docker-compose.yml - scp devnet/docker_conf.env ${{ secrets.DEVNET_USERNAME }}@${{ secrets.DEVNET_HOST }}:/sportchain/docker_conf.env scp chainspecs/chain-spec.devnet.json ${{ secrets.DEVNET_USERNAME }}@${{ secrets.DEVNET_HOST }}:/sportchain/chainspec.json ssh -o StrictHostKeyChecking=no ${{ secrets.DEVNET_USERNAME }}@${{ secrets.DEVNET_HOST }} "mkdir -p /sportchain/process-exporter" scp utils/telemetry/process-exporter/process-exporter.yml ${{ secrets.DEVNET_USERNAME }}@${{ secrets.DEVNET_HOST }}:/sportchain/process-exporter/process-exporter.yml @@ -53,4 +47,4 @@ jobs: cd /sportchain docker compose down docker compose pull - docker compose --env-file docker_conf.env up --detach --build --remove-orphans + docker compose up --detach diff --git a/devnet/docker-compose.yml b/devnet/docker-compose.yml index 211fa21..260cf35 100644 --- a/devnet/docker-compose.yml +++ b/devnet/docker-compose.yml @@ -24,7 +24,6 @@ services: --allow-private-ipv4 --listen-addr /ip4/0.0.0.0/tcp/30333 --state-pruning archive - --telemetry-url "wss://${TELEMETRY_DOMAIN}/submit 1" ports: - "0.0.0.0:9944:9944/tcp" - "0.0.0.0:30333:30333/tcp" @@ -52,8 +51,6 @@ services: --port 30333 --rpc-port 9944 --unsafe-force-node-key-generation - --bootnodes /ip4/127.0.0.1/tcp/30333/p2p/12D3KooWHdiAxVd8uMQR1hGWXccidmfCwLqcMpGwR6QcTP6QRMuD - --telemetry-url "wss://${TELEMETRY_DOMAIN}/submit 1" networks: - sportchain-node-network @@ -77,8 +74,6 @@ services: --port 30333 --rpc-port 9944 --unsafe-force-node-key-generation - --bootnodes /ip4/127.0.0.1/tcp/30333/p2p/12D3KooWHdiAxVd8uMQR1hGWXccidmfCwLqcMpGwR6QcTP6QRMuD - --telemetry-url "wss://${TELEMETRY_DOMAIN}/submit 1" networks: - sportchain-node-network