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

fix(api): default version is 1 for pipeline #5036

Merged
merged 2 commits into from
Mar 3, 2020

Conversation

yesnault
Copy link
Member

@yesnault yesnault commented Mar 2, 2020

No description provided.

yesnault added 2 commits March 2, 2020 18:17
should avoid this:

```
github.com/ovh/cds/engine/api.(*Router).recoverWrap.func1.1(0xc002ddb790, 0xc000b10d00, 0xc00108e420, 0x30f6100, 0xc004028370)
	/tmp/QnVpbGQgYW5kIFBhY2thZ2UgQWxs/run/engine/api/router.go:135 +0x483
panic(0x263db40, 0x477cf40)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
github.com/ovh/cds/engine/api/pipeline.ParseAndImport(0x310f640, 0xc001a20d50, 0x314f580, 0xc001a21410, 0x3156de0, 0xc001060d10, 0xc001ba5440, 0x0, 0x0, 0x30f6500, ...)
	/tmp/QnVpbGQgYW5kIFBhY2thZ2UgQWxs/run/engine/api/pipeline/pipeline_parser.go:25 +0x37
github.com/ovh/cds/engine/api.(*API).putImportPipelineHandler.func1(0x310f640, 0xc001a20d50, 0x3103e00, 0xc0041091c0, 0xc000b10d00, 0x0, 0x0)
	/tmp/QnVpbGQgYW5kIFBhY2thZ2UgQWxs/run/engine/api/pipeline_import.go:148 +0x514
github.com/ovh/cds/engine/api.(*Router).Handle.func1(0x30f6100, 0xc004028370, 0xc000b10d00)
```

Signed-off-by: Yvonnick Esnault <[email protected]>
Signed-off-by: Yvonnick Esnault <[email protected]>
@ovh ovh deleted a comment from ovh-cds Mar 3, 2020
@yesnault yesnault force-pushed the ye-fix-default-version-pipeline branch from 59c770a to 7361283 Compare March 3, 2020 09:34
@ovh-cds
Copy link
Collaborator

ovh-cds commented Mar 3, 2020

CDS Report build-all-cds#12629.0 ■

  • Build
    • Build and Package All ✔
    • Build Debpacker ✔
    • Build OS-Ansible-Inventory ✔
    • Build SMTPMock ✔
    • Lint UI Translate ✔
    • Test CLI ✔
    • Test Engine ✔
    • Test SDK ✔
    • Test SDK Rust ✔
    • Test UI ✔
  • Package
    • Docker ■
    • Docs ■

@sguiheux sguiheux merged commit 4077bb8 into master Mar 3, 2020
@yesnault yesnault deleted the ye-fix-default-version-pipeline branch March 4, 2020 09:06
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.

5 participants