Add release-zuul-python job that deals with javascript

The zuul releases need to build javascript when making artifacts. We
also don't want to use the openstack project-template for zuul and
nodepool.

Add a new job and remove the release template from project-config. We'll
add release-zuul-python from zuul and nodepool .zuul.yaml files.

Change-Id: Ic999040ce21e867b2c9279cc3a445fba13a2730f
This commit is contained in:
Monty Taylor 2018-10-03 11:18:44 -05:00
parent 416a02640c
commit 643c176982
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
5 changed files with 34 additions and 4 deletions

View File

@ -0,0 +1,7 @@
- hosts: all
roles:
- fetch-python-sdist-output
- hosts: localhost
roles:
- sign-artifacts

View File

@ -0,0 +1,6 @@
- hosts: all
roles:
- bindep
- install-nodejs
- install-yarn
- revoke-sudo

View File

@ -0,0 +1,6 @@
- hosts: all
tasks:
- name: Build tarball and wheel
command:
cmd: python setup.py sdist bdist_wheel
chdir: '{{ zuul_work_dir }}'

View File

@ -234,6 +234,21 @@
# sdists.
tox_constraints_file: '{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt'
- job:
name: release-zuul-python
parent: publish-openstack-artifacts
description: |
Release python tarballs / wheels to pypi for zuul projects.
pre-run: playbooks/zuul-tarball/pre.yaml
run: playbooks/zuul-tarball/run.yaml
post-run:
- playbooks/zuul-tarball/post.yaml
- playbooks/publish/pypi.yaml
secrets:
- secret: pypi_secret
name: pypi_info
- gpg_key
- job:
name: release-openstack-python3
parent: publish-openstack-artifacts

View File

@ -483,8 +483,6 @@
- project:
name: openstack-infra/nodepool
templates:
- publish-to-pypi
experimental:
jobs:
- nodepool-functional-py35-redhat-src
@ -1575,8 +1573,6 @@
- project:
name: openstack-infra/zuul
templates:
- publish-to-pypi
experimental:
jobs:
- nodepool-zuul-functional