Skip to content

Document how to set codefresh_pipeline spec_template to "AUTO-SELECT" branch  #73

Open
@ghost

Description

Ran into a use case that burned a bit of time figuring out and would like to update the docs to save someone else time!

To set up a pipeline so the YAML is automatically pulled from the triggering branch like so:
Screen Shot 2021-11-11 at 10 11 14 AM

    spec_template {
      repo     = "${var.github_org}/${codefresh_project.application.name}"
      path     = "./codefresh/${var.pipeline_template}"
      location = "git"
      revision = ""
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions