Skip to content

goss doesn't support semantic versioning for custom rpms #334

Open
@thatsk

Description

@thatsk

Hi,
Its nice to use your tool.
But there is an bug i have found it doesn't support custom versioing of rpms
lets take an example
Here is my goss.yaml
{code}
package:
custom-service:
installed: true
versions:
- "5.37.0-201709220549.68d18f9"
service:
custom-service:
enabled: true
running: true
{code}
when I try to validate it fails
...F

Failures/Skipped:

Package: custom-service: version:
Expected
<[]string | len:1, cap:1>: ["5.37.0"]
to contain element matching
: 5.37.0-201709220549.68d18f9

Total Duration: 0.044s
Count: 4, Failed: 1, Skipped: 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions