Skip to content

Deploy only Triggers - with no other dependencies #197

Answered by NowinskiK
strivedi-met asked this question in Q&A
Discussion options

You must be logged in to vote

First of all - build pipeline should wrap up all objects of a given ADF as artifact. So, even when you're making selective deployment (triggers only) - all other objects should be available there.
However, in some specific scenarios (perhaps like yours) there is an option that allows you to skip reference validation:
IgnoreLackOfReferencedObject
It's available among the other publish options in the PowerShell module (just noticed it must be documented)

Example:

$o = New-AdfPublishOption
$o.IgnoreLackOfReferencedObject = $false

Publish-AdfV2FromJson ...

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@strivedi-met
Comment options

@NowinskiK
Comment options

@strivedi-met
Comment options

Answer selected by strivedi-met
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants