Use the correct git branch of IPA when building deploy ramdisks
Change-Id: Ie8fd20a3fe98d93776296ec71c40b452ca482288
This commit is contained in:
parent
dc3f7c3f39
commit
da7e3a81bc
@ -16,6 +16,8 @@ dib_notmpfs: false
|
|||||||
dib_offline: false
|
dib_offline: false
|
||||||
dib_skipbase: false
|
dib_skipbase: false
|
||||||
dib_packages: ""
|
dib_packages: ""
|
||||||
|
ipa_git_folder: /opt/stack/ironic-python-agent
|
||||||
|
reqs_git_folder: /opt/stack/requirements
|
||||||
ipa_builder_git_folder: /opt/stack/ironic-python-agent-builder
|
ipa_builder_git_folder: /opt/stack/ironic-python-agent-builder
|
||||||
# Settings related to installing bifrost in a virtual environment
|
# Settings related to installing bifrost in a virtual environment
|
||||||
enable_venv: false
|
enable_venv: false
|
||||||
|
@ -115,9 +115,22 @@
|
|||||||
set_fact:
|
set_fact:
|
||||||
dib_os_release: "stretch"
|
dib_os_release: "stretch"
|
||||||
when: dib_os_element == "debian" and dib_os_release is undefined
|
when: dib_os_element == "debian" and dib_os_release is undefined
|
||||||
|
- name: "Initialize DIB source-repository variables"
|
||||||
|
set_fact:
|
||||||
|
# NOTE(dtantsur): these options have two copies of the same
|
||||||
|
# configuration: one for the old element in DIB (ironic-agent), the other -
|
||||||
|
# for the new element in IPA-builder (ironic-python-agent).
|
||||||
|
dib_source_repositories:
|
||||||
|
DIB_REPOLOCATION_ironic_agent: "{{ ipa_git_folder }}"
|
||||||
|
DIB_REPOLOCATION_ironic_python_agent: "{{ ipa_git_folder }}"
|
||||||
|
DIB_REPOLOCATION_requirements: "{{ reqs_git_folder }}"
|
||||||
|
# NOTE(dtantsur): using HEAD to avoid changing whatever is checked out
|
||||||
|
DIB_REPOREF_ironic_agent: HEAD
|
||||||
|
DIB_REPOREF_ironic_python_agent: HEAD
|
||||||
|
DIB_REPOREF_requirements: HEAD
|
||||||
- name: "Initialize the DIB environment variables fact"
|
- name: "Initialize the DIB environment variables fact"
|
||||||
set_fact:
|
set_fact:
|
||||||
dib_env_vars_final: "{{dib_env_vars}}"
|
dib_env_vars_final: "{{dib_env_vars | combine(dib_source_repositories)}}"
|
||||||
- name: "Set the DIB_RELEASE environment variable if set"
|
- name: "Set the DIB_RELEASE environment variable if set"
|
||||||
set_fact:
|
set_fact:
|
||||||
dib_env_vars_final: "{{dib_env_vars_final | combine({'DIB_RELEASE':dib_os_release}) }}"
|
dib_env_vars_final: "{{dib_env_vars_final | combine({'DIB_RELEASE':dib_os_release}) }}"
|
||||||
|
@ -83,6 +83,7 @@ ironic_git_url: https://opendev.org/openstack/ironic
|
|||||||
staging_drivers_git_url: https://opendev.org/x/ironic-staging-drivers
|
staging_drivers_git_url: https://opendev.org/x/ironic-staging-drivers
|
||||||
ironicinspector_git_url: https://opendev.org/openstack/ironic-inspector
|
ironicinspector_git_url: https://opendev.org/openstack/ironic-inspector
|
||||||
ironicinspectorclient_git_url: https://opendev.org/openstack/python-ironic-inspector-client
|
ironicinspectorclient_git_url: https://opendev.org/openstack/python-ironic-inspector-client
|
||||||
|
ipa_git_url: https://opendev.org/openstack/ironic-python-agent
|
||||||
ipa_builder_git_url: https://opendev.org/openstack/ironic-python-agent-builder
|
ipa_builder_git_url: https://opendev.org/openstack/ironic-python-agent-builder
|
||||||
mysql_username: "root"
|
mysql_username: "root"
|
||||||
mysql_password: ""
|
mysql_password: ""
|
||||||
@ -103,6 +104,7 @@ staging_drivers_git_folder: /opt/stack/ironic-staging-drivers
|
|||||||
ironicinspector_git_folder: /opt/stack/ironic-inspector
|
ironicinspector_git_folder: /opt/stack/ironic-inspector
|
||||||
ironicinspectorclient_git_folder: /opt/stack/python-ironic-inspector-client
|
ironicinspectorclient_git_folder: /opt/stack/python-ironic-inspector-client
|
||||||
sushy_git_folder: /opt/stack/sushy
|
sushy_git_folder: /opt/stack/sushy
|
||||||
|
ipa_git_folder: /opt/stack/ironic-python-agent
|
||||||
ipa_builder_git_folder: /opt/stack/ironic-python-agent-builder
|
ipa_builder_git_folder: /opt/stack/ironic-python-agent-builder
|
||||||
|
|
||||||
enabled_hardware_types: "ipmi,redfish,ilo"
|
enabled_hardware_types: "ipmi,redfish,ilo"
|
||||||
|
@ -27,6 +27,7 @@ upper_constraints_file: "{{ lookup('env', 'UPPER_CONSTRAINTS_FILE') | default(re
|
|||||||
staging_drivers_git_folder: "{{ git_root }}/ironic-staging-drivers"
|
staging_drivers_git_folder: "{{ git_root }}/ironic-staging-drivers"
|
||||||
keystone_git_folder: "{{ git_root}}/keystone"
|
keystone_git_folder: "{{ git_root}}/keystone"
|
||||||
sushy_git_folder: "{{ git_root}}/sushy"
|
sushy_git_folder: "{{ git_root}}/sushy"
|
||||||
|
ipa_git_folder: "{{ git_root}}/ironic-python-agent"
|
||||||
ipa_builder_git_folder: "{{ git_root}}/ironic-python-agent-builder"
|
ipa_builder_git_folder: "{{ git_root}}/ironic-python-agent-builder"
|
||||||
# *git_branch can be overridden for stable branch testing
|
# *git_branch can be overridden for stable branch testing
|
||||||
git_branch: master
|
git_branch: master
|
||||||
@ -41,6 +42,7 @@ reqs_git_branch: "{{ git_branch }}"
|
|||||||
staging_drivers_git_branch: "{{ git_branch }}"
|
staging_drivers_git_branch: "{{ git_branch }}"
|
||||||
keystone_git_branch: "{{ git_branch }}"
|
keystone_git_branch: "{{ git_branch }}"
|
||||||
sushy_git_branch: "{{ git_branch }}"
|
sushy_git_branch: "{{ git_branch }}"
|
||||||
|
ipa_git_branch: "{{ git_branch }}"
|
||||||
ipa_builder_git_branch: "{{ git_branch }}"
|
ipa_builder_git_branch: "{{ git_branch }}"
|
||||||
|
|
||||||
# Conditional variables utilized based on CI or manual testing options.
|
# Conditional variables utilized based on CI or manual testing options.
|
||||||
@ -92,6 +94,10 @@ bifrost_install_sources:
|
|||||||
git_url: "{{ sushy_git_url }}"
|
git_url: "{{ sushy_git_url }}"
|
||||||
git_branch: "{{ sushy_git_branch }}"
|
git_branch: "{{ sushy_git_branch }}"
|
||||||
name: sushy
|
name: sushy
|
||||||
|
- git_folder: "{{ ipa_git_folder }}"
|
||||||
|
git_url: "{{ ipa_git_url }}"
|
||||||
|
git_branch: "{{ ipa_git_branch }}"
|
||||||
|
name: ironic-python-agent
|
||||||
- git_folder: "{{ ipa_builder_git_folder }}"
|
- git_folder: "{{ ipa_builder_git_folder }}"
|
||||||
git_url: "{{ ipa_builder_git_url }}"
|
git_url: "{{ ipa_builder_git_url }}"
|
||||||
git_branch: "{{ ipa_builder_git_branch }}"
|
git_branch: "{{ ipa_builder_git_branch }}"
|
||||||
|
@ -40,6 +40,7 @@
|
|||||||
sushy_git_url: "{{ lookup('env', 'WORKSPACE') }}/openstack/sushy"
|
sushy_git_url: "{{ lookup('env', 'WORKSPACE') }}/openstack/sushy"
|
||||||
reqs_git_url: "{{ lookup('env', 'WORKSPACE') }}/openstack/requirements"
|
reqs_git_url: "{{ lookup('env', 'WORKSPACE') }}/openstack/requirements"
|
||||||
staging_drivers_git_url: "{{ lookup('env', 'WORKSPACE') }}/x/ironic-staging-drivers"
|
staging_drivers_git_url: "{{ lookup('env', 'WORKSPACE') }}/x/ironic-staging-drivers"
|
||||||
|
ipa_git_url: "{{ lookup('env', 'WORKSPACE') }}/openstack/ironic-python-agent"
|
||||||
ipa_builder_git_url: "{{ lookup('env', 'WORKSPACE') }}/openstack/ironic-python-agent-builder"
|
ipa_builder_git_url: "{{ lookup('env', 'WORKSPACE') }}/openstack/ironic-python-agent-builder"
|
||||||
when: lookup('env', 'ZUUL_BRANCH') | length > 0
|
when: lookup('env', 'ZUUL_BRANCH') | length > 0
|
||||||
- name: "Override the ipv4_gateway setting"
|
- name: "Override the ipv4_gateway setting"
|
||||||
|
6
releasenotes/notes/ipa-branch-6d1d30876b584cbf.yaml
Normal file
6
releasenotes/notes/ipa-branch-6d1d30876b584cbf.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Uses the appropriate ironic-python-agent branch when building a deploy
|
||||||
|
ramdisk instead of unconditionally using master. Set ``ipa_git_branch``
|
||||||
|
to override.
|
@ -18,6 +18,7 @@
|
|||||||
- openstack/diskimage-builder
|
- openstack/diskimage-builder
|
||||||
- openstack/ironic
|
- openstack/ironic
|
||||||
- openstack/ironic-inspector
|
- openstack/ironic-inspector
|
||||||
|
- openstack/ironic-python-agent
|
||||||
- openstack/ironic-python-agent-builder
|
- openstack/ironic-python-agent-builder
|
||||||
- openstack/keystone
|
- openstack/keystone
|
||||||
- openstack/openstacksdk
|
- openstack/openstacksdk
|
||||||
|
Loading…
Reference in New Issue
Block a user