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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Groups not supported in Buildkite CLI #147

Open
jbugeja-wesdigital opened this issue May 30, 2023 · 0 comments
Open

Groups not supported in Buildkite CLI #147

jbugeja-wesdigital opened this issue May 30, 2023 · 0 comments
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?

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

2 participants