24d852e72f
Mostly set to 20 minutes to start. A few with different values. Change-Id: If388f2281dd49caed391748bdb9ec8090cc29380
115 lines
1.8 KiB
YAML
115 lines
1.8 KiB
YAML
---
|
|
# docs
|
|
main:
|
|
name: '@NAME@-docs'
|
|
review_site: '@REVIEW_SITE@'
|
|
github_org: '@GITHUB_ORG@'
|
|
project: '@NAME@'
|
|
authenticatedBuild: 'false'
|
|
disabled: @DISABLED@
|
|
concurrent: 'true'
|
|
timeout: 20
|
|
timeout_fail: 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@-tarball'
|
|
review_site: '@REVIEW_SITE@'
|
|
github_org: '@GITHUB_ORG@'
|
|
project: '@NAME@'
|
|
authenticatedBulid: 'false'
|
|
disabled: @DISABLED@
|
|
concurrent: 'true'
|
|
timeout: 20
|
|
timeout_fail: 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 upload
|
|
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: 20
|
|
timeout_fail: 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'
|
|
|