Commit f5758485 authored by Carlo Landmeter's avatar Carlo Landmeter
Browse files

drone: add depends_on dockerfiles

this should run steps in parallel
parent 2a1fe627
......@@ -29,6 +29,7 @@ local pipeline(arch, darch, tags) = {
tags: '%s-%s' % [std.strReplace(tag, 'v', ''), arch],
dockerfile: 'Dockerfiles/%s/%s/Dockerfile' % [tag, arch],
},
depends_on: ['dockerfiles'],
}
for tag in tags
],
......
......@@ -22,6 +22,8 @@ steps:
tags: 3.6-x86
username:
from_secret: docker_user
depends_on:
- dockerfiles
- name: v3.7
image: plugins/docker
......@@ -33,6 +35,8 @@ steps:
tags: 3.7-x86
username:
from_secret: docker_user
depends_on:
- dockerfiles
- name: v3.8
image: plugins/docker
......@@ -44,6 +48,8 @@ steps:
tags: 3.8-x86
username:
from_secret: docker_user
depends_on:
- dockerfiles
- name: v3.9
image: plugins/docker
......@@ -55,6 +61,8 @@ steps:
tags: 3.9-x86
username:
from_secret: docker_user
depends_on:
- dockerfiles
- name: edge
image: plugins/docker
......@@ -66,6 +74,8 @@ steps:
tags: edge-x86
username:
from_secret: docker_user
depends_on:
- dockerfiles
---
kind: pipeline
......@@ -91,6 +101,8 @@ steps:
tags: 3.6-x86_64
username:
from_secret: docker_user
depends_on:
- dockerfiles
- name: v3.7
image: plugins/docker
......@@ -102,6 +114,8 @@ steps:
tags: 3.7-x86_64
username:
from_secret: docker_user
depends_on:
- dockerfiles
- name: v3.8
image: plugins/docker
......@@ -113,6 +127,8 @@ steps:
tags: 3.8-x86_64
username:
from_secret: docker_user
depends_on:
- dockerfiles
- name: v3.9
image: plugins/docker
......@@ -124,6 +140,8 @@ steps:
tags: 3.9-x86_64
username:
from_secret: docker_user
depends_on:
- dockerfiles
- name: edge
image: plugins/docker
......@@ -135,6 +153,8 @@ steps:
tags: edge-x86_64
username:
from_secret: docker_user
depends_on:
- dockerfiles
---
kind: pipeline
......@@ -160,6 +180,8 @@ steps:
tags: 3.6-aarch64
username:
from_secret: docker_user
depends_on:
- dockerfiles
- name: v3.7
image: plugins/docker
......@@ -171,6 +193,8 @@ steps:
tags: 3.7-aarch64
username:
from_secret: docker_user
depends_on:
- dockerfiles
- name: v3.8
image: plugins/docker
......@@ -182,6 +206,8 @@ steps:
tags: 3.8-aarch64
username:
from_secret: docker_user
depends_on:
- dockerfiles
- name: v3.9
image: plugins/docker
......@@ -193,6 +219,8 @@ steps:
tags: 3.9-aarch64
username:
from_secret: docker_user
depends_on:
- dockerfiles
- name: edge
image: plugins/docker
......@@ -204,6 +232,8 @@ steps:
tags: edge-aarch64
username:
from_secret: docker_user
depends_on:
- dockerfiles
---
kind: pipeline
......@@ -229,6 +259,8 @@ steps:
tags: 3.6-armhf
username:
from_secret: docker_user
depends_on:
- dockerfiles
- name: v3.7
image: plugins/docker
......@@ -240,6 +272,8 @@ steps:
tags: 3.7-armhf
username:
from_secret: docker_user
depends_on:
- dockerfiles
- name: v3.8
image: plugins/docker
......@@ -251,6 +285,8 @@ steps:
tags: 3.8-armhf
username:
from_secret: docker_user
depends_on:
- dockerfiles
- name: v3.9
image: plugins/docker
......@@ -262,6 +298,8 @@ steps:
tags: 3.9-armhf
username:
from_secret: docker_user
depends_on:
- dockerfiles
- name: edge
image: plugins/docker
......@@ -273,6 +311,8 @@ steps:
tags: edge-armhf
username:
from_secret: docker_user
depends_on:
- dockerfiles
---
kind: pipeline
......@@ -298,6 +338,8 @@ steps:
tags: 3.9-armv7
username:
from_secret: docker_user
depends_on:
- dockerfiles
- name: edge
image: plugins/docker
......@@ -309,5 +351,7 @@ steps:
tags: edge-armv7
username:
from_secret: docker_user
depends_on:
- dockerfiles
...
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment