gaia-pipeline/gaia

Bug: Cannot create Python pipelines with spaces in the pipeline name.

Shivakishore14 opened this issue · 0 comments

Pipeline creation fails each time when creating a Python pipeline with spaces in the pipeline name.
This is not the case when creating a Golang pipeline with spaces in the pipeline name, the Golang pipeline is created successfully.

Steps to reproduce

  1. Click on create new pipeline
  2. Use the demo for git repo link https://github.com/gaia-pipeline/python-example
  3. For the name of the pipeline give Test Demo Pipeline
  4. Click on create pipeline

output

cannot update pipeline: cannot install python plugin: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
ERROR: Invalid requirement: '/Users/sk/github/gaia/tmp/tmp/python/test'
Hint: It looks like a path. File '/Users/sk/github/gaia/tmp/tmp/python/test' does not exist.

Expected output

Pipeline creation should be successful

If i change the Pipeline name to TestDemoPipeline (remove all the spaces), the pipeline is created successfully.