Remove publish-openstack-python-branch-tarball job
We'll be moving this into project-config Change-Id: Ie577aa1c603158b1a71f8107113de51bddc1a771 Depends-On: I8ef01f14b2bde71c335017f0bbc8532b91f226b6 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
8dab0632b8
commit
cdc3f2bad2
@ -1,22 +0,0 @@
|
||||
- hosts: all
|
||||
tasks:
|
||||
# We only want to publish tar.gz file to tarballs.o.o. Find everything else
|
||||
# and delete them.
|
||||
- name: Find wheels in dist folder.
|
||||
find:
|
||||
file_type: file
|
||||
paths: "src/{{ zuul.project.canonical_name }}/dist"
|
||||
patterns: ^((?!tar\.gz).)*$
|
||||
use_regex: yes
|
||||
register: result
|
||||
|
||||
- name: Delete found files that don't match *.tar.gz.
|
||||
file:
|
||||
path: "{{ item.path }}"
|
||||
state: absent
|
||||
with_items: "{{ result.files }}"
|
||||
|
||||
- name: Rename tarball to branch specific name.
|
||||
shell: "mv *.tar.gz {{ zuul.project.short_name }}-{{ zuul.branch | replace('/', '-') }}.tar.gz"
|
||||
args:
|
||||
chdir: "src/{{ zuul.project.canonical_name }}/dist"
|
@ -36,13 +36,6 @@
|
||||
run: playbooks/python-tarball/run
|
||||
post-run: playbooks/python-tarball/post
|
||||
|
||||
- job:
|
||||
name: publish-openstack-python-branch-tarball
|
||||
parent: publish-openstack-python-tarball
|
||||
description: |
|
||||
Publish the results of the tox-tarball job to tarballs.openstack.org.
|
||||
post-run: playbooks/python-branch-tarball/post
|
||||
|
||||
- project:
|
||||
name: openstack-infra/openstack-zuul-jobs
|
||||
check:
|
||||
|
Loading…
Reference in New Issue
Block a user