-
-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Makefile not changed #240
Comments
Thanks for reporting, I will check it out as soon as possible. |
I am considering to move to GoReleaser instead of Makefile. GoReleaser is a modern GoLang distribuition tool for better performance and CI/CD pipeline friendly. |
In the next few releases, I will fix the Dockerfile and the docker compose files. Thanks again for reporting this issue. |
$ go install github.com/goreleaser/goreleaser/v2@latest $ goreleaser build --snapshot --clean $ ls ./dist/ | grep agent
platypus-agent_darwin_amd64_v1
platypus-agent_darwin_arm64
platypus-agent_dragonfly_amd64_v1
platypus-agent_freebsd_386
platypus-agent_freebsd_arm_6
platypus-agent_freebsd_arm64
platypus-agent_linux_386
platypus-agent_linux_amd64_v1
platypus-agent_linux_arm_6
platypus-agent_linux_arm64
platypus-agent_linux_loong64
platypus-agent_linux_mips64_hardfloat
platypus-agent_linux_mips64le_hardfloat
platypus-agent_linux_mips_hardfloat
platypus-agent_linux_mipsle_hardfloat
platypus-agent_linux_ppc64
platypus-agent_linux_ppc64le
platypus-agent_linux_riscv64
platypus-agent_linux_s390x
platypus-agent_netbsd_386
platypus-agent_netbsd_amd64_v1
platypus-agent_netbsd_arm_6
platypus-agent_netbsd_arm64
platypus-agent_openbsd_amd64_v1
platypus-agent_openbsd_arm_6
platypus-agent_openbsd_arm64
platypus-agent_solaris_amd64_v1
platypus-agent_windows_386
platypus-agent_windows_amd64_v1
platypus-agent_windows_arm_6
platypus-agent_windows_arm64 $ ./dist/platypus-agent_linux_amd64_v1/platypus-agent
the required flags `-h, --host', `-p, --port' and `-t, --token' were not specified
$ ./dist/platypus-agent_linux_amd64_v1/platypus-agent --version
{"commit":"bacb8aad79a94af83bf6a7b3c132d3ea5e7ba673","date":"2024-09-17T20:05:17Z","version":"1.5.1-SNAPSHOT-bacb8aa"}
$ ./dist/platypus-agent_linux_amd64_v1/platypus-agent --help
Usage:
platypus-agent [OPTIONS]
Application Options:
-h, --host= Remote host
-p, --port= Remote port
-t, --token= API token
-e, --env=[development|staging|production] Environment (default: production)
-v, --version Print version information and exit
Help Options:
-h, --help Show this help message
$ ./dist/platypus-agent_linux_amd64_v1/platypus-agent --host 1.2.3.4 --port 13337 --token dummy-token
[Fx] PROVIDE fx.Lifecycle <= go.uber.org/fx.New.func1()
[Fx] PROVIDE fx.Shutdowner <= go.uber.org/fx.(*App).shutdowner-fm()
[Fx] PROVIDE fx.DotGraph <= go.uber.org/fx.(*App).dotGraph-fm()
[Fx] PROVIDE *zap.Logger <= main.main.InitLogger.func3()
[Fx] INVOKE main.main.func1()
[Fx] RUN provide: go.uber.org/fx.New.func1()
[Fx] RUN provide: main.main.InitLogger.func3()
[Fx] INVOKE main.main.func2()
2024-09-18T04:08:12.762+0800 INFO platypus-agent/main.go:771 starting application
2024-09-18T04:08:12.762+0800 INFO platypus-agent/main.go:774 connecting to server {"endpoint": "1.2.3.4:13337"} |
@WangYihang I built from source the latest commit where three binaries are generated:
But it is not clear how to use them. When I run It is not clear how to use these 3 binaries. Can you please explain briefly here and document them? |
Thanks for reporting, I will fix that soon. The |
Is there an ETA for it? |
I think the changes should be completed before the end of this year. Thanks for your support of this project. |
in the most recent commit you changed the directory where the go file for platypus and termite are located, this was not properly reflected in the makefile, so it's using the wrong paths
The text was updated successfully, but these errors were encountered: