Build system for hub.docker.com
This commit is contained in:
parent
5a09659278
commit
4ef420d443
9 changed files with 240 additions and 70 deletions
hooks
12
hooks/test
Executable file
12
hooks/test
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
. hooks/common
|
||||
|
||||
if [ "${VARIANT}" == "main" ] && [ "${BUILD}" == "BRANCHES" ]; then
|
||||
echo "🐳🐳🐳 Testing"
|
||||
docker-compose pull --parallel
|
||||
docker-compose build
|
||||
docker-compose run netbox ./manage.py test
|
||||
else
|
||||
echo "🐳🐳🐳 No tests are implemented for build '${BUILD}' with variant '${VARIANT}'."
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue