add test with tag
This commit is contained in:
parent
c5ed8be31b
commit
e115a87ae5
3 changed files with 21 additions and 2 deletions
14
test.sh
14
test.sh
|
@ -30,7 +30,7 @@ function test_with_minimal_vars_compose(){
|
|||
cp $TESTS/compose_config.mk config.mk
|
||||
cp $TESTS/docker-compose.yml .
|
||||
make deploy
|
||||
rm -f docker-compose.yml
|
||||
rm -f docker-compose.yml config.mk
|
||||
}
|
||||
|
||||
function test_with_minimal_vars_compose_file(){
|
||||
|
@ -38,7 +38,16 @@ function test_with_minimal_vars_compose_file(){
|
|||
cp $TESTS/compose_file_config.mk config.mk
|
||||
cp $TESTS/docker-compose.yml .
|
||||
make deploy
|
||||
rm -f docker-compose.yml
|
||||
rm -f docker-compose.yml config.mk
|
||||
}
|
||||
|
||||
function test_with_minimal_vars_compose_and_tag(){
|
||||
echo "::::::::: $FUNCNAME ::::::::::::"
|
||||
cp $TESTS/compose_config.tag.mk config.mk
|
||||
cp $TESTS/docker-compose.tag.yml docker-compose.yml
|
||||
echo "TAG=3.17" > .env
|
||||
make deploy
|
||||
rm -f docker-compose.yml config.mk
|
||||
}
|
||||
|
||||
prepdir
|
||||
|
@ -46,5 +55,6 @@ prepdir
|
|||
test_with_minimal_vars_apt
|
||||
test_with_minimal_vars_compose
|
||||
test_with_minimal_vars_compose_file
|
||||
test_with_minimal_vars_compose_and_tag
|
||||
|
||||
cleandir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue