Skip to content

Commit 0855c6c

Browse files
Fix Kolla dependencies update schedule (#1585)
* Run weekly instead of nightly * Include CI labels * Fix ident * Include changelog * Remove version * Change commit author to stackhpc-ci
1 parent 289470c commit 0855c6c

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

.github/workflows/stackhpc-update-kolla.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: Update Kolla versions
33
on:
44
# Allow manual executions
55
workflow_dispatch:
6-
# Run nightly
6+
# Run weekly on Tuesday
77
schedule:
8-
- cron: '0 0 * * *'
8+
- cron: '0 0 * * 2'
99

1010
jobs:
1111
update-from-branch:
@@ -14,10 +14,13 @@ jobs:
1414
matrix:
1515
include:
1616
- version: stackhpc/2023.1
17+
codename: Antelope
1718
- version: stackhpc/2024.1
19+
codename: Caracal
1820
uses: ./.github/workflows/update-dependencies.yml
1921
with:
2022
openstack_version: ${{ matrix.version }}
23+
openstack_codename: ${{ matrix.codename }}
2124
permissions:
2225
contents: write
2326
pull-requests: write

.github/workflows/update-dependencies.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
description: OpenStack version
88
type: string
99
required: true
10+
openstack_codename:
11+
description: OpenStack codename
12+
type: string
13+
required: true
1014

1115
jobs:
1216
propose_github_release_updates:
@@ -73,10 +77,17 @@ jobs:
7377
path: ${{ github.workspace }}/src/kayobe-config
7478
commit-message: >-
7579
Bump ${{ matrix.key }} to ${{ steps.latest_tag.outputs.latest_tag }}
80+
author: stackhpc-ci <[email protected]>
7681
branch: update-dependency/${{ matrix.key }}/${{ inputs.openstack_version }}
7782
delete-branch: true
7883
title: >-
79-
Bump ${{ inputs.openstack_version }} ${{ matrix.key }} to ${{ steps.latest_tag.outputs.latest_tag }}
84+
Bump ${{ matrix.key }} to ${{ steps.latest_tag.outputs.latest_tag }}
8085
body: >
8186
This PR was created automatically to update ${{ inputs.openstack_version }}
8287
${{ matrix.key }} to ${{ steps.latest_tag.outputs.latest_tag }}.
88+
89+
GitHub Release Changelog:
90+
https://github.com/stackhpc/${{ matrix.key }}/releases/tag/${{ steps.latest_tag.outputs.latest_tag }}
91+
labels: |
92+
stackhpc-ci
93+
${{ inputs.openstack_codename }}

0 commit comments

Comments
 (0)