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
a7fcf1fc
Commit
a7fcf1fc
authored
2 years ago
by
Pierre Riteau
Committed by
Mark Goddard
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
CI: Run validate-config at the end of deploy
Change-Id: I40021caf3f94e718ea42d9ef77e5d9c77c3133de
parent
6c2aace8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tests/deploy.sh
+4
-0
4 additions, 0 deletions
tests/deploy.sh
tests/run.yml
+1
-0
1 addition, 0 deletions
tests/run.yml
tests/upgrade.sh
+2
-0
2 additions, 0 deletions
tests/upgrade.sh
with
7 additions
and
0 deletions
tests/deploy.sh
+
4
−
0
View file @
a7fcf1fc
...
@@ -23,6 +23,10 @@ function deploy {
...
@@ -23,6 +23,10 @@ function deploy {
kolla-ansible
-i
${
RAW_INVENTORY
}
-vvv
pull &> /tmp/logs/ansible/pull
kolla-ansible
-i
${
RAW_INVENTORY
}
-vvv
pull &> /tmp/logs/ansible/pull
kolla-ansible
-i
${
RAW_INVENTORY
}
-vvv
deploy &> /tmp/logs/ansible/deploy
kolla-ansible
-i
${
RAW_INVENTORY
}
-vvv
deploy &> /tmp/logs/ansible/deploy
kolla-ansible
-i
${
RAW_INVENTORY
}
-vvv
post-deploy &> /tmp/logs/ansible/post-deploy
kolla-ansible
-i
${
RAW_INVENTORY
}
-vvv
post-deploy &> /tmp/logs/ansible/post-deploy
if
[[
$HAS_UPGRADE
==
'no'
]]
;
then
kolla-ansible
-i
${
RAW_INVENTORY
}
-vvv
validate-config &> /tmp/logs/ansible/validate-config
fi
}
}
...
...
This diff is collapsed.
Click to expand it.
tests/run.yml
+
1
−
0
View file @
a7fcf1fc
...
@@ -388,6 +388,7 @@
...
@@ -388,6 +388,7 @@
environment
:
environment
:
TLS_ENABLED
:
"
{{
tls_enabled
}}"
TLS_ENABLED
:
"
{{
tls_enabled
}}"
KOLLA_ANSIBLE_VENV_PATH
:
"
{{
kolla_ansible_venv_path
}}"
KOLLA_ANSIBLE_VENV_PATH
:
"
{{
kolla_ansible_venv_path
}}"
HAS_UPGRADE
:
"
{{
is_upgrade
|
bool
|
ternary('yes',
'no')
}}"
# NOTE(yoctozepto): this is nice as the first step after the deployment
# NOTE(yoctozepto): this is nice as the first step after the deployment
# because it waits for the services to stabilize well enough so that
# because it waits for the services to stabilize well enough so that
...
...
This diff is collapsed.
Click to expand it.
tests/upgrade.sh
+
2
−
0
View file @
a7fcf1fc
...
@@ -20,6 +20,8 @@ function upgrade {
...
@@ -20,6 +20,8 @@ function upgrade {
# TODO(yoctozepto): Remove after Zed.
# TODO(yoctozepto): Remove after Zed.
kolla-ansible
-i
${
RAW_INVENTORY
}
-vvv
deploy
--tags
keystone &> /tmp/logs/ansible/upgrade-deploy
kolla-ansible
-i
${
RAW_INVENTORY
}
-vvv
deploy
--tags
keystone &> /tmp/logs/ansible/upgrade-deploy
kolla-ansible
-i
${
RAW_INVENTORY
}
-vvv
post-deploy &> /tmp/logs/ansible/upgrade-post-deploy
kolla-ansible
-i
${
RAW_INVENTORY
}
-vvv
post-deploy &> /tmp/logs/ansible/upgrade-post-deploy
kolla-ansible
-i
${
RAW_INVENTORY
}
-vvv
validate-config &> /tmp/logs/ansible/validate-config
}
}
...
...
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