Hugo Date Operations (osgav epoch)
created: 19/01/2019
Empty graphs in Datadog after installing the agent on a Raspberry Pi?
I experienced this and fixed it by installing a couple of things…
If your .travis.yml
install section looks like this and the build is failing to install Hugo…
install:
- go get github.com/spf13/hugo
…then try updating it to download a specific version of the hugo
binary:
install:
- export VER=0.18.1
- wget https://github.com/spf13/hugo/releases/download/v${VER}/hugo_${VER}_Linux-64bit.tar.gz
- tar xvzf hugo_${VER}_Linux-64bit.tar.gz
- mkdir -p $GOPATH/bin
- cp hugo_${VER}_linux_amd64/hugo_${VER}_linux_amd64 $GOPATH/bin/hugo
Why? Read on…