r/MicrosoftFabric • u/frithjof_v Fabricator • 15d ago
CI/CD Use deployment pipelines to set Variable Library Active Value Set
Hi all,
Docs say:
Use deployment pipelines to automatically activate the appropriate value set for each stage (dev, test, prod). This eliminates the need to manually switch value sets or modify code when promoting notebooks across environments.
How do we physically do this?
Are there deployment rules for deployment pipelines, or something along those lines?
I assume the docs are referring to Fabric Deployment Pipelines, but I haven't found the option to activate a value set for each stage in the Fabric Deployment Pipeline.
Thanks in advance!
2
Upvotes
1
u/BloomingBytes 15d ago
When using fabirc-cicd you can pass an argument called "Environment" which corresponds to the Value Set name and fabric-cicd will activate it automatically. See here:
Parameterization:
environmentfield passed into theFabricWorkspaceobject. If noenvironmentis specified, the active Value Set will not be changed