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

Groups not supported in Buildkite CLI #147

Closed
jbugeja-wesdigital opened this issue May 30, 2023 · 1 comment
Closed

Groups not supported in Buildkite CLI #147

jbugeja-wesdigital opened this issue May 30, 2023 · 1 comment
Labels

Comments

@jbugeja-wesdigital
Copy link

jbugeja-wesdigital commented May 30, 2023

I am trying to run a pipeline locally with bk local run when the pipeline reaches my group step it fails with the message:

🚨 Error: The command phase has no 'command' to execute. Provide a 'command' field in your step configuration, or define a 'command' hook in a step plug-in, your repository '.buildkite/hooks', or agent 'hooks-path'.

This is the pipeline I tested with:

steps:
  - label: "test0"
    command: echo test0
  - group: "grouptest" 
    steps:
      - label: "test1"
        command: echo test1
      - label: "test2"
        command: echo test2

If I add a command under group it will pass, although it ignores any steps under my group, for example:

steps:
  - label: "test0"
    command: echo test0
  - group: "grouptest" 
    command: echo group
    steps:
      - label: "test1"
        command: echo test1
      - label: "test2"
        command: echo test2

This will print out only test0 and group. Are groups going to be supported via Buildkite CLI soon?

@mcncl
Copy link
Contributor

mcncl commented Sep 29, 2024

We've shipped v3 which currently doesn't have a local run tool; as you've seen there are complexities around keeping it up to date. We're looking at alternatives to local run that may provide longevity and less maintenance.

@mcncl mcncl closed this as not planned Won't fix, can't repro, duplicate, stale Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants