1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-11-26 00:00:42 +08:00

Regular update: 2020-07-21T02:35:53Z

This commit is contained in:
Septs 2020-07-21 10:35:53 +08:00
parent af02d7ece0
commit cd7be216d8
3 changed files with 6 additions and 11 deletions

View file

@ -26,6 +26,8 @@ jobs:
python-version: "3.x" python-version: "3.x"
architecture: "x64" architecture: "x64"
- run: pip install -r .scripts/requirements.txt
- run: .scripts/generate-roa.sh - run: .scripts/generate-roa.sh
- run: .scripts/push-to-roa.sh - run: .scripts/push-to-roa.sh

View file

@ -19,6 +19,8 @@ jobs:
python-version: "3.x" python-version: "3.x"
architecture: "x64" architecture: "x64"
- run: pip install -r .scripts/requirements.txt
- run: .scripts/generate-roa.sh - run: .scripts/generate-roa.sh
- run: cat generated/README.txt - run: cat generated/README.txt

View file

@ -3,20 +3,11 @@
set -euo pipefail set -euo pipefail
IFS=$'\n\t' IFS=$'\n\t'
set -x
export MAX_LEN_4=29 export MAX_LEN_4=29
export MAX_LEN_6=64 export MAX_LEN_6=64
if [ ! -d .venv ]; then
python3 -m venv .venv
fi
source .venv/bin/activate
pip install -r .scripts/requirements.txt
mkdir -p "generated"
set -x
.scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -o generated/roa46_bird2.conf .scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -o generated/roa46_bird2.conf
.scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -4 -o generated/roa4_bird2.conf .scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -4 -o generated/roa4_bird2.conf
.scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -6 -o generated/roa6_bird2.conf .scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -6 -o generated/roa6_bird2.conf