Switch governance sites to AFS publishing

Move from promoting to static.o.o for all the governance sites to
publish via promote to AFS.

Rename existing promote jobs to X-static and add them to all repos so
that we publish to both old and new location. The -static jobs can be
removed once everything works.

Add new promote jobs (reusing old name so that in-repo jobs work) for
AFS publishing.

Story: 2006598
Task: 36854
Change-Id: I059abe662543d00f48f9dcf6f6eca67436330b2a
This commit is contained in:
Andreas Jaeger 2019-09-11 21:39:18 +02:00
parent eb2bb351fa
commit 967c3ec274
2 changed files with 78 additions and 3 deletions

View File

@ -762,10 +762,13 @@
pass-to-parent: true
- job:
name: promote-governance-sigs
name: promote-governance-sigs-static
parent: base-promote-tox-docs-static
description: |
Promote content to static.openstack.org to /srv/static/sigs
This job is added for transition of sites, it will be
removed soon.
final: true
allowed-projects:
- openstack/governance-sigs
@ -773,16 +776,41 @@
static_target: sigs
- job:
name: promote-governance-tc
name: promote-governance-sigs
parent: promote-tox-docs-site-base
description: |
Promote content to governance.openstack.org/sigs.
final: true
allowed-projects:
- openstack/governance-sigs
vars:
publish_site: "governance.openstack.org/sigs"
- job:
name: promote-governance-tc-static
parent: base-promote-tox-docs-static
description: |
Promote content to static.openstack.org to /srv/static/tc
This job is added for transition of sites, it will be
removed soon.
final: true
allowed-projects:
- openstack/governance
vars:
static_target: tc
- job:
name: promote-governance-tc
parent: promote-tox-docs-site-base
description: |
Promote content to governance.openstack.org/sigs.
final: true
allowed-projects:
- openstack/governance
vars:
publish_site: "governance.openstack.org/tc"
- job:
name: promote-governance-uc
parent: base-promote-tox-docs-static
@ -795,16 +823,44 @@
static_target: uc
- job:
name: promote-governance-website
name: promote-governance-uc-static
parent: promote-tox-docs-site-base
description: |
Promote content to governance.openstack.org/uc.
This job is added for transition of sites, it will be
removed soon.
final: true
allowed-projects:
- openstack/governance-uc
vars:
publish_site: "governance.openstack.org/uc"
- job:
name: promote-governance-website-static
parent: base-promote-tox-docs-static
description: |
Promote content to static.openstack.org to /srv/static/governance
This job is added for transition of sites, it will be
removed soon.
final: true
allowed-projects:
- openstack/governance-website
vars:
static_target: governance
- job:
name: promote-governance-website
parent: promote-tox-docs-site-base
description: |
Promote content to governance.openstack.org.
final: true
allowed-projects:
- openstack/governance-website
vars:
publish_site: "governance.openstack.org"
- job:
name: promote-security
parent: base-promote-tox-docs-static

View File

@ -2289,12 +2289,28 @@
name: openstack/governance
templates:
- publish-to-pypi
promote:
jobs:
# TODO(AJaeger): Remove once transition to AFS publishing is
# done.
- promote-governance-tc-static
- project:
name: openstack/governance-sigs
promote:
jobs:
# TODO(AJaeger): Remove once transition to AFS publishing is
# done.
- promote-governance-sigs-static
- project:
name: openstack/governance-uc
promote:
jobs:
- promote-governance-uc
# TODO(AJaeger): Remove once transition to AFS publishing is
# done.
- promote-governance-uc-static
- project:
name: openstack/governance-website
@ -2303,6 +2319,9 @@
promote:
jobs:
- promote-governance-website
# TODO(AJaeger): Remove once transition to AFS publishing is
# done.
- promote-governance-website-static
- project:
name: openstack/grenade