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

deploy-runner-on-gcp - cml runner command misinterpreted with multi-line, multi-command syntax #143

Closed
gregoryfoster opened this issue Nov 25, 2023 · 0 comments · Fixed by #144
Labels
bug Something isn't working

Comments

@gregoryfoster
Copy link
Contributor

gregoryfoster commented Nov 25, 2023

Describe the Bug

The Event Gather workflow fails during the deploy-runner-on-gcp job as the cml runner command is misinterpreted as a multi-line, multi-command entry rather than multi-line, single-command.

It's a syntax issue:
https://github.com/nick-fields/retry#run-multi-line-multi-command-script

Expected Behavior

Expected the workflow to proceed.

Reproduction

Running as is results in the following output; the Unknown argument: \ is the red flag.

Run nick-fields/retry@v2
cml runner

Manage self-hosted (cloud & on-premise) CI runners

Commands:
  cml runner launch  Launch and register a self-hosted runner
                     https://cml.dev/doc/ref/runner

Global Options:
  --log                    Logging verbosity
          [string] [choices: "error", "warn", "info", "debug"] [default: "info"]
  --driver                 Git provider where the repository is hosted
    [string] [choices: "github", "gitlab", "bitbucket"] [default: infer from the
                                                                    environment]
  --repo                   Repository URL or slug
                                  [string] [default: infer from the environment]
  --driver-token, --token  CI driver personal/project access token (PAT)
                                  [string] [default: infer from the environment]
  --help                   Show help                                   [boolean]

Unknown argument: \
Warning: Attempt 1 failed. Reason: Child_process exited with error code 1
cml runner

Environment

Any additional information about your environment.

  • OS Version: [e.g. macOS 11.3.1]
  • Cookiecutter Version: [e.g. 0.5.0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant