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

src validate install validate.yaml" not working on bitbucket server codehost #47576

Closed
mibali opened this issue Feb 13, 2023 · 0 comments · Fixed by sourcegraph/src-cli#958
Closed
Assignees
Labels
p2 Priority 2 team/delivery Delivery team

Comments

@mibali
Copy link
Contributor

mibali commented Feb 13, 2023

  • Sourcegraph version: v4.4.2
  • Platform information: Bitbucketserver codehost

Steps to reproduce:

Currently, the src validate install validate.yaml does not work for the bitbucket server code host and throws the following error

Error:

⚠️ failed to read `SRC_GITHUB_TOKEN` environment variable

Expected behavior:

From the docs, I understand src validate install requires an environment variable to be set up to authenticate against your code host. Currently, only GitHub is supported as a code host. Can we have support for the bitbucket code host?

Actual behavior:

The user is using a repo that is already cloned to their Sourcegraph instance and then using the validate check as a way to only run a search query. Using the command with an existing repository like that was something we didn’t see as a use case.

/cc @sourcegraph/delivery

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2 Priority 2 team/delivery Delivery team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants