- Issue created by @longwave
- 🇬🇧United Kingdom longwave UK
Blocked by 📌 CI: update to 1.6.3 of the GitLab CI Template Active
- 🇬🇧United Kingdom longwave UK
Merged in 📌 CI: update to 1.6.3 of the GitLab CI Template Active , this issue is not for merging just for proving the fixes work in combination.
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
📌 CI: update to 1.6.3 of the GitLab CI Template Active is in, let's do this now!
- 🇬🇧United Kingdom longwave UK
So the issue here appears to be that build.env is invalid:
PROJECT_NAME=experience_builder PROJECT_TYPE=module number` etc. MODULE_NAME=experience_builder DRUPAL_CORE=11.1.x-dev PHP_VERSION=8.3 PHP_IMAGE_VARIANT=ubuntu-apache PHP_IMAGE_TAG=production _CURL_TEMPLATES_REPO=project/gitlab_templates _CURL_TEMPLATES_REF=default-ref COMPOSER_END_CODE=0
No idea where
number` etc.
is coming from... - 🇬🇧United Kingdom longwave UK
Is something mis-parsing info.yml?!
experience_builder.info.yml 51: # For the additional examples, which use `type: number` etc.
- 🇬🇧United Kingdom longwave UK
export PROJECT_TYPE=$(sed -n -e 's/^.*type:[[:space:]]*//p' $INFO_YML)
This regex is too permissive, on experience_builder.info.yml it returns two lines:
$ sed -n -e 's/^.*type:[[:space:]]*//p' experience_builder.info.yml module number` etc.
Fixed by changing the first
.*
to[[:space:]]*
as only whitespace is allowed before this YAML key. - 🇬🇧United Kingdom jonathan1055
Oops, yes that my recent addition in #3463740: Improve derivation of project name and type →
Thanks for finding the solution. I will get that fixed in a gitlab_templates MR.