Move security site to AFS publishing

Move from promoting to static.o.o for the security site to
publish via promote to AFS.

Rename existing promote-security jobs to promote-security-static and
add it to ossa repo so
that we publish to both old and new location. The promote-security-static
job can be removed once everything works.

Create new promote-security job for publishing to AFS.

Story: 2006598
Task: 36854
Change-Id: I18404d8fa79566de1bee1ac5760b8a440e885df8
This commit is contained in:
Andreas Jaeger 2019-09-11 21:41:26 +02:00 committed by Andreas Jaeger
parent ac7ffa6808
commit 42a967ca7f
2 changed files with 23 additions and 1 deletions

View File

@ -719,16 +719,30 @@
publish_site: "governance.openstack.org"
- job:
name: promote-security
name: promote-security-static
parent: base-promote-tox-docs-static
description: |
Promote content to static.openstack.org to /srv/static/security
This job is added for transition of sites, it will be
removed soon.
final: true
allowed-projects:
- openstack/ossa
vars:
static_target: security
- job:
name: promote-security
parent: promote-tox-docs-site-base
description: |
Promote content to security.openstack.org.
final: true
allowed-projects:
- openstack/ossa
vars:
publish_site: "security.openstack.org"
- job:
name: promote-openstack-manuals
description: |

View File

@ -3598,6 +3598,14 @@
templates:
- publish-to-pypi
- project:
name: openstack/ossa
promote:
jobs:
# TODO(AJaeger): Remove once transition to AFS publishing is
# done.
- promote-security-static
- project:
name: openstack/oswin-tempest-plugin
templates: