Add Airship subproject documentation job

The airship/treasuremap project publishes to docs.airshipit.org, but
other airship repositories cannot publish to the same site. This change
adds a separate job that enables other Airship repositories to promote
their documentation to a subdirectory of the main documentation site.
This change also replaces airship/treasuremap with airship/docs as the
main documentation repository.

Change-Id: I703ac705b549f4f4a7bc24d37a63b88035b5e892
Signed-off-by: Drew Walters <andrew.walters@att.com>
This commit is contained in:
Drew Walters 2020-04-20 16:57:10 +00:00
parent f1899bd92d
commit cc8c5d7083
1 changed files with 25 additions and 1 deletions

View File

@ -456,10 +456,34 @@
Promote root site content for docs.airshipit.org to airshipit.org/docs.
final: true
allowed-projects:
- airship/treasuremap
- airship/docs
vars:
publish_site: "airshipit.org/docs"
- job:
name: promote-airship-project-docs
parent: promote-tox-docs-site-base
description: |
Promote subproject doc content for docs.airshipit.org site.
final: true
allowed-projects:
- airship/airshipctl
- airship/airshipui
- airship/armada
- airship/deckhand
- airship/divingbell
- airship/drydock
- airship/pegleg
- airship/porthole
- airship/promenade
- airship/shipyard
- airship/specs
- airship/spyglass
- airship/spyglass-plugin-xls
- airship/treasuremap
vars:
publish_site: "airshipit.org/docs/{{ zuul.project.short_name }}"
- job:
name: promote-governance-election
parent: promote-tox-docs-site-base