--- # docs main: name: '@NAME@-docs' review_site: '@REVIEW_SITE@' github_org: '@GITHUB_ORG@' project: '@NAME@' authenticatedBuild: 'false' disabled: @DISABLED@ concurrent: 'true' timeout: 30 timeout_fail: true timestamps: true triggers: - zuul_post logrotate: daysToKeep: 28 numToKeep: -1 artifactDaysToKeep: -1 artifactNumToKeep: -1 builders: - gerrit_git_prep - docs post_build_actions: - ftp: site: '@DOC_PUBLISHER_SITE@' remote_dir: 'developer/@NAME@' source_files: 'doc/build/html/**' remove_prefix: 'doc/build/html' excludes: '' scm: scm: 'false' assignednode: node: '@NODE@' --- # tarball main: name: '@NAME@-sdist-tarball' review_site: '@REVIEW_SITE@' github_org: '@GITHUB_ORG@' project: '@NAME@' authenticatedBulid: 'false' disabled: @DISABLED@ concurrent: 'true' timeout: 30 timeout_fail: true timestamps: true logrotate: daysToKeep: 28 numToKeep: -1 artifactDaysToKeep: -1 artifactNumToKeep: -1 triggers: - zuul_post builders: - gerrit_git_prep - shell: | #!/bin/bash -xe BRANCH=$GERRIT_REFNAME BRANCH_PATH=`echo $BRANCH | tr / -` tox -v -evenv python setup.py sdist cp dist/* dist/@NAME@-$BRANCH_PATH.tar.gz post_build_actions: - tarball: site: '@PUBLISHER_SITE@' project: '@TARBALL_PROJECT@' scm: scm: 'false' assignednode: node: '@NODE@' --- # pypi-upload main: name: '@NAME@-pypi' review_site: '@REVIEW_SITE@' github_org: '@GITHUB_ORG@' project: '@NAME@' authenticatedBulid: 'false' disabled: @DISABLED@ concurrent: 'true' timeout: 30 timeout_fail: true timestamps: true triggers: - zuul_post builders: - gerrit_git_prep - shell: tox -v -evenv python setup.py sdist upload post_build_actions: - tarball: site: '@PUBLISHER_SITE@' project: '@TARBALL_PROJECT@' scm: scm: 'false' assignednode: node: 'pypi'