adjust the included-regions for ipa builds 89/12889/1
authorRozzii <adam.rozman@est.tech>
Tue, 22 Mar 2022 12:41:17 +0000 (14:41 +0200)
committerRozzii <adam.rozman@est.tech>
Tue, 22 Mar 2022 13:05:58 +0000 (15:05 +0200)
The changes present in this commit restrict the scope of the github
trigger of the ipa jobs in order to only trigger the jobs when
explicitly specified source code regions are modified.

Change-Id: I2d5cdc7ff74e87afebfd98d4e1aa76fb0db75098

jjb/metal3/job_ipa_image_building_test.yml
jjb/metal3/job_main_ipa_image_building.yml

index 5a4f76a4ba01b1d764fc2904eaef646d0b5d1445..1dd9d52a4881ba2756309bd3b5faf5ee672ef79e 100644 (file)
           wipe-workspace: True
           honor-refspec: True
           shallow-clone: False
+          included-regions:
+                - "ci/scripts/image_scripts/ipa_builder_elements/.*"
+                - "ci/scripts/image_scripts/build_ipa.sh"
+                - "ci/scripts/image_scripts/run_build_ironic.sh"
+                - "ci/scripts/image_scripts/start_centos_ipa_ironic_build.sh"
       script-path: "ci/jobs/openstack_ipa_and_ironic_image_building.pipeline"
       lightweight-checkout: False
index 6bfc4fc4ef9f6881a5c1d738852654d644904a35..fbcc72400f7f79fc061d8992deaad7bb33ab0113 100644 (file)
           wipe-workspace: True
           honor-refspec: True
           shallow-clone: False
+          included-regions:
+                - "ci/scripts/image_scripts/ipa_builder_elements/.*"
+                - "ci/scripts/image_scripts/build_ipa.sh"
+                - "ci/scripts/image_scripts/run_build_ironic.sh"
+                - "ci/scripts/image_scripts/start_centos_ipa_ironic_build.sh"
       script-path: "ci/jobs/openstack_ipa_and_ironic_image_building.pipeline"
       lightweight-checkout: False