Skip to content

Commit

Permalink
Merge pull request #68 from skalenetwork/ticket-44/mulitple-all-skale…
Browse files Browse the repository at this point in the history
…-tests

ticket-44 multiple runs of All SKALE Comprehensive tests
  • Loading branch information
sergiy-skalelabs authored Jan 31, 2024
2 parents 9278b67 + 2cb0b24 commit f2bef69
Show file tree
Hide file tree
Showing 2 changed files with 158 additions and 2 deletions.
60 changes: 59 additions & 1 deletion .github/workflows/comprehensive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ jobs:
cd comprehensive-test/engine/create_pems
./create_pems.sh
- name: RUN - main engine steps
- name: RUN - full test - everything up and running
working-directory: ${{env.working-directory}}
run: |
export IMA_AGENT_ROOT_DIR=$(pwd)
Expand All @@ -223,6 +223,64 @@ jobs:
export DISABLE_S2S_TESTS=0
export SEPARATED_IMA_AGENT_MODE=1
export PATH=$PATH:$(dirname $(which npx))
export COUNT_OF_SKALED_INSTANCES_TO_SKIP_START=0
export COUNT_OF_IMA_AGENT_INSTANCES_TO_SKIP_START=0
node ./index.js
- name: RUN - full test - one SKALED is down
working-directory: ${{env.working-directory}}
run: |
export IMA_AGENT_ROOT_DIR=$(pwd)
echo IMA_AGENT_ROOT_DIR = $IMA_AGENT_ROOT_DIR
cd comprehensive-test/engine
export ALL_SKALE_TEST_CLOUD_RUN=1
export DISABLE_S2S_TESTS=0
export SEPARATED_IMA_AGENT_MODE=1
export PATH=$PATH:$(dirname $(which npx))
export COUNT_OF_SKALED_INSTANCES_TO_SKIP_START=1
export COUNT_OF_IMA_AGENT_INSTANCES_TO_SKIP_START=0
node ./index.js
- name: RUN - full test - one IMA Agent is down
working-directory: ${{env.working-directory}}
run: |
export IMA_AGENT_ROOT_DIR=$(pwd)
echo IMA_AGENT_ROOT_DIR = $IMA_AGENT_ROOT_DIR
cd comprehensive-test/engine
export ALL_SKALE_TEST_CLOUD_RUN=1
export DISABLE_S2S_TESTS=0
export SEPARATED_IMA_AGENT_MODE=1
export PATH=$PATH:$(dirname $(which npx))
export COUNT_OF_SKALED_INSTANCES_TO_SKIP_START=0
export COUNT_OF_IMA_AGENT_INSTANCES_TO_SKIP_START=1
node ./index.js
- name: RUN - full test - one SKALED and one IMA Agent are down
working-directory: ${{env.working-directory}}
run: |
export IMA_AGENT_ROOT_DIR=$(pwd)
echo IMA_AGENT_ROOT_DIR = $IMA_AGENT_ROOT_DIR
cd comprehensive-test/engine
export ALL_SKALE_TEST_CLOUD_RUN=1
export DISABLE_S2S_TESTS=0
export SEPARATED_IMA_AGENT_MODE=1
export PATH=$PATH:$(dirname $(which npx))
export COUNT_OF_SKALED_INSTANCES_TO_SKIP_START=1
export COUNT_OF_IMA_AGENT_INSTANCES_TO_SKIP_START=1
node ./index.js
- name: RUN - full test - Main Net connectivity problems testing
working-directory: ${{env.working-directory}}
run: |
export IMA_AGENT_ROOT_DIR=$(pwd)
echo IMA_AGENT_ROOT_DIR = $IMA_AGENT_ROOT_DIR
cd comprehensive-test/engine
export ALL_SKALE_TEST_CLOUD_RUN=1
export DISABLE_S2S_TESTS=0
export SEPARATED_IMA_AGENT_MODE=1
export PATH=$PATH:$(dirname $(which npx))
export ENABLED_IMA_MAIN_NET_TUNNELLING=true
export ENABLED_IMA_MAIN_NET_CONNECTION_PROBLEMS=true
node ./index.js
- name: SHUTDOWN - stop SGX Wallet
Expand Down
100 changes: 99 additions & 1 deletion .github/workflows/container-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ jobs:
sudo rm -rf ./client.crt || true
./create_pems.sh
- name: RUN - main engine steps
- name: RUN - full test - everything up and running
working-directory: ${{env.working-directory}}
run: |
export IMA_AGENT_ROOT_DIR=$(pwd)
Expand All @@ -304,6 +304,104 @@ jobs:
#
export SEPARATED_IMA_AGENT_MODE=1
export PATH=$PATH:$(dirname $(which npx))
export COUNT_OF_SKALED_INSTANCES_TO_SKIP_START=0
export COUNT_OF_IMA_AGENT_INSTANCES_TO_SKIP_START=0
node ./index.js
- name: RUN - full test - one SKALED is down
working-directory: ${{env.working-directory}}
run: |
export IMA_AGENT_ROOT_DIR=$(pwd)
echo IMA_AGENT_ROOT_DIR = $IMA_AGENT_ROOT_DIR
cd comprehensive-test/engine
export ALL_SKALE_TEST_CLOUD_RUN=1
export DISABLE_S2S_TESTS=1
#
export VERSION=13.13.13-test.13
echo "Docker image(will run) version is:" $VERSION
export NAME=ima
export BRANCH=$GIT_CURRENT_BRANCH
export REPO_NAME=skalenetwork/$NAME
export IMAGE_NAME=$REPO_NAME:$VERSION
export LATEST_IMAGE_NAME=$REPO_NAME:latest
echo "Docker image(will run) name for IMA Agent is:" $IMAGE_NAME
#
export SEPARATED_IMA_AGENT_MODE=1
export PATH=$PATH:$(dirname $(which npx))
export COUNT_OF_SKALED_INSTANCES_TO_SKIP_START=1
export COUNT_OF_IMA_AGENT_INSTANCES_TO_SKIP_START=0
node ./index.js
- name: RUN - full test - one IMA Agent is down
working-directory: ${{env.working-directory}}
run: |
export IMA_AGENT_ROOT_DIR=$(pwd)
echo IMA_AGENT_ROOT_DIR = $IMA_AGENT_ROOT_DIR
cd comprehensive-test/engine
export ALL_SKALE_TEST_CLOUD_RUN=1
export DISABLE_S2S_TESTS=1
#
export VERSION=13.13.13-test.13
echo "Docker image(will run) version is:" $VERSION
export NAME=ima
export BRANCH=$GIT_CURRENT_BRANCH
export REPO_NAME=skalenetwork/$NAME
export IMAGE_NAME=$REPO_NAME:$VERSION
export LATEST_IMAGE_NAME=$REPO_NAME:latest
echo "Docker image(will run) name for IMA Agent is:" $IMAGE_NAME
#
export SEPARATED_IMA_AGENT_MODE=1
export PATH=$PATH:$(dirname $(which npx))
export COUNT_OF_SKALED_INSTANCES_TO_SKIP_START=0
export COUNT_OF_IMA_AGENT_INSTANCES_TO_SKIP_START=1
node ./index.js
- name: RUN - full test - one SKALED and one IMA Agent are down
working-directory: ${{env.working-directory}}
run: |
export IMA_AGENT_ROOT_DIR=$(pwd)
echo IMA_AGENT_ROOT_DIR = $IMA_AGENT_ROOT_DIR
cd comprehensive-test/engine
export ALL_SKALE_TEST_CLOUD_RUN=1
export DISABLE_S2S_TESTS=1
#
export VERSION=13.13.13-test.13
echo "Docker image(will run) version is:" $VERSION
export NAME=ima
export BRANCH=$GIT_CURRENT_BRANCH
export REPO_NAME=skalenetwork/$NAME
export IMAGE_NAME=$REPO_NAME:$VERSION
export LATEST_IMAGE_NAME=$REPO_NAME:latest
echo "Docker image(will run) name for IMA Agent is:" $IMAGE_NAME
#
export SEPARATED_IMA_AGENT_MODE=1
export PATH=$PATH:$(dirname $(which npx))
export COUNT_OF_SKALED_INSTANCES_TO_SKIP_START=1
export COUNT_OF_IMA_AGENT_INSTANCES_TO_SKIP_START=1
node ./index.js
- name: RUN - full test - one SKALED and one IMA Agent are down
working-directory: ${{env.working-directory}}
run: |
export IMA_AGENT_ROOT_DIR=$(pwd)
echo IMA_AGENT_ROOT_DIR = $IMA_AGENT_ROOT_DIR
cd comprehensive-test/engine
export ALL_SKALE_TEST_CLOUD_RUN=1
export DISABLE_S2S_TESTS=1
#
export VERSION=13.13.13-test.13
echo "Docker image(will run) version is:" $VERSION
export NAME=ima
export BRANCH=$GIT_CURRENT_BRANCH
export REPO_NAME=skalenetwork/$NAME
export IMAGE_NAME=$REPO_NAME:$VERSION
export LATEST_IMAGE_NAME=$REPO_NAME:latest
echo "Docker image(will run) name for IMA Agent is:" $IMAGE_NAME
#
export SEPARATED_IMA_AGENT_MODE=1
export PATH=$PATH:$(dirname $(which npx))
export ENABLED_IMA_MAIN_NET_TUNNELLING=true
export ENABLED_IMA_MAIN_NET_CONNECTION_PROBLEMS=true
node ./index.js
- name: SHUTDOWN - stop SGX Wallet
Expand Down

0 comments on commit f2bef69

Please sign in to comment.