Template {gate,periodic}-gitdm

Continuing to remove periodic variants of gate jobs.

Change-Id: I31c1d025e43a8c4a2045fc9f99ec1759ca9ee971
This commit is contained in:
James E. Blair 2013-12-26 11:02:05 -08:00
parent e6f4899efa
commit 9b2efc3a6b
2 changed files with 19 additions and 23 deletions

View File

@ -1,34 +1,17 @@
- job:
name: gate-gitdm
node: precise
- job-template:
name: '{pipeline}-gitdm'
node: '{node}'
builders:
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
export TEMPDIR=${TEMPDIR:-$(mktemp -d $(pwd)/dmtmp-XXXXXX)}
export GITBASE=${TEMPDIR}/git
export TEMPDIR=${{TEMPDIR:-$(mktemp -d $(pwd)/dmtmp-XXXXXX)}}
export GITBASE=${{TEMPDIR}}/git
export LP_STATS=n
bash ./do-it.sh
- link-logs
publishers:
- console-log
- job:
name: periodic-gitdm
node: precise
builders:
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
export TEMPDIR=${TEMPDIR:-$(mktemp -d $(pwd)/dmtmp-XXXXXX)}
export GITBASE=${TEMPDIR}/git
export LP_STATS=n
bash ./do-it.sh
- link-logs
publishers:
- console-log-periodic

View File

@ -146,6 +146,19 @@
- gate-{name}-puppet-syntax
- gate-{name}-pep8
- project:
name: gitdm
github-org: openstack-infra
node: precise
jobs:
- '{pipeline}-gitdm':
pipeline: gate
node: precise
- '{pipeline}-gitdm':
pipeline: periodic
node: precise
- project:
name: savanna
github-org: openstack