FAQ | This is a LIVE service | Changelog

hyphen in CI_PROJECT_NAME breaks openapi:generator:base

The OPENAPI_GENERATOR_PYTHON_URLLIB3_PACKAGE_NAME inherits from OPENAPI_GENERATOR_PACKAGE_NAME inherits from the CI_PROJECT_NAME

https://gitlab.developers.cam.ac.uk/uis/devops/continuous-delivery/ci-templates/-/blame/master/auto-devops/openapi-generator.gitlab-ci.yml?ref_type=heads#L30

which breaks when the CI_PROJECT_NAME contains a hyphen as per example https://gitlab.developers.cam.ac.uk/uis/devops/finance/ufs/ufs-api/-/jobs/2110977

Workaround:

set OPENAPI_GENERATOR_DISABLED or set OPENAPI_GENERATOR_PACKAGE_NAME to a string without a hyphen.

Edited by Andrew Vella