kubespray/tests/scripts/md-table/test.sh

12 lines
309 B
Bash
Raw Normal View History

2020-04-24 00:51:11 +08:00
#!/bin/bash
set -euxo pipefail
echo "Install requirements..."
pip install -r ./tests/scripts/md-table/requirements.txt
echo "Generate current file..."
./tests/scripts/md-table/main.py > tmp.md
echo "Compare docs/developers/ci.md with actual tests in tests/files/*.yml ..."
cmp docs/developers/ci.md tmp.md