Merge "Groups community portal gating tasks"

This commit is contained in:
Jenkins 2014-02-07 14:32:42 +00:00 committed by Gerrit Code Review
commit 2a8e85c7f1
3 changed files with 69 additions and 2 deletions

View File

@ -0,0 +1,50 @@
- job:
name: gate-groups-unittests
node: bare-precise
builders:
- gerrit-git-prep
- shell: |
./scripts/bootstrap.sh
./scripts/gate-build.sh
publishers:
- console-log
- coverage-log
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: './reports/**'
keep-hierarchy: true
copy-after-failure: true
- job-template:
name: 'groups-release-{branch-designator}'
node: bare-precise
builders:
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
./script/bootstrap.sh
ARCHIVE_NAME={name}
if [ "$BRANCH" != "master" ] ; then
BRANCH_PATH=`echo $ZUUL_REFNAME | tr / -`
ARCHIVE_NAME={name}-{branch-designator}
fi
drush make build-groups.make dist
tar -czf $ARCHIVE_NAME.tar.gz dist/
mv $ARCHIVE_NAME.tar.gz dist/
publishers:
- console-log
- coverage-log
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: './reports/**'
keep-hierarchy: true
copy-after-failure: true
- tarball:
project: '{name}'
site: '{tarball-site}'

View File

@ -2134,6 +2134,7 @@
jobs: jobs:
- python-jobs - python-jobs
- project: - project:
name: gce-api name: gce-api
github-org: stackforge github-org: stackforge
@ -2142,3 +2143,15 @@
jobs: jobs:
- python-jobs - python-jobs
- project:
name: groups
github-org: openstack-infra
node: precise
tarball-site: tarballs.openstack.org
jobs:
- 'groups-release-{branch-designator}':
branch-designator: 'master'
- 'groups-release-{branch-designator}':
branch-designator: 'branch'

View File

@ -2450,9 +2450,13 @@ projects:
- name: openstack-infra/groups - name: openstack-infra/groups
check: check:
- gate-noop - gate-groups-unittests
gate: gate:
- gate-noop - gate-groups-unittests
post:
- groups-release-branch
release:
- groups-release-master
- name: openstack-infra/jeepyb - name: openstack-infra/jeepyb
check: check: