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

Remove use of 'patfix' service connection #2

Open
idg10 opened this issue Feb 10, 2020 · 0 comments
Open

Remove use of 'patfix' service connection #2

idg10 opened this issue Feb 10, 2020 · 0 comments

Comments

@idg10
Copy link
Contributor

idg10 commented Feb 10, 2020

Due to a bug in Azure DevOps, the service connection we want to use for accessing GitHub doesn't work, and we've had to introduce a temporary endjin-github-patfix one as a workaround. We should revert to endjin-github as soon as possible.

Ideally we shouldn't even refer to the real service connection names at all in the YAML. But annoyingly, it seems we cannot fully parameterize the service connections used in build pipelines. Of the three variable reference types defined at https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&tabs=yaml%2Cbatch#understand-variable-syntax two of them (macro and runtime expression) are evaluated too late to be used in template entries, and unfortunately, the "template expression" syntax is not supported for use as the endpoint setting of a repository. This means you are forced to put the actual name of the service connections into certain parts of the YAML.

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

1 participant