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

Virtual Job should not need a step #3218

Open
VonnyJap opened this issue Oct 4, 2024 · 0 comments
Open

Virtual Job should not need a step #3218

VonnyJap opened this issue Oct 4, 2024 · 0 comments

Comments

@VonnyJap
Copy link
Member

VonnyJap commented Oct 4, 2024

What happened:

Having a validation error when virtual job does not contain a step. See below.

Screenshot 2024-10-03 at 5 01 36 PM

What you expected to happen:

Virtual job should not need a step since it is a no-op and execution is skipped.

How to reproduce it:

shared:
  image: node:14


jobs:
  triggering-ci:
    requires: [ ~pr, ~commit ]
    steps:
        - init: echo 'init'
  ci-setup-virtual:
    requires: [ ~triggering-ci ]
    annotations:
      screwdriver.cd/virtualJob: true

Paste the config above in validator.

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

No branches or pull requests

1 participant