Merge "Add publish job for stackviz"
This commit is contained in:
commit
f40f4e36c6
|
@ -0,0 +1,13 @@
|
|||
- hosts: all
|
||||
tasks:
|
||||
- name: Rename tarball and move it to a subdir named dist as well
|
||||
# TODO(AJaeger): "-new" is for testing
|
||||
shell: |
|
||||
mkdir dist
|
||||
mv {{ zuul.project-short_name }}*.tar.gz dist/{{ zuul.project-short_name }}-latest-new.tar.gz
|
||||
args:
|
||||
executable: /bin/bash
|
||||
chdir: "{{ zuul.project.src_dir }}/dist"
|
||||
# 302 mkdir used in place of argument state=directory to file module
|
||||
tags:
|
||||
- skip_ansible_lint
|
|
@ -784,6 +784,20 @@
|
|||
run: playbooks/javascript/content.yaml
|
||||
post-run: playbooks/javascript/publish.yaml
|
||||
|
||||
- job:
|
||||
name: publish-openstack-javascript-latest-content
|
||||
parent: publish-openstack-javascript-content
|
||||
description: |
|
||||
Publish javascript content tarballs to tarballs.opendev.org.
|
||||
|
||||
Content tarballs contain the built javascript/css/html artifacts. They
|
||||
are different from source tarballs, which are handled by the
|
||||
publish-openstack-javascript-tarball job.
|
||||
|
||||
This job publishes the tar ball as
|
||||
https://tarballs.opendev.org/{{ zuul.project.name }}/dist/{{ zuul.project.short_name }}-latest.tar.gz.
|
||||
post-run: playbooks/javascript/rename-latest.yaml
|
||||
|
||||
- job:
|
||||
name: release-openstack-javascript
|
||||
parent: publish-openstack-artifacts
|
||||
|
|
|
@ -4076,6 +4076,15 @@
|
|||
templates:
|
||||
- publish-to-pypi
|
||||
|
||||
- project:
|
||||
name: openstack/stackviz
|
||||
periodic:
|
||||
jobs:
|
||||
- publish-openstack-javascript-latest-content:
|
||||
vars:
|
||||
node_version: 8
|
||||
branches: master
|
||||
|
||||
- project:
|
||||
name: openstack/stevedore
|
||||
templates:
|
||||
|
|
Loading…
Reference in New Issue