Skip to content

Commit 248146d

Browse files
committed
Propose PR when overcloud host images are built
1 parent 7dc5613 commit 248146d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/overcloud-host-image-build.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,22 @@ jobs:
391391
OS_APPLICATION_CREDENTIAL_SECRET: ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}
392392
if: always()
393393

394+
- name: Propose changes via PR if required
395+
uses: peter-evans/create-pull-request@v7
396+
with:
397+
path: ${{ github.workspace }}/src/kayobe-config
398+
commit-message: >-
399+
Bump overcloud host image(s) to ${{ steps.host_image_tag.outputs.host_image_tag }}
400+
author: stackhpc-ci <[email protected]>
401+
branch: bump-overcloud-host-images/${{ steps.host_image_tag.outputs.host_image_tag }}
402+
delete-branch: true
403+
title: >-
404+
DNM test PR: Bump overcloud host image(s) to ${{ steps.host_image_tag.outputs.host_image_tag }}
405+
body: >
406+
This PR was created automatically to update the overcloud host image
407+
tag(s) to ${{ steps.host_image_tag.outputs.host_image_tag }}.
408+
if: (!inputs.ubuntu-noble || steps.build_ubuntu_noble.outcome == 'success') && (!inputs.rocky9 || steps.build_rocky_9.outcome == 'success')
409+
394410
- name: Send message to Slack via Workflow Builder
395411
uses: slackapi/[email protected]
396412
with:

0 commit comments

Comments
 (0)