vmware-tanzu / apps-cli-plugin

Apps Plugin for the Tanzu CLI
Apache License 2.0
18 stars 16 forks source link

Make it possible to force an unchanged workload to re-run through the supply chain #592

Open heyjcollins opened 1 year ago

heyjcollins commented 1 year ago

Description of problem

There are cases where a workload will fail to complete a run through the supply chain (e.g. test step fails). In this scenario, the only way to get the workload to run through the supply chain again would be to make an update to the code and run another tanzu apps workload apply

But in cases where the code needn't be altered to address the problem, an application developer has no way to just get their workload resubmitted without introducing an unnecessary change (without which the apps plugin will abort the command because it will not detect any changes to submit)

Proposed solution

add some means (a flag) to override the validation check to trigger a resubmit to the supply chain

Some options:

Additional context

cc @paulcwarren

heyjcollins commented 9 months ago

@atmandhol - I'm not porting this over to our GitLab repo for the plugin I'm ambivalent about investing here unless this is something we could implement successfully without dependence on changes to the OG Cartographer supplychains.

LMK if you think this is something we could support easily and I'll reconsider.

paulcwarren commented 9 months ago

Just my 2 cents but this is a needed feature IMO. Things like test flakes happen all of the time and without a way to kick the supply chain the developer has no option but to make a dumb code change or delete/re-apply their workload both of which are super ugly.