Project

General

Profile

Actions

Bug #2355

open

Deployment error at ACDH-CH repository

Added by Alexander Watzinger 18 days ago.

Status:
Assigned
Priority:
Normal
Category:
Administration
Target version:
Start date:
2024-09-30
Estimated time:
Found in version:

Description

Test builds are failing with every code update at https://github.com/acdh-oeaw/OpenAtlas.
This doesn't affect the OpenAtlas main repository, just the ACDH-CH one. Although not dramatic it still sends error mails every time which can get in the way of more relevant issues.

The GitHub actions log shows an error at _3 (after test_openatlas) in the section Deploy using helm and the local helm chart
At first glance it seems the label openatlas-8.7.0 is problematic because [must not contain dots], see error log below.

Release "openatlas-8.7.0" does not exist. Installing it now.
W0930 12:35:17.981274    1940 warnings.go:70] metadata.name: this is used in Pod names and hostnames, which can result in surprising behavior; a DNS label is recommended: [must not contain dots]
W0930 12:35:17.981607    1940 warnings.go:70] metadata.name: this is used in Pod names and hostnames, which can result in surprising behavior; a DNS label is recommended: [must not contain dots]
W0930 12:35:18.213606    1940 warnings.go:70] metadata.name: this is used in Pod names and hostnames, which can result in surprising behavior; a DNS label is recommended: [must not contain dots]
Error: release openatlas-8.7.0 failed, and has been uninstalled due to atomic being set: 3 errors occurred:
    * Service "openatlas-8.7.0-postgres" is invalid: metadata.name: Invalid value: "openatlas-8.7.0-postgres": a DNS-1035 label must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name',  or 'abc-123', regex used for validation is '[a-z]([-a-z0-9]*[a-z0-9])?')
    * Service "openatlas-8.7.0" is invalid: metadata.name: Invalid value: "openatlas-8.7.0": a DNS-1035 label must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name',  or 'abc-123', regex used for validation is '[a-z]([-a-z0-9]*[a-z0-9])?')
    * Ingress.networking.k8s.io "openatlas-8.7.0" is invalid: [spec.rules[0].http.paths[0].backend.service.name: Invalid value: "openatlas-8.7.0": a DNS-1035 label must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name',  or 'abc-123', regex used for validation is '[a-z]([-a-z0-9]*[a-z0-9])?'), spec.rules[1].http.paths[0].backend.service.name: Invalid value: "openatlas-8.7.0": a DNS-1035 label must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name',  or 'abc-123', regex used for validation is '[a-z]([-a-z0-9]*[a-z0-9])?')]
Error: Process completed with exit code 1.

No data to display

Actions

Also available in: Atom PDF