go-vela / community

Community Information for Vela (Target's official Pipeline Automation Framework)
https://go-vela.github.io/docs/
Apache License 2.0
22 stars 3 forks source link

changing pipeline type breaks rendering of all historical pipelines of other types #489

Open GregoryDosh opened 2 years ago

GregoryDosh commented 2 years ago

Description

If a repository swaps between a YAML based pipeline and Starlark base pipeline (or vice versa) then any builds which are of the other type will no longer render correctly.

Simple to reproduce. Start with a basic .vela.yml file, get one build, change base template to Starlark (delete the existing .vela.yml else you'll run into #488) and then get a new build. Then take a look at any of the old builds and you'll get issues with looking at the pipeline responsible for a build.

Value

Useful Information

  1. What is the output of vela --version?

    vela --version
    vela version v0.11.0
  2. What operating system is being used? macOS Monterey

  3. Any other important details? Screen Shot 2022-02-03 at 10 44 45 AM

jbrockopp commented 2 years ago

In an ideal state, this bug should get resolved with https://github.com/go-vela/community/issues/460 👍

I won't make any promises on that though 😅