diff options
author | Aric Gardner <agardner@linuxfoundation.org> | 2015-04-10 16:52:16 -0400 |
---|---|---|
committer | Aric Gardner <agardner@linuxfoundation.org> | 2015-04-10 17:19:32 -0400 |
commit | 8111c2a570b8bbf8825b2cc6b90f0999c487493e (patch) | |
tree | 49d43571a9b2e6d596284e497f55dadba523520c | |
parent | add838b95be5dc813016930d10639dde32c56d1a (diff) |
att and del have both asked me to test fuel daily on their slaves.
Change-Id: I511d0f5df494f57c45eb402e85f9baae0c9b3397
JIRA:0000
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
-rw-r--r-- | jjb/genesis/genesis-fuel-att.yml | 96 | ||||
-rw-r--r-- | jjb/genesis/genesis-fuel-dell.yml | 96 |
2 files changed, 192 insertions, 0 deletions
diff --git a/jjb/genesis/genesis-fuel-att.yml b/jjb/genesis/genesis-fuel-att.yml new file mode 100644 index 000000000..889bf11f1 --- /dev/null +++ b/jjb/genesis/genesis-fuel-att.yml @@ -0,0 +1,96 @@ +# this is the job configuration for bgs +- project: + name: genesis-att + installer: + - fuel + jobs: + - 'genesis-{installer}-daily-att-{stream}' + + # stream: branch with - in place of / (eg. stable-helium) + # branch: branch (eg. stable/helium) + stream: + - master: + branch: 'master' + + project: 'genesis' + +######################## +# job templates +######################## + +- job-template: + name: 'genesis-{installer}-daily-att-{stream}' + + project-type: freestyle + + node: att-build + + parameters: + - string: + name: BUILD_DIRECTORY + default: $WORKSPACE/build_output + description: "Directory where the build artifact will be located upon the completion of the build." + - string: + name: GS_URL + default: 'artifacts.opnfv.org/genesis/{installer}' + description: "URL to Google Storage." + - string: + name: INSTALLER + default: '{installer}' + description: "Installer to use." + - string: + name: GIT_BASE + default: https://gerrit.opnfv.org/gerrit/genesis + - string: + name: GERRIT_BRANCH + default: origin/master + description: "Branch to build, deploy and test." + - string: + name: GERRIT_REFSPEC + default: refs/heads/master + description: "Refspec to retrieve." + + scm: + - git: + skip-tag: true + url: $GIT_BASE + branches: + - $GERRIT_BRANCH + refspec: $GERRIT_REFSPEC + + triggers: + - pollscm: '@midnight' + + logrotate: + daysToKeep: 30 + numToKeep: 10 + artifactDaysToKeep: -1 + artifactNumToKeep: -1 + + builders: + - '{installer}-daily-master-att' + + + +######################## +# builder macros +######################## + + +- builder: + name: fuel-daily-master-att + builders: + - shell: | + #!/bin/bash + set -o errexit + set -o nounset + set -o pipefail + set -x + + # set/create the cache location + OPNFV_FUEL_CACHE="$(dirname $WORKSPACE)/opnfv_fuel_cache" + [[ -d $OPNFV_FUEL_CACHE ]] || mkdir -p $OPNFV_FUEL_CACHE + + # do the build + cd $WORKSPACE/fuel/ci + ./build.sh -f t -v $BUILD_ID -c file://$OPNFV_FUEL_CACHE $BUILD_DIRECTORY diff --git a/jjb/genesis/genesis-fuel-dell.yml b/jjb/genesis/genesis-fuel-dell.yml new file mode 100644 index 000000000..778349993 --- /dev/null +++ b/jjb/genesis/genesis-fuel-dell.yml @@ -0,0 +1,96 @@ +# this is the job configuration for bgs +- project: + name: genesis-dell + installer: + - fuel + jobs: + - 'genesis-{installer}-daily-dell-{stream}' + + # stream: branch with - in place of / (eg. stable-helium) + # branch: branch (eg. stable/helium) + stream: + - master: + branch: 'master' + + project: 'genesis' + +######################## +# job templates +######################## + +- job-template: + name: 'genesis-{installer}-daily-dell-{stream}' + + project-type: freestyle + + node: dell-build + + parameters: + - string: + name: BUILD_DIRECTORY + default: $WORKSPACE/build_output + description: "Directory where the build artifact will be located upon the completion of the build." + - string: + name: GS_URL + default: 'artifacts.opnfv.org/genesis/{installer}' + description: "URL to Google Storage." + - string: + name: INSTALLER + default: '{installer}' + description: "Installer to use." + - string: + name: GIT_BASE + default: https://gerrit.opnfv.org/gerrit/genesis + - string: + name: GERRIT_BRANCH + default: origin/master + description: "Branch to build, deploy and test." + - string: + name: GERRIT_REFSPEC + default: refs/heads/master + description: "Refspec to retrieve." + + scm: + - git: + skip-tag: true + url: $GIT_BASE + branches: + - $GERRIT_BRANCH + refspec: $GERRIT_REFSPEC + + triggers: + - pollscm: '@midnight' + + logrotate: + daysToKeep: 30 + numToKeep: 10 + artifactDaysToKeep: -1 + artifactNumToKeep: -1 + + builders: + - '{installer}-daily-master-dell' + + + +######################## +# builder macros +######################## + + +- builder: + name: fuel-daily-master-dell + builders: + - shell: | + #!/bin/bash + set -o errexit + set -o nounset + set -o pipefail + set -x + + # set/create the cache location + OPNFV_FUEL_CACHE="$(dirname $WORKSPACE)/opnfv_fuel_cache" + [[ -d $OPNFV_FUEL_CACHE ]] || mkdir -p $OPNFV_FUEL_CACHE + + # do the build + cd $WORKSPACE/fuel/ci + ./build.sh -f t -v $BUILD_ID -c file://$OPNFV_FUEL_CACHE $BUILD_DIRECTORY |