Update Continuous-Tests documentation (#67)

Some minor changes to reflect updated framework architecture
This commit is contained in:
Slava 2023-09-25 20:04:06 +03:00 committed by GitHub
parent 9dbd33a906
commit 52345adb49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 7 deletions

View File

@ -53,7 +53,7 @@
# mountPath: /opt/kubeconfig.yaml # mountPath: /opt/kubeconfig.yaml
# subPath: kubeconfig.yaml # subPath: kubeconfig.yaml
# - name: logs # - name: logs
# mountPath: /var/log/codex-dist-tests # mountPath: /var/log/codex-dist-tests
command: ["sleep", "infinity"] command: ["sleep", "infinity"]
# volumes: # volumes:
# - name: kubeconfig # - name: kubeconfig
@ -85,7 +85,7 @@
4. Install required packages 4. Install required packages
```shell ```shell
apt update apt update
apt install -y tmux apt install -y tmux vim
``` ```
5. Clone Continuous Tests repository 5. Clone Continuous Tests repository
@ -99,21 +99,41 @@
6. Run `CodexNetDeployer` 6. Run `CodexNetDeployer`
```shell ```shell
# Usually take ~ 10 minutes # Usually take ~ 10 minutes
cd cs-codex-dist-tests/CodexNetDeployer cd cs-codex-dist-tests/Tools/CodexNetDeployer
# Adjust values
vi deploy-continuous-testnet.sh
# Deploy Codex Netwotk
export RUNID=$(date +%Y%m%d-%H%M%S) export RUNID=$(date +%Y%m%d-%H%M%S)
bash deploy-continuous-testnet.sh bash deploy-continuous-testnet.sh
``` ```
7. Run `ContinuousTests` 7. Run `ContinuousTests`
``` ```shell
cd ../ContinuousTests cd ../../Tests/CodexContinuousTests
cp ../CodexNetDeployer/codex-deployment.json . cp ../../Tools/CodexNetDeployer/codex-deployment.json .
# Adjust values
vi run.sh
# Run tests
bash run.sh bash run.sh
``` ```
8. [Tmux sessions](https://tmuxcheatsheet.com)
```shell
# Detach
Ctrl + b --> d
# List
tmux ls
# Attach
tmux a -t 0
```
## Analyze logs ## Analyze logs
We should check the logs in the `/opt/cs-codex-dist-tests/ContinuousTests/logs` folder We should check the logs in the `/opt/cs-codex-dist-tests/Tests/CodexContinuousTests/logs` folder