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

How can we Invoke-AzDataFactoryV2Pipeline with our current branch code (not what is on the collaboration branch/live mode) #460

Open
o-o00o-o opened this issue Oct 27, 2022 · 0 comments

Comments

@o-o00o-o
Copy link

Hi all, we need to be able to start a Pipeline but with the ADF pipeline from our current branch (not from collaboration branch - master). This allows us to change both ADF as well as other aspects of our code at the same time and our CICD testing tools will use the current branches version of the ADF instead of the version that is in the collaboration (master) branch

Clearly ADF can do this on a single instance as it is what happens when you invoke a pipeline through the adf web UI in git mode, but we are trying to do this via powershell instead for CICD reasons

I can see that Invoke-AzDataFactoryV2Pipeline has an -InputObject property which seems to suggest that we can provide a custom package instead of a named pipeline on the existing ADF instance - perhaps this is the answer?

If so I can't work out how to take our current ADF structured folder of json documents and convert this into the PSPipeline Class that it needs. Willing to bet one of you guys can unlock that step for us. Thanks!

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