Fix: Change the parent of publish job
1. Change the parent of publish job 2. Change the regex of rename packages Change-Id: I3d20d3b2477e268bebffd73a56234994ccf0db91
This commit is contained in:
parent
26a0e85f40
commit
ed40bd9419
@ -44,9 +44,9 @@
|
||||
|
||||
- job:
|
||||
name: publish-skyline-python-branch-tarball
|
||||
parent: publish-openstack-python-branch-tarball
|
||||
parent: publish-openstack-artifacts
|
||||
description: |
|
||||
Publish the results of the tox-tarball job to tarballs.openstack.org.
|
||||
Publish the results tar.gz and whl packages to tarballs.openstack.org.
|
||||
pre-run: playbooks/python-tarball/pre.yaml
|
||||
run: playbooks/python-tarball/run.yaml
|
||||
post-run: playbooks/python-tarball/post.yaml
|
||||
|
@ -3,7 +3,7 @@
|
||||
- fetch-python-sdist-output
|
||||
pre_tasks:
|
||||
- name: Rename whl files to branch specific name
|
||||
shell: "mv {{ item }}.*.whl {{ item }}-{{ zuul.branch | replace('/', '-') }}.whl"
|
||||
shell: "mv {{ item }}*.whl {{ item }}-{{ zuul.branch | replace('/', '-') }}.whl"
|
||||
args:
|
||||
chdir: "src/{{ zuul.project.canonical_name }}/dist"
|
||||
with_items:
|
||||
@ -15,7 +15,7 @@
|
||||
- "skyline_nginx"
|
||||
- "skyline_policy_manager"
|
||||
- name: Rename tar.gz files to branch specific name
|
||||
shell: "mv {{ item }}.*.tar.gz {{ item }}-{{ zuul.branch | replace('/', '-') }}.tar.gz"
|
||||
shell: "mv {{ item }}*.tar.gz {{ item }}-{{ zuul.branch | replace('/', '-') }}.tar.gz"
|
||||
args:
|
||||
chdir: "src/{{ zuul.project.canonical_name }}/dist"
|
||||
with_items:
|
||||
|
Loading…
Reference in New Issue
Block a user