Git Product home page Git Product logo

Comments (5)

afro-coder avatar afro-coder commented on June 12, 2024

Hey, I was about to build a podman executor for GitLab, glad I found this, I wasn't able to understand what the CI_JOB_SERVICES does could you explain it I'm confused. I'm guessing it's the services option in the YAML file right?

Also, I don't mind helping for anything else too, let me know cause I recently tried to replace docker 1:1 with podman and I got it to work. I've written about it here.
https://dev.to/afrocoder/deploying-a-simple-portfolio-with-argo-tunnels-and-containers-for-fun-part-2-2n8l

I will try to run this directly and see if I can find any issues.

from podman-gitlab-runner.

jonasbb avatar jonasbb commented on June 12, 2024

Hi @afro-coder, the links above should have examples of what the CI_JOB_SERVICES variable contains when being used. It should contain the information from the services key in the CI config.

from podman-gitlab-runner.

afro-coder avatar afro-coder commented on June 12, 2024

Hey @jonasbb is this what this variable is? Seems like Gitlab already exports this $CUSTOM_ENV_CI_JOB_SERVICES
https://docs.gitlab.com/runner/executors/custom.html#services

Do we have to pass these to podman to run the containers before we do the image build?

So docker does this by the --link option I'm assuming? Since podman has pods do we launch these services in a pod? I've never worked on such a thing before so I'm quite confused

from podman-gitlab-runner.

jonasbb avatar jonasbb commented on June 12, 2024

Seems like Gitlab already exports this $CUSTOM_ENV_CI_JOB_SERVICES docs.gitlab.com/runner/executors/custom.html#services

Yes, that is the same variable. GitLab supports it already, that is what the merge request in the first comment is about.

I have no idea how to implement this. I guess you need to start some more containers, connect them via some network, and tear them down in the opposite order.
I am not using services myself, so this is not much of a priority for me.

from podman-gitlab-runner.

afro-coder avatar afro-coder commented on June 12, 2024

Yeah, same even I haven't used services.
let me see if I can get some examples if I get time I'll work on it

from podman-gitlab-runner.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.