Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui): add feature to import pipeline with yaml from UI #2463

Merged
merged 3 commits into from
Mar 26, 2018

Conversation

bnjjj
Copy link
Contributor

@bnjjj bnjjj commented Mar 24, 2018

  1. Description
    Add ability to import pipeline with yaml from the UI
  2. Related issues
  3. About tests
  4. Mentions

@ovh/cds

@yesnault
Copy link
Member

It will be great to add a example of yaml on the pipeline creation page.

capture d ecran 2018-03-25 a 20 04 54

Example:

name: MyPipeline
stages:
  1|Build:
    jobs:
      MyJob:
        steps:
        - script: echo I'm the firt step
        - script: echo I'm the second step

In addition, is it possible to add a way to upload an existing file?

@fsamin
Copy link
Member

fsamin commented Mar 26, 2018

this is an old-school yaml pipeline !


importPipeline() {
this.loadingCreate = true;
this._pipStore.importPipeline(this.project.key, this.pipToImport)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possible to add a popup warning when a pipeline with the same name exist?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

forceUpdate deleted

Signed-off-by: Benjamin Coenen <benjamin.coenen@corp.ovh.com>
@sguiheux sguiheux merged commit 178000e into master Mar 26, 2018
@sguiheux sguiheux removed the review label Mar 26, 2018
@bnjjj bnjjj deleted the feat_ui_import_pip branch March 29, 2018 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants