question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature: `github` executor fallback to HTTP if `gh` is not installed

See original GitHub issue

Due to the fact that GH CLI is fairly new and almost doesn’t exist on CI/CD agents. might be trivial to use the same cmd line interface as the version package to reduce the need for multiple CLI’s that do pretty much the same thing, or as a counter suggestion, might be worth considering the creation of a semver:git that will work with the git CLI.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
DanielNetzercommented, May 29, 2022

Since we don’t do the pipeline in dockers, we will need to install on all the agents image the GH cli, our agents are based on K8S cluster for Azure DevOps that we self host, if I’ll add a step to install the GH cli on the pipeline it will slow the CI in a monorepo containing over 16 projects with 12 developers working on it.

While utilizing an http endpoint instead of the GH cli will work out of the box and will do the exact same thing. maybe we can add to the same executor a check if the GH cli exists, it will use it and if not it will resort to using the GITHUB HTTP request.

WDYT?

0reactions
edbzncommented, May 29, 2022

I agree that we could provide an HTTP fallback if the CLI is not installed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows is not able to recongnise gh as a command ... - GitHub
When i run the command gh --version it is showing me: 'gh' is not recognized as an internal or external command, operable program...
Read more >
command not found (gh binary is installed in the wrong path ...
Describe the bug When installing gh on ubuntu environment following installation guide, gh binary is installed in the wrong path ...
Read more >
My ideal Rust workflow - fasterthanli.me
Some of my Rust repositories are cargo workspaces, containing multiple crates, some of which have different cargo features. Checking only with " ...
Read more >
Managed instances operations - Sourcegraph handbook
To enable executors on a managed instance, see enable executors process. To restore a managed instance in the event of accidental deletion, follow...
Read more >
homebrew-core - Homebrew Formulae
a2ps 4.14 Any‑to‑PostScript filter aacgain 1.8 AAC‑supporting version of mp3gain aalib 1.4rc5 Portable ASCII art graphics library aamath 0.3 Renders mathematical expressions as ASCII art
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found