Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Cloud Deploy Policy not accepting regex for Pipeline ID and Target ID

Hi,
Cloud Deploy Policy is not accepting regex for Pipeline ID and Target ID. It is able to apply the prepared yaml and showing correct regex but it is not applying the policy. Below is the snippet of the selectors from deploy policy.

selectors:
- deliveryPipeline:
id: '*-deploy'
target:
id: '*-cl2'

Based on this configuration, the policy should be applied on all delivery pipelines ending with '-deploy' and targets ending with '-cl2'' which is not working. If exact values are provided then it worked.

0 2 149
2 REPLIES 2