opendevstack / ods-provisioning-app

Provisioning app, which triggers project and component provisions (including Jira / Confluence / BitBucket and OCP resource creation)
Apache License 2.0
15 stars 20 forks source link

Input to component ID should be checked before provisioning #697

Open stevegbrooks opened 3 years ago

stevegbrooks commented 3 years ago

If a user inputs a component ID (e.g., 'docs') that collides with a name of a file/directory in https://github.com/opendevstack/ods-quickstarters, then during the Jenkins build it will return this error:

"Error: Target directory 'docs' must not exist yet"

I suggest a feature in the provisioning app that sanitizes the input so this error never happens.