Package Details: do-agent 3.16.11-1

Git Clone URL: https://aur.archlinux.org/do-agent.git (read-only, click to copy)
Package Base: do-agent
Description: DigitalOcean Agent for Enhanced Droplet Graphs
Upstream URL: https://github.com/digitalocean/do-agent
Keywords: digitalocean do droplet
Licenses: Apache
Submitter: 2bluesc
Maintainer: 2bluesc
Last Packager: 2bluesc
Votes: 9
Popularity: 0.180962
First Submitted: 2016-12-29 19:45 (UTC)
Last Updated: 2024-09-05 04:36 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

glitsj16 commented on 2019-05-02 01:59 (UTC)

For people that don't like the docker dependency, there's an alternative PKGBUILD at https://git.io/fjZiy. Please note that technically that is a binary package, so I called it do-agent-bin. It's just an example, I have no plans to offer it on AUR.

2bluesc commented on 2019-05-01 07:42 (UTC)

@z3ntu you're welcome to share a patch for consideration. Certainly would be simpler.

z3ntu commented on 2019-05-01 07:25 (UTC)

Can't the package just use "go build" like any other normal go software instead of requiring docker..? It's a bit ridiculous in my opinion.

djmoch commented on 2019-04-20 13:00 (UTC)

Since docker is required to build, it should be a makedepends.

BloodyAltair commented on 2019-04-17 22:25 (UTC)

@kureta digitalocean uses docker to build do-agent. To access docker daemon via unix socket as regular user, you need to be a member of docker group (read the following article ). @2bluesc you need to add docker as makedepends to this package

kureta commented on 2019-04-17 22:08 (UTC)

I installed docker and started docker.service, the error became:

fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.

:::::::::::::::: [Wed Apr 17 22:00:27 UTC 2019] target/do-agent-linux-amd64 ::::::::::::::::
docker run --rm -i -u "1000" -e "GOOS=linux" -e "GOARCH=amd64" -e "GOPATH=/gopath" -e "GOCACHE=/gopath/src/github.com/digitalocean/do-agent/target/.cache/go" -v "/home/kureta/.cache/yay/do-agent/src/go/src/github.com/digitalocean/do-agent:/gopath/src/github.com/digitalocean/do-agent" -w "/gopath/src/github.com/digitalocean/do-agent" golang:1.11.5 go build -ldflags ' -X "main.version=" -X "main.revision=e30bc2f" -X "main.buildDate=Wed Apr 17 22:00:27 UTC 2019" ' -o "target/do-agent-linux-amd64" ./cmd/do-agent
docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.39/containers/create: dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.
make: *** [Makefile:79: target/do-agent-linux-amd64] Error 126
==> ERROR: A failure occurred in build().
    Aborting...

Then I did chmod 777 /var/run/docker.sock and it worked.

kureta commented on 2019-04-17 20:45 (UTC)

I'm getting this error when trying to install:

==> Starting build()...                                                           
fatal: No names found, cannot describe anything.                                  
fatal: No names found, cannot describe anything.                                  
fatal: No names found, cannot describe anything.                                  
fatal: No names found, cannot describe anything.                                  
fatal: No names found, cannot describe anything.                                  

:::::::::::::::: [Wed Apr 17 20:40:55 UTC 2019] target/do-agent-linux-amd64 ::::::
::::::::::                                                                        
docker run --rm -i -u "1000" -e "GOOS=linux" -e "GOARCH=amd64" -e "GOPATH=/gopath"
 -e "GOCACHE=/gopath/src/github.com/digitalocean/do-agent/target/.cache/go" -v "/h
ome/kureta/.cache/yay/do-agent/src/go/src/github.com/digitalocean/do-agent:/gopath
/src/github.com/digitalocean/do-agent" -w "/gopath/src/github.com/digitalocean/do-
agent" golang:1.11.5 go build -ldflags ' -X "main.version=" -X "main.revision=e30b
c2f" -X "main.buildDate=Wed Apr 17 20:40:55 UTC 2019" ' -o "target/do-agent-linux-
amd64" ./cmd/do-agent                                                             
/bin/sh: docker: command not found                                                
make: *** [Makefile:79: target/do-agent-linux-amd64] Error 127                    
==> ERROR: A failure occurred in build().                                         
    Aborting...                                                                   
Error making: do-agent

BloodyAltair commented on 2019-03-29 07:43 (UTC)

@2bluesc What about repo update?

alzeih commented on 2017-12-04 03:43 (UTC)

@z3ntu this sounds like a network or firewall issue?

try to connect to the metadata api directly using (e.g.):

curl http://169.254.169.254/metadata/v1/

alzeih commented on 2017-12-04 03:41 (UTC)

@mawcomw : this seems to be from the Makefile believing it is only ever run from a git clone. https://github.com/digitalocean/do-agent/blob/1171266a8c5de9598a0d4b9e9967aeb5bf7df76b/Makefile#L5-L14