Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
053ed574
Commit
053ed574
authored
4 years ago
by
Zuul
Committed by
Gerrit Code Review
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge "[CI] Add trove smoke test CI"
parents
f35f7630
be7d640c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
tests/setup_gate.sh
+2
-2
2 additions, 2 deletions
tests/setup_gate.sh
tests/templates/globals-default.j2
+1
-0
1 addition, 0 deletions
tests/templates/globals-default.j2
tests/test-magnum.sh
+10
-3
10 additions, 3 deletions
tests/test-magnum.sh
zuul.d/base.yaml
+1
-1
1 addition, 1 deletion
zuul.d/base.yaml
with
14 additions
and
6 deletions
tests/setup_gate.sh
+
2
−
2
View file @
053ed574
...
...
@@ -18,7 +18,7 @@ function setup_openstack_clients {
packages+
=(
python-ironicclient python-ironic-inspector-client
)
fi
if
[[
$SCENARIO
==
magnum
]]
;
then
packages+
=(
python-designateclient python-magnumclient python-octaviaclient
)
packages+
=(
python-designateclient python-magnumclient python-octaviaclient
python-troveclient
)
fi
if
[[
$SCENARIO
==
masakari
]]
;
then
packages+
=(
python-masakariclient
)
...
...
@@ -63,7 +63,7 @@ function prepare_images {
GATE_IMAGES+
=
",^dnsmasq,^ironic,^iscsid"
fi
if
[[
$SCENARIO
==
"magnum"
]]
;
then
GATE_IMAGES+
=
",^designate,^magnum,^octavia"
GATE_IMAGES+
=
",^designate,^magnum,^octavia
,^trove
"
fi
if
[[
$SCENARIO
==
"masakari"
]]
;
then
GATE_IMAGES+
=
",^masakari"
...
...
This diff is collapsed.
Click to expand it.
tests/templates/globals-default.j2
+
1
−
0
View file @
053ed574
...
...
@@ -154,5 +154,6 @@ enable_prometheus_openstack_exporter: "no"
{% if scenario == "magnum" %}
enable_designate: "yes"
enable_magnum: "yes"
enable_trove: "yes"
enable_octavia: "yes"
{% endif %}
This diff is collapsed.
Click to expand it.
tests/test-magnum.sh
+
10
−
3
View file @
053ed574
...
...
@@ -18,6 +18,12 @@ function test_octavia {
openstack loadbalancer list
}
function
test_trove
{
# smoke test
openstack database instance list
openstack database cluster list
}
function
test_designate
{
# Smoke test.
openstack zone list
--all
...
...
@@ -62,16 +68,17 @@ function test_magnum_logged {
test_magnum_clusters
test_octavia
test_designate
test_trove
}
function
test_magnum
{
echo
"Testing Magnum, Octavia and Designate"
echo
"Testing Magnum, Octavia
, Trove
and Designate"
test_magnum_logged
>
/tmp/logs/ansible/test-magnum 2>&1
result
=
$?
if
[[
$result
!=
0
]]
;
then
echo
"Testing Magnum, Octavia and Designate failed. See ansible/test-magnum for details"
echo
"Testing Magnum, Octavia
, Trove
and Designate failed. See ansible/test-magnum for details"
else
echo
"Successfully tested Magnum, Octavia and Designate . See ansible/test-magnum for details"
echo
"Successfully tested Magnum, Octavia
, Trove
and Designate . See ansible/test-magnum for details"
fi
return
$result
}
...
...
This diff is collapsed.
Click to expand it.
zuul.d/base.yaml
+
1
−
1
View file @
053ed574
...
...
@@ -132,7 +132,7 @@
parent
:
kolla-ansible-base
voting
:
false
files
:
-
^ansible/roles/(designate|magnum|octavia|octavia-certificates)/
-
^ansible/roles/(designate|magnum|octavia|octavia-certificates
|trove
)/
-
^tests/test-dashboard.sh
-
^tests/test-magnum.sh
vars
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment