Skip to content

Commit

Permalink
Remove telemetry and p2p from devnet deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
semeniak97mf committed Oct 31, 2024
1 parent d3970b3 commit c111c83
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/devnet-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
5 changes: 0 additions & 5 deletions devnet/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit c111c83

Please sign in to comment.