Dr. Jens Harbott 90332e6439 Revert "Override DOCKER_MIN_API_VERSION for skopeo when installing docker"
This reverts *parts* of commit 9519fafd102017e54f4d543f25ca4398f1ec67b8.

Specifically, this reverts the main fix regarding DOCKER_MIN_API_VERSION.

Reason for revert: Docker 26.0.0 is out, which drops the old API

This patch additionally modifies the Zuul config in two ways:

* disables buildset-registry jobs because they are children of
  opendev-buildset-registry (a base-job in opendev) and thus
  do not pick up new changes - they are reenabled in a followup
* disables crio jobs because they have their repo seemingly broken

Change-Id: I4d05f9b187f9e40c3dcb2597e08c5bb50c261b17
Co-Authored-By: Radosław Piliszek <radek@piliszek.it>
2024-03-21 13:30:29 +00:00

34 lines
671 B
YAML

---
- name: Stop docker.socket to avoid any conflict
become: true
service:
name: docker.socket
enabled: yes
state: stopped
listen: Restart docker
failed_when: false
- name: Assure docker service is running
become: true
service:
name: docker
enabled: yes
state: started
listen: Restart docker
- name: Assure docker.socket service is running
become: true
service:
name: docker.socket
enabled: yes
state: started
listen: Restart docker
failed_when: false
- name: Correct group ownership on docker sock
become: true
file:
path: /var/run/docker.sock
group: "{{ docker_group }}"
listen: Restart docker