Invalid gitlab-ci adjustments for the app
Summary
The app is not using the node image in gitlab-ci, this should be configurable.
pages should also not be in gitlab-ci for the app.
Also there should be a different tsconfig for the app, that uses TypeScript 3.2.4 and can't be upgraded at the moment.
node_modules/@openstapps/configuration/tsconfig.json(8,5): error TS5023: Unknown compiler option 'incremental'.
Steps to reproduce
Call openstapps-configuration in the app project.
Example Project
What is the current bug behavior?
Configuration outputs gitlab-ci adjustments for image and pages, that are not needed in the app project.
tsconfig is not compatible with the app project.
What is the expected correct behavior?
No configuration errors on image and pages if used for app project.
Relevant logs and/or screenshots
Configuration config in app package.json:
"openstappsConfiguration": {
"forPackaging": false,
"hasCli": false,
"ignoreScripts": ["prepublishOnly", "compile"],
"serverSide": false,
"standardBuild": false,
"standardDocumentation": false
}
Configuration output for app project:
Entry 'image' in 'app/.gitlab-ci.yml' is incorrect. Expected value is:
image: registry.gitlab.com/openstapps/projectmanagement/node
Entry 'pages' in 'app/.gitlab-ci.yml' is incorrect. Expected value is:
pages:
artifacts:
paths:
- public
only:
- /^v[0-9]+\.[0-9]+\.[0-9]+$/
script:
- npm run documentation
- mv docs public
stage: deploy
Possible fixes
Edited by Sebastian Lange