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
44b140ce
Commit
44b140ce
authored
6 years ago
by
Mark Goddard
Browse files
Options
Downloads
Patches
Plain Diff
Use force rebuild feature in stackhpc.os-images role
Change-Id: I21a682c72cee97583dcb4f1a01fa023c6e885608
parent
1ee04846
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/overcloud-ipa-build.yml
+1
-6
1 addition, 6 deletions
ansible/overcloud-ipa-build.yml
ansible/seed-ipa-build.yml
+1
-6
1 addition, 6 deletions
ansible/seed-ipa-build.yml
with
2 additions
and
12 deletions
ansible/overcloud-ipa-build.yml
+
1
−
6
View file @
44b140ce
...
@@ -23,12 +23,6 @@
...
@@ -23,12 +23,6 @@
ipa_image_force_rebuild
:
false
ipa_image_force_rebuild
:
false
tasks
:
tasks
:
-
block
:
-
block
:
-
name
:
Ensure existing Ironic Python Agent images are removed (force rebuild)
file
:
path
:
"
{{
image_cache_path
}}/{{
ipa_image_name
}}"
state
:
absent
when
:
ipa_image_force_rebuild | bool
-
name
:
Ensure Ironic Python Agent images are built
-
name
:
Ensure Ironic Python Agent images are built
include_role
:
include_role
:
name
:
stackhpc.os-images
name
:
stackhpc.os-images
...
@@ -44,4 +38,5 @@
...
@@ -44,4 +38,5 @@
type
:
raw
type
:
raw
os_images_git_elements
:
"
{{
ipa_build_dib_git_elements
}}"
os_images_git_elements
:
"
{{
ipa_build_dib_git_elements
}}"
os_images_upload
:
False
os_images_upload
:
False
os_images_force_rebuild
:
"
{{
ipa_image_force_rebuild
}}"
when
:
ipa_build_images | bool
when
:
ipa_build_images | bool
This diff is collapsed.
Click to expand it.
ansible/seed-ipa-build.yml
+
1
−
6
View file @
44b140ce
...
@@ -14,12 +14,6 @@
...
@@ -14,12 +14,6 @@
ipa_image_force_rebuild
:
false
ipa_image_force_rebuild
:
false
tasks
:
tasks
:
-
block
:
-
block
:
-
name
:
Ensure existing Ironic Python Agent images are removed (force rebuild)
file
:
path
:
"
{{
image_cache_path
}}/{{
ipa_image_name
}}"
state
:
absent
when
:
ipa_image_force_rebuild | bool
-
name
:
Ensure Ironic Python Agent images are built
-
name
:
Ensure Ironic Python Agent images are built
include_role
:
include_role
:
name
:
stackhpc.os-images
name
:
stackhpc.os-images
...
@@ -35,6 +29,7 @@
...
@@ -35,6 +29,7 @@
type
:
raw
type
:
raw
os_images_git_elements
:
"
{{
ipa_build_dib_git_elements
}}"
os_images_git_elements
:
"
{{
ipa_build_dib_git_elements
}}"
os_images_upload
:
False
os_images_upload
:
False
os_images_force_rebuild
:
"
{{
ipa_image_force_rebuild
}}"
-
name
:
Ensure Ironic Python Agent images are copied onto seed
-
name
:
Ensure Ironic Python Agent images are copied onto seed
copy
:
copy
:
...
...
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