Hi,
I have some rules to deploy preview environnement only if they match Preview in pr name but they seem not working
can you help me ?
Hi,
I have some rules to deploy preview environnement only if they match Preview in pr name but they seem not working
can you help me ?
It seem also the preview environnement don’t follow the “stop/start” rules is it normal ?
Hi,
Can you please give more info like:
Thanks
Hi,
i share you the project “staging” deploiement rules
Hi @Nicolas_Hernandez , we’ll take a look ASAP and come back to you
Hi @Nicolas_Hernandez ,
I had a look at your setup and there is an issue with the setup of your deployment rules.
As an example, if you are trying to achieve to automatically start and stop your preview environment from 8 to 10 you can set the rule to “Target future environment” = “[PR]*”
Why?
because each preview environment name starts with “[PR]”
Documentation here: Deployment Rule | Docs | Qovery
If you are trying to achieve a setup where the preview envs are automatically started/stopped between 8 to 11 and between 14 and 19 this is something we do not support. Only the first matching rule is applied and thus on your setup, only the AM rule will be applied
Documentation here: Deployment Rule | Docs | Qovery
We have improved a little bit the interface on the V3 but it still not perfect, we are working on making more easy to configure this type of setup automatically
Thanks for your anwser,
If i understand, i cannot control also which pull requests must have preview environnement or not ?
I try to switch “Target future environment” but all my pull requests create an preview environnement
Hi,
Unfortunately, this type of filter is not working with the deployment rules. We are working on revamping our deployment rules system and we should deliver the new version in Q1 that will allow this type of configuration and more (TTL etc…)
Hey @Nicolas_Hernandez ,
as a temporary workaround, if you are using a CI you can actually implement this filter in your pipeline via our CLI:
more info here for GitLab GitLab CI | Docs | Qovery
Has this been fixed? It will be REALLY useful to be able to pause our pull request environments during offline hours.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.