-
Notifications
You must be signed in to change notification settings - Fork 6
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
New feature: OS executor #52
Comments
I could use this feature too. Especially when I'm working with multiple repositories to bootstrap a project and I don't want to deal with submodules and having the repository that I depend on in I would call it |
I agree, but some case I need this. For example I use private network, or ssh tunnel for access remote services (existing legacy remote services, not in poco plan) At this point I think good idea a script which check this connection, and create it when not connect. this ssh tunnel used by my browser too. |
Sure. I'd have many use cases for this. If this would turn out to be some kinda lifecycle thing that would be even better. The other day I thought of a couple of things I could do in terms of cleaning up after my plan shuts down. |
Another use case, when I use one or more webserver in containers, and I want to open a browser from container. Currently I can't do this. But these scripts allow me to create a service which can open new browser tabs on host operating system. And when I end this session with containers, the poco will kill these processes too. |
I don't think this would be an enhancement. |
Could you show a creative example to how to open a browser on the host machine from container? |
You could open a browser within a container, see this example. One of the principal ideas of the docker world is OS independence. |
Do you try these examples on windows computer? |
Hello
I use poco very intensively and sometimes I meet a problem: I need some setting, setup step before project start, but it can't be done with before_script because it run in a docker container. So I think good idea a new block (same level with before_script) which can run a script on hostmachine (for example a shell script whitin the current project, or any other command). But I know, it can run on Windows/Mac/Linux, so each command need to mark with OS selector:
What do you think about it? it's like a
before start hook
- later it can be extended.The text was updated successfully, but these errors were encountered: