Add resoure lock mechanism #3383
-
I have a service called services:
- name: dockerd
image: plugins/dockerd
privileged: true
ports: [2375]
steps:
docker-cli:
image: plugins/docker-cli
environment: [DOCKER_HOST=tcp://dockerd:2375]
commands: [docker pull rancher/k3s:v1.24.12-k3s1] This works fine for a single workflow. But if multiple workflows are running (e.g. multiple pull requests) all workflows except one are failing because the service already exists. Is there any method to prevent this? E.g. like Gitlab resource_groups? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
I actually think workflows should not block each other in general. |
Beta Was this translation helpful? Give feedback.
-
It, probably, worked, when service name was unique. I am not sure because there is also the same port. |
Beta Was this translation helpful? Give feedback.
-
#3288 is fixed, is this still an issue? |
Beta Was this translation helpful? Give feedback.
Yes, my issues was solved with 2.4.0