Package Details: do-agent 2.1.4-1

Git Clone URL: https://aur.archlinux.org/do-agent.git (read-only)
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: 3
Popularity: 0.000025
First Submitted: 2016-12-29 19:45
Last Updated: 2019-04-20 15:00

Latest Comments

1 2 Next › Last »

HLFH commented on 2019-07-16 11:11

3.5.2 package released. sha512sum is 982c5b284bb6fc3799b2bb8e8e835e76470ae23a3d1e02439603f0cc0ad1aad07797a890ecbbfbc5362df2b8501fc90ae8cf57df6a276c6b83849fb4ec7ec458

glitsj16 commented on 2019-05-02 01:59

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

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

z3ntu commented on 2019-05-01 07:25

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

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

BloodyAltair commented on 2019-04-17 22:25

@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

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

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

@2bluesc What about repo update?

alzeih commented on 2017-12-04 03:43

@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/