Forum Discussion
Deployment rules in deployment pipeline
Hi,
We have created a Power BI deployment pipeline and assigned appropriate dev, test, and production workspaces to dev, test, and production. Connected dev workspace with on premises dev source and gateway connections. Created deployment rules to deploy dataflow and semantic models in the test workspace through the deployment pipeline. Could you please help me by answering the below questions.
1. when we push the dataflow and semantic models from dev to test workspace with deployment rules. I still see dev sources for dataflows in test workspace. how to change the sources to test from dev or how to delete the dev sources in test workspace?
2. how deployment rules works and how to setup a gatway for test workspace?
Thanks,
SP
- Anonymous2 years ago
Hi SaiPraveen ,
When you push dataflows from the development workspace to the test workspace using deployment rules, the dataflow sources remain connected to the development environment.
- Go to the deployment pipeline and select the test stage.
- Click on Deployment rules.
- For each dataflow and semantic model, set up or modify the Data source rules to point to your test data sources instead of the development ones.
Remember, after setting or modifying the rules, you need to redeploy the content from the development to the test stage for the changes to take effect. For more detailed instructions, please refer to the documentation on creating deployment rules.
To set up a gateway for your test workspace:
- Ensure that you have an on-premises data gateway installed and configured. If not, you can download and install it from the Power BI gateway documentation.
- In the Power BI service, go to Settings > Manage gateways.
- Find the gateway you wish to use for the test workspace and add a new data source that points to your test database or data source.
- Configure the data source with the necessary details (server name, database name, authentication method, etc.).
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
4 Replies
- SaiTejaTalasilaSuper User
Hi SaiPraveen ,
Even i have seen similar issue when i'm using deployment pipelines.If you configured everything properly after deploying the items in one stage to other wait for 1 to 2 min's and i did the same.
You can refer this -https://learn.microsoft.com/en-us/fabric/cicd/deployment-pipelines/create-rules
Thanks,
Sai Teja
- AnonymousNot applicable
Hi SaiPraveen ,
Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or if you are still confused about it, please feel free to let me know.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- SaiPraveenFrequent Visitor
Hi Neeko Tang,
I still confused on it. Could you please answer the questions I have mentioned above?
Thanks,SP
- AnonymousNot applicable
Hi SaiPraveen ,
When you push dataflows from the development workspace to the test workspace using deployment rules, the dataflow sources remain connected to the development environment.
- Go to the deployment pipeline and select the test stage.
- Click on Deployment rules.
- For each dataflow and semantic model, set up or modify the Data source rules to point to your test data sources instead of the development ones.
Remember, after setting or modifying the rules, you need to redeploy the content from the development to the test stage for the changes to take effect. For more detailed instructions, please refer to the documentation on creating deployment rules.
To set up a gateway for your test workspace:
- Ensure that you have an on-premises data gateway installed and configured. If not, you can download and install it from the Power BI gateway documentation.
- In the Power BI service, go to Settings > Manage gateways.
- Find the gateway you wish to use for the test workspace and add a new data source that points to your test database or data source.
- Configure the data source with the necessary details (server name, database name, authentication method, etc.).
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.