odo push
with alternate --run-command should push complete file set upon new pod creation
#3918
Labels
kind/bug
Categorizes issue or PR as related to a bug.
/kind bug
What versions of software are you using?
Operating System: Win10
Output of
odo version
: This is close to 1.2.6, with #3478 built inHow did you run odo exactly?
Roughly the workflow is:
I say "roughly" because with some devfile syntax tweaks the starter devfile keeps getting broken at a fixed level of 'odo' by devfile changes. So you might have to adjust this a bit to recreate.
Actual behavior
With the new run command, the deployment spec changes, so k8s starts a new pod, but the problem is that only the one .java file I changed gets copied into the new container, not the whole project. My new container only has:
/projects/src/...my.java
not the pom.xml even to build it. I can force the whole proj. to get copied withodo push -f
but that's not obvious.Expected behavior
Since this is a new pod, 'odo' should sync the entire project into the new pod, not just the delta/changed file set.
Any logs, error output, etc?
I could zip up the
-v 9
logs if it helps.The text was updated successfully, but these errors were encountered: