Move stackviz publish in-tree
The new job publish-openstack-stackviz-element is working now, move the trigger in-tree and change the publish location, we do not need the "-new" in the name anymore. Content is published at: https://tarballs.opendev.org/openstack/stackviz/dist/ The tarballs are equal, only difference is filenames of sources. Mark the job to run only on master, since it publishes always to the same location and each invocation overrides the file. This is a safety measure. Depends-On: https://review.opendev.org/710754 Change-Id: If9488d7c60b58f51a7a0a4bdf0740d16f61c241e
This commit is contained in:
parent
8cadacce53
commit
15e763dc6a
@ -2,10 +2,9 @@
|
||||
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
|
||||
mv {{ zuul.project.short_name }}*.tar.gz dist/{{ zuul.project.short_name }}-latest.tar.gz
|
||||
args:
|
||||
executable: /bin/bash
|
||||
chdir: "{{ zuul.project.src_dir }}/dist"
|
||||
|
@ -806,6 +806,8 @@
|
||||
pre-run: playbooks/javascript/pre.yaml
|
||||
run: playbooks/javascript/content.yaml
|
||||
post-run: playbooks/javascript/post-stackviz.yaml
|
||||
branches:
|
||||
- master
|
||||
vars:
|
||||
node_version: 8
|
||||
npm_command: prod
|
||||
|
@ -4076,13 +4076,6 @@
|
||||
templates:
|
||||
- publish-to-pypi
|
||||
|
||||
- project:
|
||||
name: openstack/stackviz
|
||||
periodic:
|
||||
jobs:
|
||||
- publish-openstack-stackviz-element:
|
||||
branches: master
|
||||
|
||||
- project:
|
||||
name: openstack/stevedore
|
||||
templates:
|
||||
|
Loading…
Reference in New Issue
Block a user