-
Notifications
You must be signed in to change notification settings - Fork 13
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
Local Host #166
Comments
@johnaohara @rvansa pinging you for feedback before I finish the POC |
I've already mentioned in #165 , I wouldn't use a tag here; I perceive tags as an annotation to the value that's empty in this case. Is there any issue with using plain Do you expect to support running the local shell as a different user ( |
I had not thought about running the local shell as a different user but I will see if that is something we could support. I wanted to avoid a special or reserved host name so that we don't place limits on supported host names and to make it easier on the yaml parser to identify the local shell. Yaml tags start with The Yaml spec mentions using single exclamation marks as an application specific tag. You mentioned you perceive it as an annotation to an empty value and I feel that fits this use case well. We are annotating the value of the host alias as a local host shell and that annotation happens to work with an empty value. If we go on to support containers then perhaps that would be the value we annotate with |
I understand the concern about using tags as meta-data for empty node values, but I think tags could be useful for expressing the intended execution environment using a shortened notation, e.g. hosts:
localhost-proc-user: !local
localhost-different-user: !local root@
remote: !remote [email protected]
local-container: !local quay.io/foo/bar
local-container-different-user: !local quay.io/foo/bar:user@
remote-container: !remote quay.io/foo/bar:[email protected] For backward compatibility, If no tag is present, we assume
Tags are intended as Type information for the application to process, in this case the Type would be the class of env. I see wrt other concerns
|
We talked about having a
host
that executes the scripts in a local terminal. I found the magic incantation to start an interactive shell in a javaProcess
and have a poc working.yaml
we discussed using the mapping syntax and adding
local: true
which is supported but the test suite uses the one line scalar so it would help if we supported that for the local shell as well. I propose we use the!local
yaml tag to tell qDup to create a local connection.both of the above options will work and the shell will be transparent to the script. We should probably update
Local
(which uploads and downloads from the SUT) to detect a!local
shell and usecp
rather thanrsync
orscp
.Any comments or concerns?
The text was updated successfully, but these errors were encountered: