Update specs-site and infra-index publication jobs
They were both not fetching the same venv they were building with. Rather than repeat ourselves, we can update these to share a run playbook - and can pass tox_envlist from the job rather than needing playbooks that set that themselves. That also allows fetch-tox-output to pick it up. Change-Id: Iefec8c50418dcea00c3adebdc20b71c7f20241bd
This commit is contained in:
parent
5dc258d467
commit
2ecf933833
3
playbooks/project-config/run-tox.yaml
Normal file
3
playbooks/project-config/run-tox.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- tox
|
@ -1,4 +0,0 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- role: tox
|
||||
tox_envlist: specs
|
@ -167,15 +167,13 @@
|
||||
Publish OpenStack specs site to static.openstack.org specs/
|
||||
final: True
|
||||
pre-run: playbooks/python-docs/pre
|
||||
run: playbooks/specs-site/run
|
||||
run: playbooks/project-config/run-tox
|
||||
post-run: playbooks/publish/openstack-specs-site
|
||||
required-projects:
|
||||
- name: openstack/requirements
|
||||
roles:
|
||||
- zuul: openstack-infra/zuul-jobs
|
||||
- zuul: openstack-infra/openstack-zuul-jobs
|
||||
vars:
|
||||
tox_constraints_file: "{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt"
|
||||
tox_envlist: specs
|
||||
secrets:
|
||||
- site_logs
|
||||
|
||||
@ -237,14 +235,15 @@
|
||||
Publish the infrastructure documentation index
|
||||
final: True
|
||||
pre-run: playbooks/python-docs/pre
|
||||
run: playbooks/docs-infra-index/run
|
||||
post-run:
|
||||
- playbooks/publish/infra-index
|
||||
run: playbooks/project-config/run-tox
|
||||
post-run: playbooks/publish/infra-index
|
||||
allowed-projects:
|
||||
- openstack-infra/project-config
|
||||
roles:
|
||||
- zuul: openstack-infra/zuul-jobs
|
||||
- zuul: openstack-infra/openstack-zuul-jobs
|
||||
vars:
|
||||
tox_envlist: infra-docs
|
||||
secrets:
|
||||
- secret: afsdocs_secret
|
||||
name: afs
|
||||
|
Loading…
Reference in New Issue
Block a user