Comments (5)
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.
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.
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.
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.
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)
- Support `DOCKER_AUTH_CONFIG`
- Podman in podman HOT 3
- Podman pulling image on every build despite edits to source HOT 3
- Only works with CUSTOM_ENV_CI_REGISTRY set
- local cache not restored HOT 2
- Allow overriding command HOT 2
- Improve install_command test HOT 1
- Change exit code HOT 1
- Rewrite code to be more idiomatic after Podman bugfix
- Improve login to Gitlab Registry HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from podman-gitlab-runner.