You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if this had an official docker image from you. Here is what I was thinking for a run syntax:
docker run -it mdubourg001/glci --only-jobs # or whatever extra args are provided.
Here is what I think that the Dockerfile should look like:
# docker build -t glci:local . && docker run -it glci:local
# I couldn't find a better image that worked (apparently python's a dependency)
FROM okdocker/pynode
RUN yarn global add glci # maybe we want to install from the local version?
ENTRYPOINT ["/usr/local/bin/glci"]
CMD ["--help"]
Here's an example of me running a local version of it:
I'd be happy to help incorporate the CI portion of it if you want help.
Thanks for making some amazing tooling! This fills a need that I have had for some time, but was too lazy to try to tackle.
The text was updated successfully, but these errors were encountered:
The goal of glci is really to be used (ran) locally to "pre-validate" your CI Pipelines while making changes to them. As glci already creates a new Docker container for each CI job he runs and automatically removes it when the job succeeds or fails, why would you want to run glci itself in Docker ? I'm not sure to understand the purpose here, could you explain ?
For developers who want to run glci, but don't have glci or yarn installed locally, and don't want to install them on their system. I think that this approach is probably the future of a lot of CLI tools (in fact tools like trivy and hadolint are doing this now).
CI as validation of a GitLab library (before that library is called) - This would also require a flag like --file to specify the yaml file to test. In gitlab this second use case would look something like this:
It would be great if this had an official docker image from you. Here is what I was thinking for a run syntax:
Here is what I think that the Dockerfile should look like:
Here's an example of me running a local version of it:

I'd be happy to help incorporate the CI portion of it if you want help.
Thanks for making some amazing tooling! This fills a need that I have had for some time, but was too lazy to try to tackle.
The text was updated successfully, but these errors were encountered: