shipkit icon indicating copy to clipboard operation
shipkit copied to clipboard

Combine test-downstream and upgrade-downstream features

Open mockitoguy opened this issue 8 years ago • 3 comments

Problem

Currently the downstream projects that we test against is a separate list than project that we perform downstream upgrade. It feels that there should be single configuration for this.

Additionally, we are cloning the same repositories multiple times because they are not reused between downstream testing and downstream upgrading.

Brainstorming

This is just brainstorming, the idea is to combine the features cleanly, without coupling them too much. It feels that when we have completed the downstream test, it is a good candidate for downstream upgrade.

apply plugin: 'org.shipkit.test-downstream'

testDownstream.testOnly("mockito/mockito") //test only
testDownstream.upgrade("mockito/shipkit", "mockito/shipkit-example") //test & upgrade

mockitoguy avatar Sep 27 '17 13:09 mockitoguy

@wwilk, thoughts?

mockitoguy avatar Sep 27 '17 13:09 mockitoguy

@szczepiq Yeah, it certainly needs to be done. I will work on it soon.

wwilk avatar Oct 06 '17 21:10 wwilk

Important to consider #438 when working on this one

wwilk avatar Oct 06 '17 22:10 wwilk