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

Not possible to use with GitHub for manifest repository when using Azure DevOps for CI/CD #43

Open
jozala opened this issue Dec 5, 2022 · 1 comment

Comments

@jozala
Copy link

jozala commented Dec 5, 2022

I was not able to configure the GitOps Connector to work with Azure DevOps as CI/CD and GitHub for Manifests repository.
As far as I understand this is currently not possible to use it like this. The tool can be used only if both Manifests repository and CI/CD pipelines are on one - either GitHub or Azure DevOps, but not mixed.
Could you please confirm that?

If that's the case, could this be clearly stated in the documentation? Currently, the configuration have separate fields for gitRepositoryType and ciCdOrchestratorType which imply they can be set to different values and work.

From what I understand, to use Azure DevOps pipeline agentless waiting for deployment status - we need to push information about the callback to Git pull request properties, but setting properties is only available in Azure DevOps repositories and not in GitHub.
Could you suggest some workaround for this?

@eedorenko
Copy link
Collaborator

eedorenko commented Jan 9, 2023

  1. True. The reason why it's not possible is that you can provide only single PAT which is used for both orchestrator and repository. It's fairly easy to update that behavior so one can provide separate tokens.
  2. However, even with implementing No 1, it still won't work due to the reason you mentioned. GH doesn't have PR properties. The method get_pr_metadata is not implemented for GH.

That's why there are two different ways of using GitOps Connector:

PRs are welcome.

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

No branches or pull requests

2 participants