Project

General

Profile

Actions

Bug #2355

closed

Deployment error at ACDH-CH repository

Added by Alexander Watzinger 3 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
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.
Actions #1

Updated by Alexander Watzinger about 2 months ago

  • Target version changed from 8.8.0 to 8.9.0
Actions #2

Updated by Omar Siam about 2 months 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.

Actions #3

Updated by Alexander Watzinger about 2 months 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.

Actions

Also available in: Atom PDF