Skip to content
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

feat: Detecting Golang services and creating plan file #2

Conversation

Prakhar-Agarwal-byte
Copy link
Contributor

@Prakhar-Agarwal-byte Prakhar-Agarwal-byte commented Oct 18, 2023

Output from the web console. It's detecting 1 Golang service as it transformer is specified. Plan file also gets created now.

time="2023-10-18T14:41:13Z" level=info msg="planfile: '/m2k.plan'"
time="2023-10-18T14:41:13Z" level=warning msg="the plan file doesn't exist"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'ContainerImagesPushScriptGenerator' since the transformer class 'ContainerImagesPushScript' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'EarAnalyser' since the transformer class 'EarAnalyser' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'Nodejs-Dockerfile' since the transformer class 'NodejsDockerfileGenerator' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'WinWebApp-Dockerfile' since the transformer class 'WinWebAppDockerfileGenerator' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'Tekton' since the transformer class 'Tekton' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'CloudFoundry' since the transformer class 'CloudFoundry' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'ComposeGenerator' since the transformer class 'ComposeGenerator' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'WarRouter' since the transformer class 'Router' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'ZuulAnalyser' since the transformer class 'ZuulAnalyser' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'Python-Dockerfile' since the transformer class 'PythonDockerfileGenerator' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'DockerfileDetector' since the transformer class 'DockerfileDetector' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'DockerfileImageBuildScript' since the transformer class 'DockerfileImageBuildScript' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'EarRouter' since the transformer class 'Router' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'Jar' since the transformer class 'JarAnalyser' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'Jboss' since the transformer class 'Jboss' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'Rust-Dockerfile' since the transformer class 'RustDockerfileGenerator' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'Kubernetes' since the transformer class 'Kubernetes' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'KubernetesVersionChanger' since the transformer class 'KubernetesVersionChanger' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'WarAnalyser' since the transformer class 'WarAnalyser' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'PHP-Dockerfile' since the transformer class 'PHPDockerfileGenerator' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'WinSLWebApp-Dockerfile' since the transformer class 'WinSilverLightWebAppDockerfileGenerator' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'Buildconfig' since the transformer class 'BuildConfig' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'WinConsoleApp-Dockerfile' since the transformer class 'WinConsoleAppDockerfileGenerator' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'ClusterSelector' since the transformer class 'ClusterSelectorTransformer' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'CNBContainerizer' since the transformer class 'CNBContainerizer' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'ComposeAnalyser' since the transformer class 'ComposeAnalyser' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'DotNetCore-Dockerfile' since the transformer class 'DotNetCoreDockerfileGenerator' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'Knative' since the transformer class 'Knative' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'DockerfileParser' since the transformer class 'DockerfileParser' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'Gradle' since the transformer class 'GradleAnalyser' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'Liberty' since the transformer class 'Liberty' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'Maven' since the transformer class 'MavenAnalyser' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'Tomcat' since the transformer class 'Tomcat' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'Ruby-Dockerfile' since the transformer class 'RubyDockerfileGenerator' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'ArgoCD' since the transformer class 'ArgoCD' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'OperatorTransformer' since the transformer class 'OperatorTransformer' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'OperatorsFromTCA' since the transformer class 'Executable' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'ReadMeGenerator' since the transformer class 'ReadMeGenerator' was not found"
time="2023-10-18T14:41:15Z" level=error msg="Ignoring the transformer 'Parameterizer' since the transformer class 'Parameterizer' was not found"
time="2023-10-18T14:41:15Z" level=info msg="Configuration loading done"
time="2023-10-18T14:41:15Z" level=info msg="Start planning"
time="2023-10-18T14:41:15Z" level=info msg="Planning started on the base directory: '/language.zip-expanded'"
time="2023-10-18T14:41:15Z" level=info msg="[Base Directory] Identified 0 named services and 0 to-be-named services"
time="2023-10-18T14:41:15Z" level=info msg="Planning finished on the base directory: '/language.zip-expanded'"
time="2023-10-18T14:41:15Z" level=info msg="Planning started on its sub directories"
time="2023-10-18T14:41:15Z" level=info msg="Identified 1 named services and 0 to-be-named services in language-platforms/golang"
time="2023-10-18T14:41:16Z" level=info msg="Planning finished on its sub directories"
time="2023-10-18T14:41:16Z" level=info msg="[Directory Walk] Identified 1 named services and 0 to-be-named services"
time="2023-10-18T14:41:16Z" level=info msg="[Named Services] Identified 1 named services"
time="2023-10-18T14:41:16Z" level=info msg="Planning done. Number of services identified: 1"
time="2023-10-18T14:41:16Z" level=info msg="Plan can be found at [/m2k.plan]."
time="2023-10-18T14:41:16Z" level=info msg="DEBUG after planning, list files"
time="2023-10-18T14:41:16Z" level=info msg="DEBUG file[0] - dep.json"
time="2023-10-18T14:41:16Z" level=info msg="DEBUG file[1] - example.c"
time="2023-10-18T14:41:16Z" level=info msg="DEBUG file[2] - hello.rs"
time="2023-10-18T14:41:16Z" level=info msg="DEBUG file[3] - language.zip"
time="2023-10-18T14:41:16Z" level=info msg="DEBUG file[4] d language.zip-expanded/"
time="2023-10-18T14:41:16Z" level=info msg="DEBUG file[5] - m2k.plan"
time="2023-10-18T14:41:16Z" level=info msg="DEBUG file[6] d tmp/"
time="2023-10-18T14:41:17Z" level=info msg=end

@HarikrishnanBalagopal HarikrishnanBalagopal merged commit 9e102dc into HarikrishnanBalagopal:main Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants