-
Notifications
You must be signed in to change notification settings - Fork 11
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
Support custom installation path for Docker mode #163
Conversation
as query parameters (after the `?`). These are: | ||
your SSH config file (~/.ssh/config). The API socket path can be omitted if the | ||
socket path is the default `/opt/tyger/api.sock` or if the `TYGER_SOCKET_PATH` | ||
environment variable is set on the SSH host. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could also use the environment variable on the client. Thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that might be getting too clever about it, since one could have a local docker install in addition to the remote. I think it is fine the way it is. Is it possible to specify TYGER_SOCKET_PATH
as one of the key value pairs? Then what happens if they are not consistent? I am assuming it is not possible, so a non-issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not currently possible to specify it as a key-value pair. Instead, you give the path to the socket as the path in the URL.
Copilot
AI
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 6 out of 21 changed files in this pull request and generated 3 suggestions.
Files not reviewed (15)
- .devcontainer/devcontainer.json: Language not supported
- .devcontainer/prepare-host.sh: Language not supported
- .vscode/launch.json: Language not supported
- Makefile.docker: Language not supported
- install/.gitignore: Language not supported
- scripts/get-config.sh: Language not supported
- scripts/run-ssh-tests.sh: Language not supported
- cli/integrationtest/migrations_test.go: Evaluated as low risk
- cli/internal/client/client.go: Evaluated as low risk
- cli/internal/client/client_test.go: Evaluated as low risk
- cli/internal/client/sshurl.go: Evaluated as low risk
- cli/internal/cmd/stdioproxy.go: Evaluated as low risk
- cli/internal/controlplane/login.go: Evaluated as low risk
- cli/internal/install/dockerinstall/docker.go: Evaluated as low risk
- cli/internal/install/dockerinstall/migrations.go: Evaluated as low risk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some stuff from my copilot reviewer buddy, but otherwise, works as advertised.
Allow specifying the installation path for Docker mode.