Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kayobe
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
Kayobe
Commits
071ab367
Commit
071ab367
authored
4 years ago
by
Zuul
Committed by
Gerrit Code Review
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Test building seed deployment images in the seed job"
parents
7ba68f53
c84a9757
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dev/functions
+7
-10
7 additions, 10 deletions
dev/functions
playbooks/kayobe-seed-base/overrides.yml.j2
+3
-0
3 additions, 0 deletions
playbooks/kayobe-seed-base/overrides.yml.j2
roles/kayobe-diagnostics/files/get_logs.sh
+6
-0
6 additions, 0 deletions
roles/kayobe-diagnostics/files/get_logs.sh
with
16 additions
and
10 deletions
dev/functions
+
7
−
10
View file @
071ab367
...
...
@@ -282,16 +282,6 @@ function seed_deploy {
run_kayobe seed host configure
fi
# Note: This must currently be done before host configure, because host
# configure runs kolla-ansible.yml, which validates the presence of the
# built deploy images.
if
is_deploy_image_built_locally
;
then
echo
"Building seed deployment images"
run_kayobe seed deployment image build
else
echo
"Not building seed deployment images"
fi
if
[[
${
KAYOBE_SEED_CONTAINER_IMAGE_BUILD
}
=
1
]]
;
then
echo
"Building seed container images"
run_kayobe seed container image build
...
...
@@ -304,6 +294,13 @@ function seed_deploy {
echo
"Deploying containerised seed services"
run_kayobe seed service deploy
fi
if
is_deploy_image_built_locally
;
then
echo
"Building seed deployment images"
run_kayobe seed deployment image build
else
echo
"Not building seed deployment images"
fi
}
function
seed_upgrade
{
...
...
This diff is collapsed.
Click to expand it.
playbooks/kayobe-seed-base/overrides.yml.j2
+
3
−
0
View file @
071ab367
...
...
@@ -28,3 +28,6 @@ pip_index_url: "http://{{ zuul_site_mirror_fqdn }}/pypi/simple"
# are using for SSH to be removed. Use a dummy interface.
aio_bridge_ports:
- dummy1
# Build seed deployment images (IPA)
ipa_build_images: true
This diff is collapsed.
Click to expand it.
roles/kayobe-diagnostics/files/get_logs.sh
+
6
−
0
View file @
071ab367
...
...
@@ -89,6 +89,12 @@ copy_logs() {
docker
cp
bifrost_deploy:/var/log/mariadb/mariadb.log
${
LOG_DIR
}
/kolla/mariadb/
fi
# IPA build logs
if
[[
-f
/opt/kayobe/images/ipa/ipa.stderr
]]
||
[[
-f
/opt/kayobe/images/ipa/ipa.stdout
]]
;
then
mkdir
-p
${
LOG_DIR
}
/kayobe
cp
/opt/kayobe/images/ipa/ipa.stderr /opt/kayobe/images/ipa/ipa.stdout
${
LOG_DIR
}
/kayobe/
fi
# Rename files to .txt; this is so that when displayed via
# logs.openstack.org clicking results in the browser shows the
# files, rather than trying to send it to another app or make you
...
...
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