You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just pulled master. On Arch: amd64 Linux. Tried make...
Step 5/15 : RUN go get -u github.com/vektra/mockery/.../
---> Running in dcd1965c7357
package github.com/vektra/mockery
imports github.com/hashicorp/hcl/hcl/printer: cannot find package "github.com/hashicorp/hcl/hcl/printer"in any of:
/usr/local/go/src/github.com/hashicorp/hcl/hcl/printer (from $GOROOT)
/go/src/github.com/hashicorp/hcl/hcl/printer (from $GOPATH)
The command'/bin/sh -c go get -u github.com/vektra/mockery/.../' returned a non-zero code: 1
make: *** [Makefile:60: build] Error 1
# Mock creatorRUN GO111MODULE="on" go get -u github.com/vektra/mockery
Try again ...
Step 5/15 : RUN GO111MODULE="on" go get -u github.com/vektra/mockery
---> Running in f240d67d7a70
go get github.com/vektra/mockery: unexpected status (https://gocenter.io/github.com/vektra/mockery/@v/list): 405 Not Allowed
Ok, back to Dockerfile... Change goproxy line to...
ENV GOPROXY=https://proxy.golang.org
Try again...
Step 8/15 : RUN bash -c 'if [ ${ostype} == Linux ]; then addgroup -g $gid app; else addgroup app; fi && adduser -D -u $uid -G app app && chown app:app -R /go'
---> Running in d2ce703cf649
addgroup: gid '0'in use
The command'/bin/sh -c bash -c 'if [ ${ostype}== Linux ];then addgroup -g $gid app;else addgroup app;fi&& adduser -D -u $uid -G app app && chown app:app -R /go'' returned a non-zero code: 1
make: *** [Makefile:60: build] Error 1
Ok, back to Dockerfile... changed uid and gid variable names...
ARG auid=2000
ARG agid=2000
RUN bash -c 'if [ ${ostype} == Linux ]; then addgroup -g $agid app; else addgroup app; fi && \ adduser -D -u $auid -G app app && \ chown app:app -R /go'
Try again...
Step 16/16 : WORKDIR /src
---> Running in 4bd2a103b450
Removing intermediate container 4bd2a103b450
---> 2aa32cec6d7e
[Warning] One or more build-args [gid uid] were not consumed
Successfully built 2aa32cec6d7e
Successfully tagged grafterm:latest
Success!
Actually building a binary was another slog through the Makefile..
I manually ran VERSION=amd64 ostype=Linux ./hack/scripts/build.sh
❯ ls -l ~/github/grafterm/bin/grafterm-linux-amd64
-rwxr-xr-x 1 ... /home/user/github/grafterm/bin/grafterm-linux-amd64
Cool.
❯ ~/github/grafterm/bin/grafterm-linux-amd64 --help
usage: grafterm [<flags>]
graph metrics on the terminal
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
--version Show application version.
-c, --cfg="dashboard.json" the path to the configuration file
-r, --refresh-interval=10s the interval to refresh the dashboard
--log-path="grafterm.log" the path where the log output will be written
-d, --relative-duration=RELATIVE-DURATION
the relative duration from now to load the graph.
-s, --start=START the time the dashboard will start in time. Accepts 2 formats, relative time from now based on duration(e.g.: 24h, 15m), or fixed duration in ISO 8601 (e.g.:
2019-05-12T09:35:11+00:00). If set it disables relative duration flag.
-e, --end=END the time the dashboard will end in time. Accepts 2 formats, relative time from now based on duration(e.g.: 24h, 15m), or fixed duration in ISO 8601 (e.g.:
2019-05-12T09:35:11+00:00).
-v, --var=VAR ... repeatable flag that will override the variable defined on the dashboard (in 'key=value' form)
-a, --ds-alias=DS-ALIAS ... repeatable flag that maps dashboard ID datasources to user defined datasources in the form of 'dashboard=user' (in 'key=value' form)
-u, --user-datasources="/home/user/grafterm/datasources.json"
path to a configuration file with user defined datasources, these datasources can override the dashboard datasources with the same ID and also can be used to alias
them using datasource alias flags. It fallbacks to GRAFTERM_USER_DATASOURCES env var
--debug enable debug mode, on debug mode it will print logs to the desired output
Just pulled master. On Arch: amd64 Linux. Tried make...
Ok...
Found this vektra/mockery#364
Modify
./docker/dev/Dockerfile
line to ...Try again ...
Ok, back to Dockerfile... Change goproxy line to...
ENV GOPROXY=https://proxy.golang.org
Try again...
Ok, back to Dockerfile... changed uid and gid variable names...
Try again...
Success!
Actually building a binary was another slog through the Makefile..
I manually ran
VERSION=amd64 ostype=Linux ./hack/scripts/build.sh
❯ ls -l ~/github/grafterm/bin/grafterm-linux-amd64 -rwxr-xr-x 1 ... /home/user/github/grafterm/bin/grafterm-linux-amd64
Cool.
Hey, it is alive.
Yep, that loads the test grid.
The text was updated successfully, but these errors were encountered: