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

Integrating with Github without having to install the Github app #6439

Open
yanns opened this issue Jan 29, 2025 · 2 comments
Open

Integrating with Github without having to install the Github app #6439

yanns opened this issue Jan 29, 2025 · 2 comments

Comments

@yanns
Copy link

yanns commented Jan 29, 2025

In our company, we're using Github for the source files, and CircleCI for CI/CD.

When I'm pushing to Hive from CircleCI, I set the following parameters:

hive schema:publish \
              --registry.accessToken "$HIVE_REGISTRY_PUSH_ACCESS_TOKEN" \
              --service="<< parameters.service_name >>" \
              --url="<< parameters.graphql_url >>" \
              --author "<< parameters.author >>" \
              --commit "<< parameters.commit >>" \
              << parameters.schema_file >>

The author and the commit hash are pushed.

In the Hive UI, the hash of the commit is deployed in the history, but it's not linked to the change in github.
I see from https://the-guild.dev/graphql/hive/docs/management/projects#github-repository that this is possible, but I assume only if I active the Github integraton with the App.

Is it also possible to have Github integration in the history view in Hive by setting the right parameters manually?

@jdolle
Copy link
Collaborator

jdolle commented Jan 29, 2025

To my knowledge this is currently only possible using the github integration, which is not well suited for distributed graphs.
I'm not sure where it would fall on our priority list, but you do raise a good point and this could be improved.

Is it specifically a link to the git commit that you are looking for with this feature? Are there any other features/use cases you feel are missing with this git integration?

@yanns
Copy link
Author

yanns commented Jan 29, 2025

A link to the git commit would be very nice.

If possible, maybe using the metadata, I'd also like to display other information like:

  • link to the PR
  • link to the CircleCI job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants