Skip to content
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 gitlab-runner as a "runtime" #9

Open
aszs opened this issue Mar 3, 2021 · 1 comment
Open

support gitlab-runner as a "runtime" #9

aszs opened this issue Mar 3, 2021 · 1 comment

Comments

@aszs
Copy link
Member

aszs commented Mar 3, 2021

Instead of running unfurl inside a python virtual machine we should add an option that runs it via gitlab runner.

It might be possible to do this out of the box: if you specify a runtime (either on the command line with --runtime or with a runtime key in contexts in unfurl.yaml) that isn't a venv: specifier it will treated as command line arguments that prepend the arguments passed to unfurl. (see _remoteCmd in __main__)

There's a simple Dockerfile for building a container with unfurl development environment but we probably want a better container for a gitlab-runner instance to use.

@aszs aszs changed the title support a gitlab-runner as a "runtime" support gitlab-runner as a "runtime" Mar 6, 2021
@aszs
Copy link
Member Author

aszs commented Jun 23, 2021

looks liked gitlab-runner exec doesn't support all the gitlab executors, only shell, docker and kubernetes, see: https://docs.gitlab.com/runner/executors/README.html#compatibility-chart and https://docs.gitlab.com/runner/commands/#gitlab-runner-exec
So not sure how useful this is...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant