git.delta.rocks / unique-network / refs/commits / cbea5a7e41e2

difftreelog

moved old deploy scripts

akNFT2021-09-08parent: #d37537a.patch.diff
in: master

21 files changed

deletedDockerfile-testnetdiffbeforeafterboth
--- a/Dockerfile-testnet
+++ /dev/null
@@ -1,56 +0,0 @@
-# ===== BUILD ======
-
-FROM phusion/baseimage:0.10.2 as builder
-LABEL maintainer="gz@usetech.com"
-
-ENV WASM_TOOLCHAIN=nightly-2020-06-01
-
-ARG PROFILE=release
-
-RUN apt-get update && \
-	apt-get dist-upgrade -y -o Dpkg::Options::="--force-confold" && \
-	apt-get install -y cmake pkg-config libssl-dev git clang
-
-# Get project and run it
-#RUN git clone https://github.com/usetech-llc/nft_parachain /nft_parachain
-RUN mkdir nft_parachain
-WORKDIR /nft_parachain
-
-RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && \
-	export PATH="$PATH:$HOME/.cargo/bin" && \
-	rustup toolchain uninstall $(rustup toolchain list) && \
-	rustup default 1.44.1 && \
-	rustup toolchain install $WASM_TOOLCHAIN && \
-	rustup target add wasm32-unknown-unknown --toolchain $WASM_TOOLCHAIN && \
-    rustup target list --installed && \
-    rustup show
-
-COPY . .
-
-RUN export PATH="$PATH:$HOME/.cargo/bin" && \
-    cargo build "--$PROFILE" 
-	# && \
-	# cargo test
-
-RUN cd target/release && ls -la
-
-# ===== RUN ======
-
-FROM phusion/baseimage:0.10.2
-ARG PROFILE=release
-
-COPY --from=builder /nft_parachain/target/$PROFILE/nft /usr/local/bin
-
-EXPOSE 9944
-EXPOSE 9946
-EXPOSE 9935
-EXPOSE 9936
-EXPOSE 30334
-VOLUME ["/chain-data"]
-
-# Copy and run start script
-COPY ["./run-testnet.sh", "./run.sh"]
-COPY ["./nftTestnetSpecRaw.json", "./nftTestnetSpecRaw.json"]
-COPY ["./einstein_key_file", "./einstein_key_file"]
-RUN chmod +x ./run.sh
-CMD ["bash", "-c", "./run.sh"]
deletedcharlie.logdiffbeforeafterboth
--- a/charlie.log
+++ /dev/null
@@ -1,20 +0,0 @@
-2021-08-31 16:19:19 Parity Polkadot    
-2021-08-31 16:19:19 ✌️  version 0.9.8-3a10ee63c-x86_64-linux-gnu    
-2021-08-31 16:19:19 ❤️  by Parity Technologies <admin@parity.io>, 2017-2021    
-2021-08-31 16:19:19 📋 Chain specification: Rococo Local Testnet    
-2021-08-31 16:19:19 🏷 Node name: Charlie    
-2021-08-31 16:19:19 👤 Role: AUTHORITY    
-2021-08-31 16:19:19 💾 Database: RocksDb at /tmp/substratewDiNVX/chains/rococo_local_testnet/db    
-2021-08-31 16:19:19 ⛓  Native runtime: rococo-9004 (parity-rococo-v1.6-0.tx0.au0)    
-2021-08-31 16:19:21 🔨 Initializing Genesis block/state (state: 0x292a…056c, header-hash: 0xc45a…7a7b)    
-2021-08-31 16:19:21 👴 Loading GRANDPA authority set from genesis on what appears to be first startup.    
-2021-08-31 16:19:23 ⏱  Loaded block-time = 6s from block 0xc45a7f79644cdfa8d1a0c459fd0e18ef4dc61e5fb69ff469b50547d438d97a7b    
-2021-08-31 16:19:23 👶 Creating empty BABE epoch changes on what appears to be first startup.    
-2021-08-31 16:19:23 🏷 Local node identity is: 12D3KooWCQULDweNMFquEFZicN88U3X9wVx1GYCMXeH6ni6bWkfo    
-2021-08-31 16:19:23 📦 Highest known block at #0    
-2021-08-31 16:19:23 Listening for new connections on 127.0.0.1:9866.    
-2021-08-31 16:19:23 👶 Starting BABE Authorship worker    
-2021-08-31 16:19:24 🔍 Discovered new external address for our node: /ip4/10.0.2.15/tcp/30666/p2p/12D3KooWCQULDweNMFquEFZicN88U3X9wVx1GYCMXeH6ni6bWkfo    
-2021-08-31 16:19:25 👶 New epoch 0 launching at block 0xbfa6…5e76 (block slot 271735994 >= start slot 271735994).    
-2021-08-31 16:19:25 👶 Next epoch starts at slot 271736004    
-2021-08-31 16:19:25 ✨ Imported #1 (0xbfa6…5e76)    
deletedci_node.shdiffbeforeafterboth
--- a/ci_node.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-#docker-compose -f docker-compose-tests.yml up -d --build --force-recreate --no-deps
-
-docker-compose -f docker-compose-tests.yml up -d --build
-
-# validate if testing container finished
-while [ "$(docker ps | grep unit_test | wc -l)" -ge 1 ]; do echo "Unit tests in process" && sleep 600; done && docker logs unit_test &> /home/polkadot/report-log/unit_test.log  & \
-while [ "$(docker ps | grep integration_test | wc -l)" -ge 1 ]; do echo "Integration tests in process" && sleep 600; done && docker logs integration_test &> /home/polkadot/report-log/integration_test.log
-docker-compose -f docker-compose-tests.yml down -v
-echo "Workflow finished"
-docker system prune --force
deleteddeploy-testnet.shdiffbeforeafterboth
--- a/deploy-testnet.sh
+++ /dev/null
@@ -1,51 +0,0 @@
-#######################################################
-#
-# Deployng process:
-#
-#   1. Git pull the nft_parachain on the server
-#   2. SCP secret files in the root folder of nft_parachain
-#      - einstein_store_key.json
-#      - newton_store_key.json
-#      - einstein_key_file
-#   3. Run this script
-#
-
-### Build and run Einstein node (bootnode) and Newton node
-docker-compose -f docker-compose-testnet.yml up -d --build
-
-sleep 30
-
-### Deploy aura store keys
-# Einstein
-curl http://localhost:9935 -H "Content-Type:application/json;charset=utf-8" -d "@./einstein_store_key.json"
-
-# Newton
-curl http://localhost:9936 -H "Content-Type:application/json;charset=utf-8" -d "@./newton_store_key.json"
-
-### Deploy standpa store keys
-# Einstein
-curl http://localhost:9935 -H "Content-Type:application/json;charset=utf-8" -d "@./einstein_store_key_grandpa.json"
-
-# Newton
-curl http://localhost:9936 -H "Content-Type:application/json;charset=utf-8" -d "@./newton_store_key_grandpa.json"
-
-sleep 30 
-
-### Stop and restart nodes so that they start finalizing
-docker stop nft_parachain_node_einstein_1
-docker stop nft_parachain_node_newton_1
-docker stop nft_parachain_node_bohr_1
-docker start nft_parachain_node_einstein_1
-docker start nft_parachain_node_newton_1
-docker start nft_parachain_node_bohr_1
-
-### Cleanup
-
-# Delete key file used to set bootnode peer ID
-rm einstein_key_file
-
-# Delete store key files
-rm ./einstein_store_key.json
-rm ./newton_store_key.json
-rm ./einstein_store_key_grandpa.json
-rm ./newton_store_key_grandpa.json
addeddeploy/docker-compose-tests.ymldiffbeforeafterboth
--- /dev/null
+++ b/deploy/docker-compose-tests.yml
@@ -0,0 +1,48 @@
+version: "3.5"
+
+services:
+  node_validator1:
+    image: nft_node_test
+    container_name: validator1_test
+    ports:
+      - 9944:9944
+    build:
+      context: ./
+      dockerfile: Dockerfile
+#    volumes:
+#      - ./chain-data:/chain-data
+    networks:
+      - node_test_network
+    command: bash -c "/usr/local/bin/nft --dev --tmp --ws-external --rpc-external"
+
+  integration_tests:
+    container_name: integration_test
+    image: int_test
+    build:
+      context: ./
+      dockerfile: Dockerfile-tests
+    volumes:
+      - ./tests/src/config_docker.ts:/nft_parachain/tests/src/config.ts
+      - /home/polkadot/mochawesome-report:/nft_parachain/tests/mochawesome-report
+  #  command: bash -c 'while true; do sleep 20; df -h; done'
+    networks:
+      - node_test_network
+    depends_on:
+      - node_validator1
+
+  unit_tests:
+    container_name: unit_test
+    image: nft_unit_test
+    build:
+      context: ./
+      dockerfile: Dockerfile-unit
+    container_name: unit_test
+    networks:
+      - node_test_network
+   # command: bash -c 'while true; do sleep 20; df -h; done'
+    command: bash -c 'cargo test'
+
+networks:
+  node_test_network:
+    name: node_test_network
+    driver: bridge
addeddeploy/node_build_test.ymldiffbeforeafterboth
--- /dev/null
+++ b/deploy/node_build_test.yml
@@ -0,0 +1,44 @@
+name: Build & test
+
+# Controls when the action will run. 
+on:
+ # Triggers the workflow on push or pull request events but only for the master branch
+  push:
+    branches: [ develop ]
+ # pull_request:
+ #   branches: [ develop ]
+  # Allows you to run this workflow manually from the Actions tab
+  workflow_dispatch:
+
+# A workflow run is made up of one or more jobs that can run sequentially or in parallel
+jobs:
+  build:
+    # The type of runner that the job will run on
+    runs-on: ubuntu-20.04
+
+  #  if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
+
+    # Steps represent a sequence of tasks that will be executed as part of the job
+    steps:
+      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
+      - uses: actions/checkout@v2
+          
+     #runs ssh connection
+      - name: Go to server
+        uses: appleboy/ssh-action@master
+        with:
+          host: ${{ secrets.SERVER_IP }}
+          username: ${{ secrets.SERVER_USERNAME }}
+          key: ${{ secrets.KEY }}
+          port: ${{ secrets.SERVER_PORT }}
+          # command_timeout: 200m
+          script: |
+            eval $(ssh-agent -s)
+            ssh-add /home/devops/.ssh/git_hub
+            git clone git@github.com:usetech-llc/nft_private.git
+            cd nft_private
+            git checkout develop
+            # git pull --all
+            chmod +x ci_node.sh
+            ./ci_node.sh
+            rm -rf /home/polkadot/nft_private
\ No newline at end of file
addeddeploy/old/Dockerfile-testnetdiffbeforeafterboth
--- /dev/null
+++ b/deploy/old/Dockerfile-testnet
@@ -0,0 +1,56 @@
+# ===== BUILD ======
+
+FROM phusion/baseimage:0.10.2 as builder
+LABEL maintainer="gz@usetech.com"
+
+ENV WASM_TOOLCHAIN=nightly-2020-06-01
+
+ARG PROFILE=release
+
+RUN apt-get update && \
+	apt-get dist-upgrade -y -o Dpkg::Options::="--force-confold" && \
+	apt-get install -y cmake pkg-config libssl-dev git clang
+
+# Get project and run it
+#RUN git clone https://github.com/usetech-llc/nft_parachain /nft_parachain
+RUN mkdir nft_parachain
+WORKDIR /nft_parachain
+
+RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && \
+	export PATH="$PATH:$HOME/.cargo/bin" && \
+	rustup toolchain uninstall $(rustup toolchain list) && \
+	rustup default 1.44.1 && \
+	rustup toolchain install $WASM_TOOLCHAIN && \
+	rustup target add wasm32-unknown-unknown --toolchain $WASM_TOOLCHAIN && \
+    rustup target list --installed && \
+    rustup show
+
+COPY . .
+
+RUN export PATH="$PATH:$HOME/.cargo/bin" && \
+    cargo build "--$PROFILE" 
+	# && \
+	# cargo test
+
+RUN cd target/release && ls -la
+
+# ===== RUN ======
+
+FROM phusion/baseimage:0.10.2
+ARG PROFILE=release
+
+COPY --from=builder /nft_parachain/target/$PROFILE/nft /usr/local/bin
+
+EXPOSE 9944
+EXPOSE 9946
+EXPOSE 9935
+EXPOSE 9936
+EXPOSE 30334
+VOLUME ["/chain-data"]
+
+# Copy and run start script
+COPY ["./run-testnet.sh", "./run.sh"]
+COPY ["./nftTestnetSpecRaw.json", "./nftTestnetSpecRaw.json"]
+COPY ["./einstein_key_file", "./einstein_key_file"]
+RUN chmod +x ./run.sh
+CMD ["bash", "-c", "./run.sh"]
addeddeploy/old/ci_node.shdiffbeforeafterboth
--- /dev/null
+++ b/deploy/old/ci_node.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+#docker-compose -f docker-compose-tests.yml up -d --build --force-recreate --no-deps
+
+docker-compose -f docker-compose-tests.yml up -d --build
+
+# validate if testing container finished
+while [ "$(docker ps | grep unit_test | wc -l)" -ge 1 ]; do echo "Unit tests in process" && sleep 600; done && docker logs unit_test &> /home/polkadot/report-log/unit_test.log  & \
+while [ "$(docker ps | grep integration_test | wc -l)" -ge 1 ]; do echo "Integration tests in process" && sleep 600; done && docker logs integration_test &> /home/polkadot/report-log/integration_test.log
+docker-compose -f docker-compose-tests.yml down -v
+echo "Workflow finished"
+docker system prune --force
addeddeploy/old/deploy-testnet.shdiffbeforeafterboth
--- /dev/null
+++ b/deploy/old/deploy-testnet.sh
@@ -0,0 +1,51 @@
+#######################################################
+#
+# Deployng process:
+#
+#   1. Git pull the nft_parachain on the server
+#   2. SCP secret files in the root folder of nft_parachain
+#      - einstein_store_key.json
+#      - newton_store_key.json
+#      - einstein_key_file
+#   3. Run this script
+#
+
+### Build and run Einstein node (bootnode) and Newton node
+docker-compose -f docker-compose-testnet.yml up -d --build
+
+sleep 30
+
+### Deploy aura store keys
+# Einstein
+curl http://localhost:9935 -H "Content-Type:application/json;charset=utf-8" -d "@./einstein_store_key.json"
+
+# Newton
+curl http://localhost:9936 -H "Content-Type:application/json;charset=utf-8" -d "@./newton_store_key.json"
+
+### Deploy standpa store keys
+# Einstein
+curl http://localhost:9935 -H "Content-Type:application/json;charset=utf-8" -d "@./einstein_store_key_grandpa.json"
+
+# Newton
+curl http://localhost:9936 -H "Content-Type:application/json;charset=utf-8" -d "@./newton_store_key_grandpa.json"
+
+sleep 30 
+
+### Stop and restart nodes so that they start finalizing
+docker stop nft_parachain_node_einstein_1
+docker stop nft_parachain_node_newton_1
+docker stop nft_parachain_node_bohr_1
+docker start nft_parachain_node_einstein_1
+docker start nft_parachain_node_newton_1
+docker start nft_parachain_node_bohr_1
+
+### Cleanup
+
+# Delete key file used to set bootnode peer ID
+rm einstein_key_file
+
+# Delete store key files
+rm ./einstein_store_key.json
+rm ./newton_store_key.json
+rm ./einstein_store_key_grandpa.json
+rm ./newton_store_key_grandpa.json
addeddeploy/old/docker-compose-testnet.ymldiffbeforeafterboth
--- /dev/null
+++ b/deploy/old/docker-compose-testnet.yml
@@ -0,0 +1,72 @@
+version: "3.5"
+
+services:
+  node_einstein:
+    image: nft-parachain
+    ports:
+      - 9935:9935
+    build:
+      context: ./
+      dockerfile: Dockerfile-testnet
+    volumes:
+      - ./chain-data-einstein:/chain-data
+    networks: 
+      - substrate_network
+    restart: always
+    environment:
+      - NODE=einstein
+      - P2PPORT=30335
+      - WSPORT=9945
+      - RPCPORT=9935
+      - BOOTNODE=True
+      - VALIDATOR=True
+
+  node_newton:
+    image: nft-parachain
+    ports:
+      - 9936:9936
+    build:
+      context: ./
+      dockerfile: Dockerfile-testnet
+    volumes:
+      - ./chain-data-newton:/chain-data
+    networks: 
+      - substrate_network
+    restart: always
+    environment:
+      - NODE=newton
+      - P2PPORT=30336
+      - WSPORT=9946
+      - RPCPORT=9936
+      - BOOTNODE=False
+      - BOOTPORT=30335
+      - BOOTID=12D3KooWRLrjXxByPkSCzcsRyf6652brnJT9s4AQHR3uujJ35mxz
+      - VALIDATOR=True
+
+  node_bohr:
+    image: nft-parachain
+    ports:
+      - 9944:9944
+      - 30334:30334
+    build:
+      context: ./
+      dockerfile: Dockerfile-testnet
+    volumes:
+      - ./chain-data-bohr:/chain-data
+    networks: 
+      - substrate_network
+    restart: always
+    environment:
+      - NODE=bohr
+      - P2PPORT=30334
+      - WSPORT=9944
+      - RPCPORT=9934
+      - BOOTNODE=False
+      - BOOTPORT=30335
+      - BOOTID=12D3KooWRLrjXxByPkSCzcsRyf6652brnJT9s4AQHR3uujJ35mxz
+      - VALIDATOR=False
+      
+networks: 
+  substrate_network:
+    driver: bridge
+    name: substrate_network
addeddeploy/old/purge-running-node.shdiffbeforeafterboth
--- /dev/null
+++ b/deploy/old/purge-running-node.sh
@@ -0,0 +1,3 @@
+docker-compose exec node nft purge-chain --dev --base-path=/chain-data -y
+docker-compose down
+docker-compose up -d
addeddeploy/old/run-testnet-local-node.shdiffbeforeafterboth
--- /dev/null
+++ b/deploy/old/run-testnet-local-node.sh
@@ -0,0 +1,7 @@
+BOOTNODES="--bootnodes /ip4/212.248.19.53/tcp/30334/p2p/12D3KooWHQDopuFB5krJGPQYn8Pg8i6toMeZFHGMs6sUPPmv4RhP";
+
+./target/debug/nft \
+  --base-path ./chain-data \
+  --chain ./nftTestnetSpecRaw.json \
+  -lruntime \
+  $BOOTNODES;
addeddeploy/old/run-testnet.shdiffbeforeafterboth
--- /dev/null
+++ b/deploy/old/run-testnet.sh
@@ -0,0 +1,56 @@
+# ls -la /nft_parachain/target/release
+
+# /usr/local/bin/nft --dev --ws-external --rpc-external --base-path=/chain-data -lwarn,runtime
+
+echo Running node $NODE
+echo P2P Port        : $P2PPORT
+echo WebSocket Port  : $WSPORT
+echo RPC Port        : $RPCPORT
+
+echo Boot = $BOOTNODE
+echo Validator = $VALIDATOR
+
+if [ "$BOOTNODE" = True ]; 
+then
+echo This is a Bootnode;
+BOOTNODES="";
+NODEKEY="--node-key-file einstein_key_file";
+else
+echo Bootnode Port   : $BOOTPORT;
+echo Bootnode PeerID : $BOOTID;
+BOOTNODES="--bootnodes /dns4/node_einstein/tcp/$BOOTPORT/p2p/$BOOTID";
+NODEKEY="";
+fi
+
+if [ "$VALIDATOR" = True ];
+then
+echo This is a Validator node;
+/usr/local/bin/nft \
+  --base-path /chain-data \
+  --chain ./nftTestnetSpecRaw.json \
+  --port $P2PPORT \
+  --ws-port $WSPORT \
+  --rpc-port $RPCPORT \
+  --validator \
+  --rpc-methods=Unsafe \
+  --name $NODE \
+  --ws-external \
+  --rpc-external \
+  -lruntime \
+  $BOOTNODES \
+  $NODEKEY;
+else
+echo This is a Gateway node;
+/usr/local/bin/nft \
+  --base-path /chain-data \
+  --chain ./nftTestnetSpecRaw.json \
+  --port $P2PPORT \
+  --ws-port $WSPORT \
+  --rpc-port $RPCPORT \
+  --name $NODE \
+  --ws-external \
+  --ws-max-connections 10000 \
+  --rpc-cors all \
+  -lruntime \
+  $BOOTNODES;
+fi
addeddeploy/old/upload_secrets.shdiffbeforeafterboth
--- /dev/null
+++ b/deploy/old/upload_secrets.sh
@@ -0,0 +1,7 @@
+scp -P 8022 ./einstein_key_file developer@212.248.19.53:~/nft_parachain/einstein_key_file
+
+scp -P 8022 ./einstein_store_key.json developer@212.248.19.53:~/nft_parachain/einstein_store_key.json
+scp -P 8022 ./newton_store_key.json developer@212.248.19.53:~/nft_parachain/newton_store_key.json
+
+scp -P 8022 ./einstein_store_key_grandpa.json developer@212.248.19.53:~/nft_parachain/einstein_store_key_grandpa.json
+scp -P 8022 ./newton_store_key_grandpa.json developer@212.248.19.53:~/nft_parachain/newton_store_key_grandpa.json
deleteddocker-compose-testnet.ymldiffbeforeafterboth
--- a/docker-compose-testnet.yml
+++ /dev/null
@@ -1,72 +0,0 @@
-version: "3.5"
-
-services:
-  node_einstein:
-    image: nft-parachain
-    ports:
-      - 9935:9935
-    build:
-      context: ./
-      dockerfile: Dockerfile-testnet
-    volumes:
-      - ./chain-data-einstein:/chain-data
-    networks: 
-      - substrate_network
-    restart: always
-    environment:
-      - NODE=einstein
-      - P2PPORT=30335
-      - WSPORT=9945
-      - RPCPORT=9935
-      - BOOTNODE=True
-      - VALIDATOR=True
-
-  node_newton:
-    image: nft-parachain
-    ports:
-      - 9936:9936
-    build:
-      context: ./
-      dockerfile: Dockerfile-testnet
-    volumes:
-      - ./chain-data-newton:/chain-data
-    networks: 
-      - substrate_network
-    restart: always
-    environment:
-      - NODE=newton
-      - P2PPORT=30336
-      - WSPORT=9946
-      - RPCPORT=9936
-      - BOOTNODE=False
-      - BOOTPORT=30335
-      - BOOTID=12D3KooWRLrjXxByPkSCzcsRyf6652brnJT9s4AQHR3uujJ35mxz
-      - VALIDATOR=True
-
-  node_bohr:
-    image: nft-parachain
-    ports:
-      - 9944:9944
-      - 30334:30334
-    build:
-      context: ./
-      dockerfile: Dockerfile-testnet
-    volumes:
-      - ./chain-data-bohr:/chain-data
-    networks: 
-      - substrate_network
-    restart: always
-    environment:
-      - NODE=bohr
-      - P2PPORT=30334
-      - WSPORT=9944
-      - RPCPORT=9934
-      - BOOTNODE=False
-      - BOOTPORT=30335
-      - BOOTID=12D3KooWRLrjXxByPkSCzcsRyf6652brnJT9s4AQHR3uujJ35mxz
-      - VALIDATOR=False
-      
-networks: 
-  substrate_network:
-    driver: bridge
-    name: substrate_network
deleteddocker-compose-tests.ymldiffbeforeafterboth
--- a/docker-compose-tests.yml
+++ /dev/null
@@ -1,48 +0,0 @@
-version: "3.5"
-
-services:
-  node_validator1:
-    image: nft_node_test
-    container_name: validator1_test
-    ports:
-      - 9944:9944
-    build:
-      context: ./
-      dockerfile: Dockerfile
-#    volumes:
-#      - ./chain-data:/chain-data
-    networks:
-      - node_test_network
-    command: bash -c "/usr/local/bin/nft --dev --tmp --ws-external --rpc-external"
-
-  integration_tests:
-    container_name: integration_test
-    image: int_test
-    build:
-      context: ./
-      dockerfile: Dockerfile-tests
-    volumes:
-      - ./tests/src/config_docker.ts:/nft_parachain/tests/src/config.ts
-      - /home/polkadot/mochawesome-report:/nft_parachain/tests/mochawesome-report
-  #  command: bash -c 'while true; do sleep 20; df -h; done'
-    networks:
-      - node_test_network
-    depends_on:
-      - node_validator1
-
-  unit_tests:
-    container_name: unit_test
-    image: nft_unit_test
-    build:
-      context: ./
-      dockerfile: Dockerfile-unit
-    container_name: unit_test
-    networks:
-      - node_test_network
-   # command: bash -c 'while true; do sleep 20; df -h; done'
-    command: bash -c 'cargo test'
-
-networks:
-  node_test_network:
-    name: node_test_network
-    driver: bridge
deletednode_build_test.ymldiffbeforeafterboth

no changes

deletedpurge-running-node.shdiffbeforeafterboth
--- a/purge-running-node.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-docker-compose exec node nft purge-chain --dev --base-path=/chain-data -y
-docker-compose down
-docker-compose up -d
deletedrun-testnet-local-node.shdiffbeforeafterboth
--- a/run-testnet-local-node.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-BOOTNODES="--bootnodes /ip4/212.248.19.53/tcp/30334/p2p/12D3KooWHQDopuFB5krJGPQYn8Pg8i6toMeZFHGMs6sUPPmv4RhP";
-
-./target/debug/nft \
-  --base-path ./chain-data \
-  --chain ./nftTestnetSpecRaw.json \
-  -lruntime \
-  $BOOTNODES;
deletedrun-testnet.shdiffbeforeafterboth
--- a/run-testnet.sh
+++ /dev/null
@@ -1,56 +0,0 @@
-# ls -la /nft_parachain/target/release
-
-# /usr/local/bin/nft --dev --ws-external --rpc-external --base-path=/chain-data -lwarn,runtime
-
-echo Running node $NODE
-echo P2P Port        : $P2PPORT
-echo WebSocket Port  : $WSPORT
-echo RPC Port        : $RPCPORT
-
-echo Boot = $BOOTNODE
-echo Validator = $VALIDATOR
-
-if [ "$BOOTNODE" = True ]; 
-then
-echo This is a Bootnode;
-BOOTNODES="";
-NODEKEY="--node-key-file einstein_key_file";
-else
-echo Bootnode Port   : $BOOTPORT;
-echo Bootnode PeerID : $BOOTID;
-BOOTNODES="--bootnodes /dns4/node_einstein/tcp/$BOOTPORT/p2p/$BOOTID";
-NODEKEY="";
-fi
-
-if [ "$VALIDATOR" = True ];
-then
-echo This is a Validator node;
-/usr/local/bin/nft \
-  --base-path /chain-data \
-  --chain ./nftTestnetSpecRaw.json \
-  --port $P2PPORT \
-  --ws-port $WSPORT \
-  --rpc-port $RPCPORT \
-  --validator \
-  --rpc-methods=Unsafe \
-  --name $NODE \
-  --ws-external \
-  --rpc-external \
-  -lruntime \
-  $BOOTNODES \
-  $NODEKEY;
-else
-echo This is a Gateway node;
-/usr/local/bin/nft \
-  --base-path /chain-data \
-  --chain ./nftTestnetSpecRaw.json \
-  --port $P2PPORT \
-  --ws-port $WSPORT \
-  --rpc-port $RPCPORT \
-  --name $NODE \
-  --ws-external \
-  --ws-max-connections 10000 \
-  --rpc-cors all \
-  -lruntime \
-  $BOOTNODES;
-fi
deletedupload_secrets.shdiffbeforeafterboth
--- a/upload_secrets.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-scp -P 8022 ./einstein_key_file developer@212.248.19.53:~/nft_parachain/einstein_key_file
-
-scp -P 8022 ./einstein_store_key.json developer@212.248.19.53:~/nft_parachain/einstein_store_key.json
-scp -P 8022 ./newton_store_key.json developer@212.248.19.53:~/nft_parachain/newton_store_key.json
-
-scp -P 8022 ./einstein_store_key_grandpa.json developer@212.248.19.53:~/nft_parachain/einstein_store_key_grandpa.json
-scp -P 8022 ./newton_store_key_grandpa.json developer@212.248.19.53:~/nft_parachain/newton_store_key_grandpa.json