Hi,

Do you have any documentation on how I can run custos locally?

Also If I make changes in one component, I need to build only that
component right? No need to clean build the entire project.

With regards,
Gopi Kiran


On Wed, Apr 1, 2020 at 9:35 PM Isuru Ranawaka <[email protected]> wrote:

> Hi Gopi,
>
> Yes, please go ahead
>
> On Wed, Apr 1, 2020 at 5:11 PM GOPI KIRAN <[email protected]> wrote:
>
> > Hi Isuru,
> >
> > I hadn't authenticated my gcloud account. Once I downloaded gcloud SDK it
> > builds successfully.
> > *<useMavenSettingsForAuth>false</useMavenSettingsForAuth> *
> > The above changes weren't required.
> >
> > If I need to create a PR should I fork the repo and raise the PR to
> develop
> > branch?
> >
> > With regards,
> > Gopi Kiran
> >
> >
> > On Tue, Mar 31, 2020 at 9:44 PM Isuru Ranawaka <[email protected]>
> wrote:
> >
> > > Hi,
> > >
> > > try with  <useMavenSettingsForAuth>false</useMavenSettingsForAuth> in
> > root
> > > pom.xml.
> > >
> > >
> > >
> > >
> > > On Tue, Mar 31, 2020 at 9:17 PM GOPI KIRAN <[email protected]>
> > wrote:
> > >
> > > > Hi Isuru,
> > > >
> > > > I initially used the master branch. I now shifted to develop a
> branch.
> > > >
> > > > When I try to clean install the repo. I got the below error.
> > > >
> > > > Java Version: 11
> > > > Maven Version: 3.6.1
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > *[ERROR] Failed to execute goal
> > > > com.spotify:dockerfile-maven-plugin:1.4.13:build (default) on project
> > > > tenant-profile-core-service: Could not build image:
> > java.io.IOException:
> > > > Cannot run program "docker-credential-gcloud": error=2, No such file
> or
> > > > directory -> [Help
> > > > 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> > > execute
> > > > goal com.spotify:dockerfile-maven-plugin:1.4.13:build (default) on
> > > project
> > > > tenant-profile-core-service: Could not build image    at
> > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > > (MojoExecutor.java:215)    at
> > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > > (MojoExecutor.java:156)    at
> > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > > (MojoExecutor.java:148)    at
> > > >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> > > > (LifecycleModuleBuilder.java:117)    at
> > > >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> > > > (LifecycleModuleBuilder.java:81)    at
> > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> > > > (SingleThreadedBuilder.java:56)    at
> > > > org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> > > > (LifecycleStarter.java:128)    at
> > org.apache.maven.DefaultMaven.doExecute
> > > > (DefaultMaven.java:305)    at org.apache.maven.DefaultMaven.doExecute
> > > > (DefaultMaven.java:192)    at org.apache.maven.DefaultMaven.execute
> > > > (DefaultMaven.java:105)    at org.apache.maven.cli.MavenCli.execute
> > > > (MavenCli.java:956)    at org.apache.maven.cli.MavenCli.doMain
> > > > (MavenCli.java:288)    at org.apache.maven.cli.MavenCli.main
> > > > (MavenCli.java:192)    at
> > > > jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> > > at
> > > > jdk.internal.reflect.NativeMethodAccessorImpl.invoke
> > > > (NativeMethodAccessorImpl.java:62)    at
> > > > jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
> > > > (DelegatingMethodAccessorImpl.java:43)    at
> > > > java.lang.reflect.Method.invoke (Method.java:566)    at
> > > > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> > > > (Launcher.java:282)    at
> > > > org.codehaus.plexus.classworlds.launcher.Launcher.launch
> > > > (Launcher.java:225)    at
> > > > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> > > > (Launcher.java:406)    at
> > > > org.codehaus.plexus.classworlds.launcher.Launcher.main
> > > > (Launcher.java:347)Caused by:
> > > > org.apache.maven.plugin.MojoExecutionException: Could not build image
> > > at
> > > > com.spotify.plugin.dockerfile.BuildMojo.buildImage
> (BuildMojo.java:247)
> > > > at com.spotify.plugin.dockerfile.BuildMojo.execute
> (BuildMojo.java:135)
> > > > at com.spotify.plugin.dockerfile.AbstractDockerMojo.tryExecute
> > > > (AbstractDockerMojo.java:265)    at
> > > > com.spotify.plugin.dockerfile.AbstractDockerMojo.execute
> > > > (AbstractDockerMojo.java:254)    at
> > > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
> > > > (DefaultBuildPluginManager.java:137)    at
> > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > > (MojoExecutor.java:210)    at
> > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > > (MojoExecutor.java:156)    at
> > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > > (MojoExecutor.java:148)    at
> > > >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> > > > (LifecycleModuleBuilder.java:117)    at
> > > >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> > > > (LifecycleModuleBuilder.java:81)    at
> > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> > > > (SingleThreadedBuilder.java:56)    at
> > > > org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> > > > (LifecycleStarter.java:128)    at
> > org.apache.maven.DefaultMaven.doExecute
> > > > (DefaultMaven.java:305)    at org.apache.maven.DefaultMaven.doExecute
> > > > (DefaultMaven.java:192)    at org.apache.maven.DefaultMaven.execute
> > > > (DefaultMaven.java:105)    at org.apache.maven.cli.MavenCli.execute
> > > > (MavenCli.java:956)    at org.apache.maven.cli.MavenCli.doMain
> > > > (MavenCli.java:288)    at org.apache.maven.cli.MavenCli.main
> > > > (MavenCli.java:192)    at
> > > > jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> > > at
> > > > jdk.internal.reflect.NativeMethodAccessorImpl.invoke
> > > > (NativeMethodAccessorImpl.java:62)    at
> > > > jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
> > > > (DelegatingMethodAccessorImpl.java:43)    at
> > > > java.lang.reflect.Method.invoke (Method.java:566)    at
> > > > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> > > > (Launcher.java:282)    at
> > > > org.codehaus.plexus.classworlds.launcher.Launcher.launch
> > > > (Launcher.java:225)    at
> > > > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> > > > (Launcher.java:406)    at
> > > > org.codehaus.plexus.classworlds.launcher.Launcher.main
> > > > (Launcher.java:347)Caused by:
> > > > com.spotify.docker.client.exceptions.DockerException:
> > > java.io.IOException:
> > > > Cannot run program "docker-credential-gcloud": error=2, No such file
> or
> > > > directory    at
> > > >
> > >
> >
> com.spotify.docker.client.auth.ConfigFileRegistryAuthSupplier.authForBuild
> > > > (ConfigFileRegistryAuthSupplier.java:108)    at
> > > > com.spotify.docker.client.auth.MultiRegistryAuthSupplier.authForBuild
> > > > (MultiRegistryAuthSupplier.java:77)    at
> > > > com.spotify.docker.client.DefaultDockerClient.build
> > > > (DefaultDockerClient.java:1488)    at
> > > > com.spotify.docker.client.DefaultDockerClient.build
> > > > (DefaultDockerClient.java:1465)    at
> > > > com.spotify.plugin.dockerfile.BuildMojo.buildImage
> (BuildMojo.java:240)
> > > > at com.spotify.plugin.dockerfile.BuildMojo.execute
> (BuildMojo.java:135)
> > > > at com.spotify.plugin.dockerfile.AbstractDockerMojo.tryExecute
> > > > (AbstractDockerMojo.java:265)    at
> > > > com.spotify.plugin.dockerfile.AbstractDockerMojo.execute
> > > > (AbstractDockerMojo.java:254)    at
> > > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
> > > > (DefaultBuildPluginManager.java:137)    at
> > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > > (MojoExecutor.java:210)    at
> > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > > (MojoExecutor.java:156)    at
> > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > > (MojoExecutor.java:148)    at
> > > >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> > > > (LifecycleModuleBuilder.java:117)    at
> > > >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> > > > (LifecycleModuleBuilder.java:81)    at
> > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> > > > (SingleThreadedBuilder.java:56)    at
> > > > org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> > > > (LifecycleStarter.java:128)    at
> > org.apache.maven.DefaultMaven.doExecute
> > > > (DefaultMaven.java:305)    at org.apache.maven.DefaultMaven.doExecute
> > > > (DefaultMaven.java:192)    at org.apache.maven.DefaultMaven.execute
> > > > (DefaultMaven.java:105)    at org.apache.maven.cli.MavenCli.execute
> > > > (MavenCli.java:956)    at org.apache.maven.cli.MavenCli.doMain
> > > > (MavenCli.java:288)    at org.apache.maven.cli.MavenCli.main
> > > > (MavenCli.java:192)    at
> > > > jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> > > at
> > > > jdk.internal.reflect.NativeMethodAccessorImpl.invoke
> > > > (NativeMethodAccessorImpl.java:62)    at
> > > > jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
> > > > (DelegatingMethodAccessorImpl.java:43)    at
> > > > java.lang.reflect.Method.invoke (Method.java:566)    at
> > > > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> > > > (Launcher.java:282)    at
> > > > org.codehaus.plexus.classworlds.launcher.Launcher.launch
> > > > (Launcher.java:225)    at
> > > > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> > > > (Launcher.java:406)    at
> > > > org.codehaus.plexus.classworlds.launcher.Launcher.main
> > > > (Launcher.java:347)Caused by: java.io.IOException: Cannot run program
> > > > "docker-credential-gcloud": error=2, No such file or directory*
> > > >
> > > >
> > > >
> > > > With regards,
> > > > Gopi Kiran
> > > >
> > > >
> > > > On Tue, Mar 31, 2020 at 9:06 PM Isuru Ranawaka <[email protected]>
> > > wrote:
> > > >
> > > > > Hi Gopi,
> > > > >
> > > > > What is the branch you are using?. Active developments are on
> develop
> > > > > branch
> > > > >
> > > > > thanks
> > > > > Isuru
> > > > >
> > > > > On Tue, Mar 31, 2020 at 8:50 PM GOPI KIRAN <[email protected]
> >
> > > > wrote:
> > > > >
> > > > > > I have cloned the Custos repo clean installed it. I have a few
> > > version
> > > > > fix
> > > > > > and very very minor code fixes in mind as of now. I wanted to
> > create
> > > a
> > > > > new
> > > > > > feature branch and work on the changes.
> > > > > >
> > > > > > I request you to grant me access to raise the PR and create a
> > branch.
> > > > > >
> > > > > > With regards,
> > > > > > Gopi Kiran
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Senior Engineer
> > > > > WSO2 Lanka (pvt) Ltd
> > > > > Blog:- http://isurur.blogspot.com/
> > > > > Phone:- +94714629880
> > > > >
> > > >
> > >
> > >
> > > --
> > > Research Software Engineer
> > > Indiana University, IN
> > >
> >
>
>
> --
> Research Software Engineer
> Indiana University, IN
>

Reply via email to