diff --git a/modules/gerritbot/files/gerritbot_channel_config.yaml b/modules/gerritbot/files/gerritbot_channel_config.yaml index 32142f0ec5..d2266a2bbf 100644 --- a/modules/gerritbot/files/gerritbot_channel_config.yaml +++ b/modules/gerritbot/files/gerritbot_channel_config.yaml @@ -22,6 +22,7 @@ openstack-infra: - openstack-infra/lodgeit - openstack-infra/meetbot - openstack-infra/nose-html-output + - openstack-infra/publications - openstack-infra/releasestatus - openstack-infra/reviewday - openstack-infra/statusbot diff --git a/modules/openstack_project/files/gerrit/acls/openstack-infra/publications.config b/modules/openstack_project/files/gerrit/acls/openstack-infra/publications.config new file mode 100644 index 0000000000..a909d60c4e --- /dev/null +++ b/modules/openstack_project/files/gerrit/acls/openstack-infra/publications.config @@ -0,0 +1,8 @@ +[access "refs/heads/*"] + label-Code-Review = -2..+2 group openstack-ci-admins + label-Approved = +0..+1 group openstack-ci-admins + workInProgress = group openstack-ci-admins +[receive] + requireChangeId = true +[submit] + mergeContent = true 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 new file mode 100644 index 0000000000..e250cc025b --- /dev/null +++ b/modules/openstack_project/files/jenkins_job_builder/config/infra-publications.yaml @@ -0,0 +1,20 @@ +# simply copy the contents of the repository to the server, no building needed +- job: + name: infra-publications-publish + concurrent: false + node: precise + + triggers: + - zuul-post + + builders: + - gerrit-git-prep + + publishers: + - ftp: + site: docs.openstack.org + source: '**' + target: 'www/infra/publications/' + remove-prefix: '' + excludes: '' + - console-log-post diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index f20ad8d0f8..6d6fd9a25d 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -265,6 +265,14 @@ projects: post: - ci-docs + - name: openstack-infra/publications + check: + - gate-noop + gate: + - gate-noop + post: + - infra-publications-publish + - name: openstack-infra/puppet-apparmor check: - gate-noop diff --git a/modules/openstack_project/templates/review.projects.yaml.erb b/modules/openstack_project/templates/review.projects.yaml.erb index 6d22d90240..d23416950c 100644 --- a/modules/openstack_project/templates/review.projects.yaml.erb +++ b/modules/openstack_project/templates/review.projects.yaml.erb @@ -38,6 +38,9 @@ - project: openstack-infra/lodgeit - project: openstack-infra/meetbot - project: openstack-infra/nose-html-output +- project: openstack-infra/puplications + description: "OpenStack Infra Team conference presentations and papers" + upstream: git://github.com/openstack-ci/publications.git - project: openstack-infra/puppet-apparmor - project: openstack-infra/puppet-dashboard - project: openstack-infra/puppet-vcsrepo