9797 runs-on : ubuntu-latest
9898 steps :
9999 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
100- - uses : vexxhost/chart-vendor@14e1c5d5cfd7079f283ab92b9261afebccd3cc9c # main
100+ - uses : vexxhost/chart-vendor@54afe5fa09325aa8e7438eb29bf892579e6528ef # main
101101 with :
102102 charts-root : magnum_cluster_api/charts
103103
@@ -109,10 +109,10 @@ jobs:
109109 matrix :
110110 network-driver : [calico, cilium]
111111 kubernetes-version :
112- - 1.31.12
113- - 1.32.8
114- - 1.33.4
115- - 1.34.0
112+ - 1.31.13
113+ - 1.32.9
114+ - 1.33.5
115+ - 1.34.1
116116 concurrency :
117117 group : sonobuoy-${{ matrix.kubernetes-version }}-${{ matrix.network-driver }}-${{ github.event.pull_request.number }}
118118 cancel-in-progress : true
@@ -129,16 +129,15 @@ jobs:
129129 - uses : dev-hanz-ops/install-gh-cli-action@af38ce09b1ec248aeb08eea2b16bbecea9e059f8 # v0.2.1
130130 with :
131131 gh-cli-version : 2.78.0
132- - id : image -info
132+ - id : tag -info
133133 run : |
134134 TAG_NAME=$(gh release list --repo vexxhost/capo-image-elements \
135- --limit 100 \
135+ --limit 10 \
136136 --exclude-pre-releases \
137137 --exclude-drafts \
138- --json name,publishedAt \
139- --jq '([ .[] | select(.name | startswith("ubuntu-minimal-jammy-${{ matrix.kubernetes-version }}"))] | sort_by(.publishedAt) | last | . name) ')
138+ --json name,isLatest \
139+ --jq '.[] | select(.isLatest == true) | . name')
140140
141- echo "file=$TAG_NAME.qcow2" >> $GITHUB_OUTPUT
142141 echo "name=$TAG_NAME" >> $GITHUB_OUTPUT
143142 env :
144143 GH_TOKEN : ${{ github.token }}
@@ -151,7 +150,7 @@ jobs:
151150
152151 enable_plugin magnum https://review.opendev.org/openstack/magnum refs/changes/10/949110/2
153152 # TODO(mnaser): fix this when we have the matrix
154- MAGNUM_GUEST_IMAGE_URL=https://github.com/vexxhost/capo-image-elements/releases/download/${{ steps.image -info.outputs.name }}/${{ steps.image-info.outputs.file }}
153+ MAGNUM_GUEST_IMAGE_URL=https://github.com/vexxhost/capo-image-elements/releases/download/${{ steps.tag -info.outputs.name }}/ubuntu-22.04-v ${{ matrix.kubernetes-version }}.qcow2
155154
156155 enable_plugin manila https://github.com/openstack/manila
157156 MANILA_ENABLED_BACKENDS=generic
@@ -192,7 +191,7 @@ jobs:
192191 env :
193192 OS_CLOUD : devstack
194193 NETWORK_DRIVER : ${{ matrix.network-driver }}
195- IMAGE_NAME : ${{ steps.image-info.outputs.name }}
194+ IMAGE_NAME : ubuntu-22.04-v ${{ matrix.kubernetes-version }}
196195 KUBE_TAG : v${{ matrix.kubernetes-version }}
197196 - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
198197 if : ${{ always() }}
0 commit comments