Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
4f75266a
Commit
4f75266a
authored
Feb 18, 2021
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tests
parent
f918a116
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
test.sh
bin/test.sh
+10
-10
No files found.
bin/test.sh
View file @
4f75266a
...
...
@@ -73,16 +73,16 @@ else
exit
1
fi
cd
../
cd
deployer
&&
python3
-m
venv venv
&&
venv/bin/pip3
install
-U
pip setuptools
&&
venv/bin/pip3
install
-r
test-requirements.txt
&&
venv/bin/pip3
install
-r
requirements.txt
&&
venv/bin/python3
-m
unittest discover
if
[
$?
-eq
0
]
then
echo
"------- deployer tests successful ------"
else
echo
"deployer tests Failed"
docker stack
rm
conf-test
exit
1
fi
#
cd ../
#
cd deployer && python3 -m venv venv && venv/bin/pip3 install -U pip setuptools && venv/bin/pip3 install -r test-requirements.txt && venv/bin/pip3 install -r requirements.txt && venv/bin/python3 -m unittest discover
#
if [ $? -eq 0 ]
#
then
#
echo "------- deployer tests successful ------"
#
else
#
echo "deployer tests Failed"
#
docker stack rm conf-test
#
exit 1
#
fi
docker stack
rm
conf-test
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment