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
6274c26a
Commit
6274c26a
authored
Feb 18, 2021
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tests
parent
04627fd0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
32 deletions
+38
-32
test.sh
bin/test.sh
+36
-31
requirements.txt
deployer/requirements.txt
+2
-1
No files found.
bin/test.sh
View file @
6274c26a
...
@@ -29,43 +29,47 @@ else
...
@@ -29,43 +29,47 @@ else
fi
fi
cd
../
#cd ../
mvn
test
#mvn test
if
[
$?
-eq
0
]
#if [ $? -eq 0 ]
then
#then
echo
"------- Java tests successful------"
# echo "------- Java tests successful------"
else
#else
echo
"Java tests Failed"
# echo "Java tests Failed"
exit
1
# docker stack rm conf-test
fi
# exit 1
#fi
cd
planner
&&
python3
-m
venv venv
&&
venv/bin/pip3
install
-r
test-requirements.txt
&&
venv/bin/pip3
install
-r
requirements.txt
&&
venv/bin/python3
-m
unittest discover
#
if
[
$?
-eq
0
]
#cd planner && python3 -m venv venv && venv/bin/pip3 install -r test-requirements.txt && venv/bin/pip3 install -r requirements.txt && venv/bin/python3 -m unittest discover
then
#if [ $? -eq 0 ]
echo
"------- Planner tests successful------"
#then
else
# echo "------- Planner tests successful------"
echo
"Planner tests Failed"
#else
exit
1
# echo "Planner tests Failed"
fi
# docker stack rm conf-test
# exit 1
#fi
cd
../
#
cd
sure_tosca-client_python_stubs
&&
python3
-m
venv venv
&&
venv/bin/pip3
install
-r
test-requirements.txt
&&
venv/bin/pip3
install
-r
requirements.txt
&&
venv/bin/python3
-m
unittest discover
#
if
[
$?
-eq
0
]
#cd ../
then
#cd sure_tosca-client_python_stubs && python3 -m venv venv && venv/bin/pip3 install -r test-requirements.txt && venv/bin/pip3 install -r requirements.txt && venv/bin/python3 -m unittest discover
echo
"------- sure_tosca-client_python_stubs tests successful------"
#if [ $? -eq 0 ]
else
#then
echo
"sure_tosca-client_python_stubs tests Failed"
# echo "------- sure_tosca-client_python_stubs tests successful------"
exit
1
#else
fi
# echo "sure_tosca-client_python_stubs tests Failed"
# docker stack rm conf-test
cd
../
# exit 1
#fi
#cd ../
cd
semaphore-python-client-generated
&&
python3
-m
venv venv
&&
venv/bin/pip3
install
-r
test-requirements.txt
&&
venv/bin/pip3
install
-r
requirements.txt
&&
venv/bin/python3
-m
unittest discover
cd
semaphore-python-client-generated
&&
python3
-m
venv venv
&&
venv/bin/pip3
install
-r
test-requirements.txt
&&
venv/bin/pip3
install
-r
requirements.txt
&&
venv/bin/python3
-m
unittest discover
if
[
$?
-eq
0
]
if
[
$?
-eq
0
]
then
then
echo
"------- semaphore-python-client-generated tests successful ------"
echo
"------- semaphore-python-client-generated tests successful ------"
else
else
echo
"semaphore-python-client-generated tests Failed"
echo
"semaphore-python-client-generated tests Failed"
docker stack
rm
conf-test
exit
1
exit
1
fi
fi
...
@@ -76,6 +80,7 @@ then
...
@@ -76,6 +80,7 @@ then
echo
"------- deployer tests successful ------"
echo
"------- deployer tests successful ------"
else
else
echo
"deployer tests Failed"
echo
"deployer tests Failed"
docker stack
rm
conf-test
exit
1
exit
1
fi
fi
...
...
deployer/requirements.txt
View file @
6274c26a
...
@@ -11,4 +11,5 @@ six==1.14.0
...
@@ -11,4 +11,5 @@ six==1.14.0
python_dateutil==2.8.1
python_dateutil==2.8.1
# setuptools==46.1.3
# setuptools==46.1.3
# urllib3==1.25.8
# urllib3==1.25.8
kubernetes==11.0.0
kubernetes==11.0.0
\ No newline at end of file
sure_tosca_client==1.0.6
\ No newline at end of file
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