From 7df987524c8a29360bb071917b70cd76899bbe1c Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 15 May 2014 17:05:17 -0400 Subject: [PATCH] Create new job for testing of translated manual Currently, we build a few localized manuals in the post queue. Add a new gate-{name}-tox-checklang job that uses tox for testing the builds. This should be non-voting now. This is done for all repos that have localized manuals: openstack-manuals, operations-guide, api-site. Change-Id: I86b9825905373cdb72b34669fffac83547270ca9 --- .../files/jenkins_job_builder/config/translation-jobs.yaml | 2 ++ modules/openstack_project/files/zuul/layout.yaml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/modules/openstack_project/files/jenkins_job_builder/config/translation-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/translation-jobs.yaml index de62ab73c2..1c4398c16e 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/translation-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/translation-jobs.yaml @@ -102,3 +102,5 @@ jobs: - '{name}-manuals-upstream-translation-update' - '{name}-manuals-propose-translation-update' + - 'gate-{name}-tox-{envlist}': + envlist: checklang diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 4464ac64a1..ffd31394b0 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -339,6 +339,8 @@ project-templates: - gate-{name}-tox-doc-publish-checkbuild - name: openstack-doc-translation + check: + - 'gate-{name}-tox-checklang' post: - '{name}-manuals-upstream-translation-update' periodic: @@ -459,6 +461,8 @@ jobs: voting: false - name: ^gate-.*-tox-doc-publish-checkbuild$ success-pattern: http://docs-draft.openstack.org/{build.parameters[LOG_PATH]}/publish-docs/ + - name: ^gate-.*-tox-checklang$ + voting: false - name: ^gate-.*-tox-checkniceness$ voting: false - name: ^gate-.*-docs$