Hi ,
I am having a project with GO on gitlab platform which requirement many services to be built separately with different yaml. but i got issues passing the right command to be able create successful build
Hi ,
I am having a project with GO on gitlab platform which requirement many services to be built separately with different yaml. but i got issues passing the right command to be able create successful build
Can you explain what are the problem? I’m assuming you’re facing CI?
Hi Hollowaykeanho
it is CI issues…we have may go application and want to create golang build using yaml file. i do not really know the path of my dependencies to create the build
$ go get -v -d ./… - go get cmd
22github.com/spf13/viper (download)
Are you able to script a bash script (away from the yaml file) from your existing development machine?
Alternatively, can you list out the commands to run a successful build?
If your Go is setup correctly according to the Golang.org instruction, the pathing remains as the same with your development machines where $ echo ${HOME}/go
can tell you the location.
This command does not make any sense in any local/remote build. Go will automatically download and sort dependencies out when you build your application (as in importing Viper as Go module).
Are you using Viper as an external executable?
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.