-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support --redeploy=false to deploy a pipeline only if the repo is not… #1437
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1437 +/- ##
==========================================
- Coverage 36.58% 36.44% -0.14%
==========================================
Files 79 79
Lines 7292 7320 +28
==========================================
Hits 2668 2668
- Misses 4293 4321 +28
Partials 331 331
Continue to review full report at Codecov.
|
de0a607
to
159a56f
Compare
What do you mean by cyclic dependencies @pchico83 ? Could you explain the use case this enables a bit more? |
I think it's odd that Have we considered instead having a flag to not run the pipeline if already exists? |
@rberrelleza @pchico83 I don't think it is odd for default behavior, but I do like |
@rlamana @rberrelleza I will switch to |
@rberrelleza when you have pipelines that call other pipelines, it is sometimes easier to define the pipeline with cyclic references, especially when deploying preview environments. For example, let's say you have 5 repositories, and there is a PR on repo A. |
159a56f
to
b9c5aa9
Compare
Thank you for your contribution. I've just checked and your commit doesn't appear to be signed-off. That's something we need before your Pull Request can be merged. Please see our contributing guide. |
b9c5aa9
to
ecd2cdc
Compare
… already deployed Signed-off-by: Pablo Chico de Guzman <pchico83@gmail.com>
Signed-off-by: Pablo Chico de Guzman <pchico83@gmail.com>
ecd2cdc
to
13ff089
Compare
The part I don't get is why do you need skip-if-exists for that scenario? Don't we want all the dependencies to be redeployed together? |
@rberrelleza it makes the preview pipeline logic harder. For example, you deploy repo A in branch |
… already deployed
Signed-off-by: Pablo Chico de Guzman pchico83@gmail.com
This makes it possible to define cyclic dependencies between pipelines