Skip to content

Commit 8405b69

Browse files
authored
Merge branch 'vexxhost:main' into fix-dns-list-issue
2 parents a05b1a8 + 6d81c3d commit 8405b69

File tree

5 files changed

+72
-25
lines changed

5 files changed

+72
-25
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,20 @@ jobs:
2828
if: ${{ steps.release.outputs.release_created }}
2929
uses: actions/checkout@v4
3030

31-
- name: Build package
31+
- name: Build package (x86_64)
3232
if: ${{ steps.release.outputs.release_created }}
33-
uses: PyO3/maturin-action@v1
33+
uses: vexxhost/maturin-action@1fd4380c3940bda702f839c74df45c5b1392dbcc
3434
with:
3535
command: publish
36-
args: --non-interactive
36+
args: --non-interactive --skip-existing
37+
manylinux: '2_28'
38+
target: x86_64
39+
40+
- name: Build package (aarch64)
41+
if: ${{ steps.release.outputs.release_created }}
42+
uses: vexxhost/maturin-action@1fd4380c3940bda702f839c74df45c5b1392dbcc
43+
with:
44+
command: publish
45+
args: --non-interactive --skip-existing
46+
manylinux: '2_28'
47+
target: aarch64

.github/workflows/test.yml

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,50 +14,40 @@ on:
1414

1515
jobs:
1616
build:
17-
runs-on: ${{ matrix.runs-on }}
17+
runs-on: ubuntu-latest
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
include:
22-
- runs-on: ubuntu-latest
23-
python-version: "3.8"
24-
- runs-on: ubuntu-latest
25-
python-version: "3.9"
26-
- runs-on: ubuntu-latest
27-
python-version: "3.10"
21+
target: [x86_64, aarch64]
22+
python-version: ["3.8", "3.9", "3.10"]
2823
steps:
2924
- name: Checkout project
3025
uses: actions/checkout@v4
3126

3227
- name: Build package
33-
uses: PyO3/maturin-action@v1
28+
uses: vexxhost/maturin-action@1fd4380c3940bda702f839c74df45c5b1392dbcc
3429
with:
3530
command: build
31+
manylinux: '2_28'
3632
args: --release --sdist
33+
target: ${{ matrix.target }}
3734

3835
install:
39-
runs-on: ${{ matrix.runs-on }}
36+
runs-on: ubuntu-latest
4037
strategy:
4138
fail-fast: false
4239
matrix:
43-
include:
44-
- runs-on: ubuntu-latest
45-
python-version: "3.8"
46-
openstack-version: zed
47-
- runs-on: ubuntu-latest
48-
python-version: "3.8"
49-
openstack-version: "2023.1"
50-
- runs-on: ubuntu-latest
51-
python-version: "3.10"
52-
openstack-version: "2023.2"
40+
python-version: ["3.8", "3.9", "3.10"]
41+
openstack-version: ["zed", "2023.1", "2023.2", "2024.1", "2024.2"]
5342
steps:
5443
- name: Checkout project
5544
uses: actions/checkout@v4
5645

5746
- name: Build package
58-
uses: PyO3/maturin-action@v1
47+
uses: vexxhost/maturin-action@1fd4380c3940bda702f839c74df45c5b1392dbcc
5948
with:
6049
command: build
50+
manylinux: '2_28'
6151
args: --release --out dist --sdist
6252

6353
- name: Setup Python

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,47 @@
11
# Changelog
22

3+
## [0.26.0](https://github.com/vexxhost/magnum-cluster-api/compare/v0.25.8...v0.26.0) (2025-02-21)
4+
5+
6+
### Features
7+
8+
* Add aarch64 builds ([#508](https://github.com/vexxhost/magnum-cluster-api/issues/508)) ([11300c6](https://github.com/vexxhost/magnum-cluster-api/commit/11300c6f203b511693482c3bf6fe506136952d86))
9+
10+
## [0.25.8](https://github.com/vexxhost/magnum-cluster-api/compare/v0.25.7...v0.25.8) (2025-02-21)
11+
12+
13+
### Bug Fixes
14+
15+
* Solve build problems ([#506](https://github.com/vexxhost/magnum-cluster-api/issues/506)) ([00110bd](https://github.com/vexxhost/magnum-cluster-api/commit/00110bdf2bb87199ae645e898e11e28d134dddf5))
16+
17+
## [0.25.7](https://github.com/vexxhost/magnum-cluster-api/compare/v0.25.6...v0.25.7) (2025-02-21)
18+
19+
20+
### Bug Fixes
21+
22+
* Use pinned GitHub action ([03c5db6](https://github.com/vexxhost/magnum-cluster-api/commit/03c5db6fee97909ff2061c8e5d89bf787c4b52a2))
23+
24+
## [0.25.6](https://github.com/vexxhost/magnum-cluster-api/compare/v0.25.5...v0.25.6) (2025-02-21)
25+
26+
27+
### Bug Fixes
28+
29+
* add missing env ([c5e6737](https://github.com/vexxhost/magnum-cluster-api/commit/c5e6737b29b82351a592f3e80f060491bf51e330))
30+
31+
## [0.25.5](https://github.com/vexxhost/magnum-cluster-api/compare/v0.25.4...v0.25.5) (2025-02-21)
32+
33+
34+
### Bug Fixes
35+
36+
* Double-up permissions for release ([5b2aa1a](https://github.com/vexxhost/magnum-cluster-api/commit/5b2aa1a93e5dfccc227cdfb1fa4fbedeba2fdbd3))
37+
38+
## [0.25.4](https://github.com/vexxhost/magnum-cluster-api/compare/v0.25.3...v0.25.4) (2025-02-21)
39+
40+
41+
### Bug Fixes
42+
43+
* Solve trusted publishing ([f7f665c](https://github.com/vexxhost/magnum-cluster-api/commit/f7f665c76cc35fa2fed8048c131ca47c5d9e146e))
44+
345
## [0.25.3](https://github.com/vexxhost/magnum-cluster-api/compare/v0.25.2...v0.25.3) (2025-02-21)
446

547

magnum_cluster_api/driver.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,13 +246,17 @@ def update_cluster_status(
246246

247247
# NOTE(mnaser): We delete the application credentials at this stage
248248
# to make sure CAPI doesn't lose access to OpenStack.
249+
# NOTE(maximmonin): Keystone policy may forbid extraction of project
250+
# application credentials with admin rights.
249251
try:
250252
osc.keystone().client.application_credentials.find(
251253
name=cluster.uuid,
252254
user=cluster.user_id,
253255
).delete()
254256
except keystoneauth1.exceptions.http.NotFound:
255257
pass
258+
except keystoneauth1.exceptions.http.Forbidden:
259+
pass
256260

257261
resources.CloudConfigSecret(context, self.k8s_api, cluster).delete()
258262
resources.ApiCertificateAuthoritySecret(

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "magnum-cluster-api"
7-
version = "0.25.3"
7+
version = "0.26.0"
88
description = "Cluster API driver for Magnum"
99
readme = "README.md"
1010
license = "Apache-2.0"

0 commit comments

Comments
 (0)