зеркало из https://github.com/Azure/draft-classic.git
Added scripts to test-run all the examples
This commit is contained in:
Родитель
2073b5ebea
Коммит
c4e38f24c6
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
REPO_ROOT=$PWD
|
||||
EXAMPLES_FOLDER=$PWD/examples
|
||||
|
||||
for example in $(ls $EXAMPLES_FOLDER); do
|
||||
if [[ -d "$EXAMPLES_FOLDER/$example" ]]; then
|
||||
echo "Testing example $example"
|
||||
|
||||
cd $EXAMPLES_FOLDER/$example
|
||||
rm -rf charts
|
||||
rm -rf Dockerfile
|
||||
|
||||
draft create
|
||||
draft up
|
||||
draft delete
|
||||
fi
|
||||
done
|
Загрузка…
Ссылка в новой задаче