OutSystems / outsystems-pipeline

Python package and pipeline examples to accelerate the integration of OutSystems with third-party CI/CD tools
Apache License 2.0
38 stars 54 forks source link

Waiting for lifetime to be free message, when using Lifetime 11.22.0 - status saved #78

Open basdejong95 opened 3 months ago

basdejong95 commented 3 months ago

https://github.com/OutSystems/outsystems-pipeline/blob/3e4c9cf81914945c84747daa6e4cdbf4baead717/outsystems/pipeline/deploy_tags_to_target_env_with_manifest.py#L180

the function get_running_deployment uses a status list which contains "saved".

https://github.com/OutSystems/outsystems-pipeline/blob/3e4c9cf81914945c84747daa6e4cdbf4baead717/outsystems/lifetime/lifetime_deployments.py#L120

https://github.com/OutSystems/outsystems-pipeline/blob/3e4c9cf81914945c84747daa6e4cdbf4baead717/outsystems/vars/pipeline_vars.py#L7

In lifetime 11.22.0 and upwards you can have multiple saved deployment plans without any issue.

is it possible to remove this "saved" status as a blocker to execute deployment plans?

basdejong95 commented 3 months ago

I have created a pull request: https://github.com/OutSystems/outsystems-pipeline/pull/79