From 3d4557756e4e160e80b57533a45ce534406405aa Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Tue, 18 Jun 2013 16:14:15 -0700 Subject: [PATCH] Add publications index job. Change-Id: Icd841aa28f819df15d389abcdc5cb37ff33d4354 Reviewed-on: https://review.openstack.org/33563 Reviewed-by: Jeremy Stanley Reviewed-by: Monty Taylor Approved: Jeremy Stanley Tested-by: Jenkins --- .../config/infra-publications.yaml | 22 +++++++++++++++++++ .../openstack_project/files/zuul/layout.yaml | 1 + 2 files changed, 23 insertions(+) diff --git a/modules/openstack_project/files/jenkins_job_builder/config/infra-publications.yaml b/modules/openstack_project/files/jenkins_job_builder/config/infra-publications.yaml index c819dba459..77e2e9a4ee 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/infra-publications.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/infra-publications.yaml @@ -15,3 +15,25 @@ remove-prefix: '' excludes: '' - console-log-post + +- job: + name: infra-publications-publish-index + concurrent: false + node: precise + + builders: + - gerrit-git-prep + - shell: | + #!/bin/bash -xe + git reset --hard remotes/origin/master + git clean -x -f -d -q + ./make-index + + publishers: + - ftp: + site: docs.openstack.org + source: 'output/**' + target: 'www/infra/publications/' + remove-prefix: 'output/' + excludes: '' + - console-log-post diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index afd77a03a6..a472f6a1a1 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -280,6 +280,7 @@ projects: - gate-noop post: - infra-publications-publish + - infra-publications-publish-index - name: openstack-infra/puppet-apparmor check: