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

Show pipeline level config for pipeline template in the validator #3110

Closed
VonnyJap opened this issue May 2, 2024 · 1 comment
Closed

Show pipeline level config for pipeline template in the validator #3110

VonnyJap opened this issue May 2, 2024 · 1 comment
Assignees
Labels
pipeline-template subtask issue that is categorized as subtask of another issue
Milestone

Comments

@VonnyJap
Copy link
Member

VonnyJap commented May 2, 2024

What happened:

The validator does not display pipeline level configuration when validating a pipeline template.

Screenshot 2024-05-02 at 4 32 00 PM

What you expected to happen:

The validator should also display all pipeline-level configurations.

How to reproduce it:

Paste this config into the validator

namespace: sd-test
name: example-template
version: '1.0.0'
description: An example pipeline template for testing golang files
maintainer: foo@bar.com
config:
  parameters:
    nameA: "value1"
  annotations:
    screwdriver.cd/restrictPR: none
    screwdriver.cd/chainPR: false
  cache:
    event: [$SD_SOURCE_DIR/node_modules]
  subscribe:
    scmUrls:
      - git@github.com:supra08/functional-workflow.git: ['~commit', '~pr']
  shared:
    image: golang
    environment:
        FOO: "Bar"
  jobs:
    main:
      steps:
        - name: echo "pipeline template test"
@VonnyJap VonnyJap self-assigned this May 2, 2024
@VonnyJap VonnyJap added pipeline-template subtask issue that is categorized as subtask of another issue labels May 2, 2024
@VonnyJap VonnyJap added this to the M1 milestone May 2, 2024
@VonnyJap
Copy link
Member Author

duplicate of this #3114

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pipeline-template subtask issue that is categorized as subtask of another issue
Projects
Development

No branches or pull requests

1 participant