From f8717612a09f6b7383ceb826876a8bb6e5991e37 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 24 Sep 2020 20:36:40 +0200 Subject: [PATCH] fix pipeline deps --- .drone.jsonnet | 2 +- .drone.yml | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 1297715..561bf06 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -166,7 +166,6 @@ local PipelineBuildContainer(arch='amd64') = { pull: 'always', commands: [ 'python setup.py bdist_wheel', - 'ls -l dist/git_batch-*.whl', ], }, { @@ -183,6 +182,7 @@ local PipelineBuildContainer(arch='amd64') = { when: { ref: ['refs/pull/**'], }, + depends_on: ['build'], }, { name: 'publish-dockerhub', diff --git a/.drone.yml b/.drone.yml index 3e5d207..ef58eef 100644 --- a/.drone.yml +++ b/.drone.yml @@ -191,7 +191,6 @@ steps: image: python:3.8 commands: - python setup.py bdist_wheel - - ls -l dist/git_batch-*.whl - name: dryrun pull: always @@ -207,6 +206,8 @@ steps: when: ref: - refs/pull/** + depends_on: + - build - name: publish-dockerhub image: plugins/docker:18-linux-amd64 @@ -268,7 +269,6 @@ steps: image: python:3.8 commands: - python setup.py bdist_wheel - - ls -l dist/git_batch-*.whl - name: dryrun pull: always @@ -284,6 +284,8 @@ steps: when: ref: - refs/pull/** + depends_on: + - build - name: publish-dockerhub image: plugins/docker:18-linux-arm64 @@ -345,7 +347,6 @@ steps: image: python:3.8 commands: - python setup.py bdist_wheel - - ls -l dist/git_batch-*.whl - name: dryrun pull: always @@ -361,6 +362,8 @@ steps: when: ref: - refs/pull/** + depends_on: + - build - name: publish-dockerhub image: plugins/docker:18-linux-arm @@ -503,6 +506,6 @@ depends_on: --- kind: signature -hmac: 6499b23b50c851323da8a438c6a9ea83d30b499c6b0c4eef62fea5150ecad7cb +hmac: b0626fcfd280db07a1a02ffa1cf800dcab7ee76d419a54e68c679ffbcfefdaf6 ...