You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several errors are thrown while processing path mappings with a remote repo URL
To Reproduce
Steps to reproduce the behavior:
Shown below with --qa-skip but the errors also show up when doing an interactive transform:
$ move2kube transform -s "git+https://github.com/konveyor/move2kube.git" --qa-skip
INFO[0000] Cloning the repository using git into /var/folders/81/pzmd85sj2d9dg02xgmd7wlhr0000gn/T/move2kube2108463736/m2ksources. This might take some time.
INFO[0003] Configuration loading done
INFO[0003] Start planning
INFO[0003] Planning started on the base directory: '/var/folders/81/pzmd85sj2d9dg02xgmd7wlhr0000gn/T/move2kube2108463736/m2ksources/konveyor/move2kube.git'
INFO[0003] [ComposeAnalyser] Planning
INFO[0003] Identified 3 named services and 0 to-be-named services
INFO[0003] [ComposeAnalyser] Done
INFO[0003] [DockerfileDetector] Planning
INFO[0004] Identified 1 named services and 12 to-be-named services
INFO[0004] [DockerfileDetector] Done
INFO[0004] [CloudFoundry] Planning
INFO[0004] [CloudFoundry] Done
INFO[0004] [Base Directory] Identified 4 named services and 12 to-be-named services
INFO[0004] Planning finished on the base directory: '/var/folders/81/pzmd85sj2d9dg02xgmd7wlhr0000gn/T/move2kube2108463736/m2ksources/konveyor/move2kube.git'
INFO[0004] Planning started on its sub directories
INFO[0004] Identified 1 named services and 0 to-be-named services in .
INFO[0004] Identified 1 named services and 0 to-be-named services in .
INFO[0004] Planning finished on its sub directories
INFO[0004] [Directory Walk] Identified 6 named services and 12 to-be-named services
INFO[0004] [Named Services] Identified 5 named services
INFO[0004] Planning done. Number of services identified: 5
INFO[0004] Starting transformation
INFO[0004] Found multiple transformation options for the service 'api'. Selecting the first valid option.
INFO[0004] Using the transformation option 'ComposeAnalyser' for the service 'api'.
INFO[0004] Found multiple transformation options for the service 'move2kube'. Selecting the first valid option.
INFO[0004] Using the transformation option 'Golang-Dockerfile' for the service 'move2kube'.
INFO[0004] Using the transformation option 'Ruby-Dockerfile' for the service 'move2kube-git'.
INFO[0004] Using the transformation option 'ComposeAnalyser' for the service 'redis'.
INFO[0004] Found multiple transformation options for the service 'web'. Selecting the first valid option.
INFO[0004] Using the transformation option 'ComposeAnalyser' for the service 'web'.
INFO[0004] Iteration 1
INFO[0004] Iteration 2 - 5 artifacts to process
INFO[0004] Transformer 'ComposeAnalyser' processing 3 artifacts
ERRO[0004] path /var/folders/81/pzmd85sj2d9dg02xgmd7wlhr0000gn/T/move2kube2108463736/m2ksources/konveyor/move2kube.git/samples/docker-compose points to a unknown path. Removing the path
ERRO[0004] failed to process all the paths for the object of type *[]transformer.PathMapping and value &[{Type:Source SrcPath:/var/folders/81/pzmd85sj2d9dg02xgmd7wlhr0000gn/T/move2kube2108463736/m2ksources/konveyor/move2kube.git/samples/docker-compose DestPath:source TemplateConfig:<nil>} {Type:Source SrcPath:/var/folders/81/pzmd85sj2d9dg02xgmd7wlhr0000gn/T/move2kube2108463736/m2ksources/konveyor/move2kube.git/samples/docker-compose DestPath:source TemplateConfig:<nil>}] . Error: "failed to process the paths for the object of type *[]transformer.PathMapping and value &[{Type:Source SrcPath:/var/folders/81/pzmd85sj2d9dg02xgmd7wlhr0000gn/T/move2kube2108463736/m2ksources/konveyor/move2kube.git/samples/docker-compose DestPath:source TemplateConfig:<nil>} {Type:Source SrcPath:/var/folders/81/pzmd85sj2d9dg02xgmd7wlhr0000gn/T/move2kube2108463736/m2ksources/konveyor/move2kube.git/samples/docker-compose DestPath:source TemplateConfig:<nil>}] . Error: \"failed to convert /var/folders/81/pzmd85sj2d9dg02xgmd7wlhr0000gn/T/move2kube2108463736/m2ksources/konveyor/move2kube.git/samples/docker-compose Error: \\\"path /var/folders/81/pzmd85sj2d9dg02xgmd7wlhr0000gn/T/move2kube2108463736/m2ksources/konveyor/move2kube.git/samples/docker-compose points to a unknown path. Removing the path\\\"\""
INFO[0004] Transformer 'ZuulAnalyser' processing 1 artifacts
Expected behavior
There should be no errors
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Describe the bug
Several errors are thrown while processing path mappings with a remote repo URL
To Reproduce
Steps to reproduce the behavior:
Shown below with
--qa-skip
but the errors also show up when doing an interactive transform:Expected behavior
There should be no errors
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: