Bug #2355
closedDeployment error at ACDH-CH repository
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.
Updated by Alexander Watzinger 23 days ago
- Target version changed from 8.8.0 to 8.9.0
Updated by Omar Siam 21 days ago
On tags with version number we can not deploy. This is a limitation of the gl-autodevops-minimal-port at the moment so we disable this.
Tests will run and report a result and the container that is built from the tagged commit is deployed by the workflow for the main branch.
Updated by Alexander Watzinger 20 days ago
- Status changed from Assigned to Closed
- Assignee changed from Bernhard Koschiček-Krombholz to Omar Siam
- Target version changed from 8.9.0 to 8.8.0
Many thanks to Omar for support and bug fixing.