Skip to content

Commit 8b69b6f

Browse files
committed
test: added test for rootless deamon
1 parent ff3cf6d commit 8b69b6f

2 files changed

Lines changed: 3 additions & 117 deletions

File tree

.woodpecker/build.yaml

Lines changed: 1 addition & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ steps:
5353
<<: *pr
5454
settings:
5555
<<: *settings-pr
56-
name: registry.kokuwa.io/kokuwaio/dockerd:ci-${CI_PIPELINE_NUMBER}
56+
name: registry.kokuwa.io/kokuwaio/dockerd:ci-${CI_PIPELINE_NUMBER}-dockerd
5757
target: dockerd
5858
annotation:
5959
<<: *annotation
@@ -79,118 +79,3 @@ steps:
7979
<<: *settings-pr
8080
name: registry.kokuwa.io/kokuwaio/docker-cli:ci-${CI_PIPELINE_NUMBER}
8181
target: cli
82-
83-
cli-git-pr:
84-
<<: *pr
85-
depends_on: [cli-pr]
86-
settings:
87-
<<: *settings-pr
88-
name: registry.kokuwa.io/kokuwaio/docker-cli:ci-${CI_PIPELINE_NUMBER}-git
89-
target: cli-git
90-
91-
cli-az-pr:
92-
<<: *pr
93-
depends_on: [cli-pr]
94-
settings:
95-
<<: *settings-pr
96-
name: registry.kokuwa.io/kokuwaio/docker-cli:ci-${CI_PIPELINE_NUMBER}-az
97-
target: cli-az
98-
99-
cli-az-git-pr:
100-
<<: *pr
101-
depends_on: [cli-az-pr]
102-
settings:
103-
<<: *settings-pr
104-
name: registry.kokuwa.io/kokuwaio/docker-cli:ci-${CI_PIPELINE_NUMBER}-az-git
105-
target: cli-az-git
106-
107-
dockerd:
108-
<<: *push
109-
settings:
110-
<<: *settings-push
111-
name:
112-
- registry.kokuwa.io/kokuwaio/dockerd:latest
113-
- registry.kokuwa.io/kokuwaio/dockerd:28.2.2
114-
- docker.io/kokuwaio/dockerd:latest
115-
- docker.io/kokuwaio/dockerd:28.2.2
116-
- ghcr.io/kokuwaio/dockerd:latest
117-
- ghcr.io/kokuwaio/dockerd:28.2.2
118-
target: dockerd
119-
annotation:
120-
<<: *annotation
121-
org.opencontainers.image.title: Docker Daemon for WoodpeckerCI
122-
org.opencontainers.image.description: Docker daemon for usage in WoodpeckerCI.
123-
org.opencontainers.image.ref.name: kokuwaio/dockerd
124-
125-
dockerd-rootless:
126-
<<: *push
127-
settings:
128-
<<: *settings-push
129-
name:
130-
- registry.kokuwa.io/kokuwaio/dockerd:rootless
131-
- registry.kokuwa.io/kokuwaio/dockerd:28.2.2-rootless
132-
- docker.io/kokuwaio/dockerd:rootless
133-
- docker.io/kokuwaio/dockerd:28.2.2-rootless
134-
- ghcr.io/kokuwaio/dockerd:rootless
135-
- ghcr.io/kokuwaio/dockerd:28.2.2-rootless
136-
target: dockerd-rootless
137-
annotation:
138-
<<: *annotation
139-
org.opencontainers.image.title: Docker Daemon for WoodpeckerCI
140-
org.opencontainers.image.description: Docker daemon for usage in WoodpeckerCI.
141-
org.opencontainers.image.ref.name: kokuwaio/dockerd
142-
143-
cli:
144-
<<: *push
145-
settings:
146-
<<: *settings-push
147-
name:
148-
- registry.kokuwa.io/kokuwaio/docker-cli:latest
149-
- registry.kokuwa.io/kokuwaio/docker-cli:28.2.2
150-
- docker.io/kokuwaio/docker-cli:latest
151-
- docker.io/kokuwaio/docker-cli:28.2.2
152-
- ghcr.io/kokuwaio/docker-cli:latest
153-
- ghcr.io/kokuwaio/docker-cli:28.2.2
154-
target: cli
155-
156-
cli-git:
157-
<<: *push
158-
depends_on: [cli]
159-
settings:
160-
<<: *settings-push
161-
name:
162-
- registry.kokuwa.io/kokuwaio/docker-cli:git
163-
- registry.kokuwa.io/kokuwaio/docker-cli:28.2.2-git
164-
- docker.io/kokuwaio/docker-cli:git
165-
- docker.io/kokuwaio/docker-cli:28.2.2-git
166-
- ghcr.io/kokuwaio/docker-cli:git
167-
- ghcr.io/kokuwaio/docker-cli:28.2.2-git
168-
target: cli-git
169-
170-
cli-az:
171-
<<: *push
172-
depends_on: [cli]
173-
settings:
174-
<<: *settings-push
175-
name:
176-
- registry.kokuwa.io/kokuwaio/docker-cli:az
177-
- registry.kokuwa.io/kokuwaio/docker-cli:28.2.2-az
178-
- docker.io/kokuwaio/docker-cli:az
179-
- docker.io/kokuwaio/docker-cli:28.2.2-az
180-
- ghcr.io/kokuwaio/docker-cli:az
181-
- ghcr.io/kokuwaio/docker-cli:28.2.2-az
182-
target: cli-az
183-
184-
cli-az-git:
185-
<<: *push
186-
depends_on: [cli-az]
187-
settings:
188-
<<: *settings-push
189-
name:
190-
- registry.kokuwa.io/kokuwaio/docker-cli:az-git
191-
- registry.kokuwa.io/kokuwaio/docker-cli:28.2.2-az-git
192-
- docker.io/kokuwaio/docker-cli:az-git
193-
- docker.io/kokuwaio/docker-cli:28.2.2-az-git
194-
- ghcr.io/kokuwaio/docker-cli:az-git
195-
- ghcr.io/kokuwaio/docker-cli:28.2.2-az-git
196-
target: cli-az-git

.woodpecker/test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ when:
77
depends_on: [build]
88
matrix:
99
PLATFORM: [amd64, arm64]
10+
IMAGE: [dockerd, rootless]
1011
labels:
1112
platform: linux/${PLATFORM}
1213

1314
services:
1415
- name: dockerd
15-
image: registry.kokuwa.io/kokuwaio/dockerd:ci-${CI_PIPELINE_NUMBER}-rootless
16+
image: registry.kokuwa.io/kokuwaio/dockerd:ci-${CI_PIPELINE_NUMBER}-${IMAGE}
1617
ports: [2375]
1718
privileged: true
1819

0 commit comments

Comments
 (0)