fix pipeline deps

This commit is contained in:
Robert Kaussow 2020-09-24 20:36:40 +02:00
parent 744e65ec1f
commit f8717612a0
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 8 additions and 5 deletions

View File

@ -166,7 +166,6 @@ local PipelineBuildContainer(arch='amd64') = {
pull: 'always', pull: 'always',
commands: [ commands: [
'python setup.py bdist_wheel', 'python setup.py bdist_wheel',
'ls -l dist/git_batch-*.whl',
], ],
}, },
{ {
@ -183,6 +182,7 @@ local PipelineBuildContainer(arch='amd64') = {
when: { when: {
ref: ['refs/pull/**'], ref: ['refs/pull/**'],
}, },
depends_on: ['build'],
}, },
{ {
name: 'publish-dockerhub', name: 'publish-dockerhub',

View File

@ -191,7 +191,6 @@ steps:
image: python:3.8 image: python:3.8
commands: commands:
- python setup.py bdist_wheel - python setup.py bdist_wheel
- ls -l dist/git_batch-*.whl
- name: dryrun - name: dryrun
pull: always pull: always
@ -207,6 +206,8 @@ steps:
when: when:
ref: ref:
- refs/pull/** - refs/pull/**
depends_on:
- build
- name: publish-dockerhub - name: publish-dockerhub
image: plugins/docker:18-linux-amd64 image: plugins/docker:18-linux-amd64
@ -268,7 +269,6 @@ steps:
image: python:3.8 image: python:3.8
commands: commands:
- python setup.py bdist_wheel - python setup.py bdist_wheel
- ls -l dist/git_batch-*.whl
- name: dryrun - name: dryrun
pull: always pull: always
@ -284,6 +284,8 @@ steps:
when: when:
ref: ref:
- refs/pull/** - refs/pull/**
depends_on:
- build
- name: publish-dockerhub - name: publish-dockerhub
image: plugins/docker:18-linux-arm64 image: plugins/docker:18-linux-arm64
@ -345,7 +347,6 @@ steps:
image: python:3.8 image: python:3.8
commands: commands:
- python setup.py bdist_wheel - python setup.py bdist_wheel
- ls -l dist/git_batch-*.whl
- name: dryrun - name: dryrun
pull: always pull: always
@ -361,6 +362,8 @@ steps:
when: when:
ref: ref:
- refs/pull/** - refs/pull/**
depends_on:
- build
- name: publish-dockerhub - name: publish-dockerhub
image: plugins/docker:18-linux-arm image: plugins/docker:18-linux-arm
@ -503,6 +506,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 6499b23b50c851323da8a438c6a9ea83d30b499c6b0c4eef62fea5150ecad7cb hmac: b0626fcfd280db07a1a02ffa1cf800dcab7ee76d419a54e68c679ffbcfefdaf6
... ...