Skip to content

Bugfix: namescheme for ubuntu-capi-image was wrong (fixes #537) - #538

Merged
mbuechse merged 3 commits into
mainfrom
issue/537
Mar 22, 2024
Merged

mbuechse merged 3 commits into
mainfrom
issue/537

Conversation

@mbuechse

Copy link
Copy Markdown
Contributor

No description provided.

@mbuechse
mbuechse requested a review from markus-hentsch March 22, 2024 14:45
@mbuechse mbuechse linked an issue Mar 22, 2024 that may be closed by this pull request
@mbuechse

Copy link
Copy Markdown
Contributor Author

@markus-hentsch could you please test with this branch?

@markus-hentsch markus-hentsch left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on a DevStack with

---
images:
  - name: Ubuntu 22.04
    ...
    multi: true
    versions:
      - version: '20240319'
        ...
  - name: ubuntu-capi-image
    ...
    multi: false
    versions:
      - version: 'v1.26.11'
        ...

as input for OSISM's openstack-image-manager, resulting in:

+--------------------------------------+----------------------------+--------+
| ID                                   | Name                       | Status |
+--------------------------------------+----------------------------+--------+
| 4aa5137f-3f71-45ac-82c2-c3bdf2aee5c7 | Ubuntu 22.04               | active |
| 06778264-db21-4683-ac7a-06363aae91bd | ubuntu-capi-image v1.26.11 | active |
+--------------------------------------+----------------------------+--------+

... which is now accepted by the test script on this PR branch.

status: mandatory
- name: "ubuntu-capi-image"
name_scheme: "ubuntu-capi-image-v[0-9].[0-9]+(.[0-9]+)?"
name_scheme: "ubuntu-capi-image v[0-9].[0-9]+(.[0-9]+)?"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FTR, the major version is restricted to single digit here but that should be fine for a loooong time so I don't think it needs to change just noticed ;)

@mbuechse
mbuechse merged commit 20d3ae7 into main Mar 22, 2024
@mbuechse
mbuechse deleted the issue/537 branch March 22, 2024 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] namescheme for standard image "ubuntu-capi" wrong

2 participants