Do not build iso for ussuri ipa
Since ipa-builder is branchless its code is used directly from master to test ipa in stable releases. The iso has been fixed only recently, and since we need to use ipa-builder version 2.2.0 in stable/ussuri to test, build and publish the ipa ramdisk, we can't also build an iso in CI or the build job will break. As a result we do not buildi an iso for ussuri ironic-python-agent. Change-Id: I4801e87f5b3c37f113bfc9578c8e2aaa4d4f32f0
This commit is contained in:
parent
863735c202
commit
0a0e9014c6
@ -1,11 +1,20 @@
|
|||||||
- name: Build a TinyIPA image
|
- name: Build a TinyIPA image
|
||||||
command: make all
|
command: make
|
||||||
args:
|
args:
|
||||||
chdir: '{{ tinyipa_dir }}'
|
chdir: '{{ tinyipa_dir }}'
|
||||||
environment:
|
environment:
|
||||||
BRANCH_PATH: '{{ ipa_branch_path }}'
|
BRANCH_PATH: '{{ ipa_branch_path }}'
|
||||||
IPA_SOURCE_DIR: '{{ ansible_user_dir }}/src/opendev.org/openstack/ironic-python-agent'
|
IPA_SOURCE_DIR: '{{ ansible_user_dir }}/src/opendev.org/openstack/ironic-python-agent'
|
||||||
|
|
||||||
|
- name: Build a TinyIPA iso
|
||||||
|
command: make iso
|
||||||
|
args:
|
||||||
|
chdir: '{{ tinyipa_dir }}'
|
||||||
|
environment:
|
||||||
|
BRANCH_PATH: '{{ ipa_branch_path }}'
|
||||||
|
IPA_SOURCE_DIR: '{{ ansible_user_dir }}/src/opendev.org/openstack/ironic-python-agent'
|
||||||
|
when: "'ussuri' not in ipa_branch_path"
|
||||||
|
|
||||||
- name: Move resulting files
|
- name: Move resulting files
|
||||||
shell: |
|
shell: |
|
||||||
mv tinyipa*.tar.gz* "{{ ipa_tar_dir }}"
|
mv tinyipa*.tar.gz* "{{ ipa_tar_dir }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user