From d0704845441a27098d806f61bd190cb8f1499818 Mon Sep 17 00:00:00 2001 From: lj1412 Date: Sat, 18 Feb 2017 21:46:11 +0000 Subject: yamllint fixes, and updated pgaas.yaml Change-Id: Iafd28d475d7f70ae2cb61a841984465115e47b75 Signed-off-by: lj1412 --- jjb/dcae/pgaas.yaml | 20 +++++---- jjb/global-templates-script.yaml | 89 ++++++++++++++++++---------------------- 2 files changed, 50 insertions(+), 59 deletions(-) (limited to 'jjb') diff --git a/jjb/dcae/pgaas.yaml b/jjb/dcae/pgaas.yaml index 78643a82a..33893cb9f 100644 --- a/jjb/dcae/pgaas.yaml +++ b/jjb/dcae/pgaas.yaml @@ -3,7 +3,6 @@ - project: name: dcae-pgaas project-name: 'dcae-pgaas' - stream: 'master' project: 'dcae/pgaas' stream: - 'master': @@ -11,19 +10,22 @@ mvn-settings: 'dcae-pgaas-settings' files: '**' archive-artifacts: '' - build-node: ubuntu1604-basebuild-4c-4g + build-node: ubuntu1604-docker-8c-8g mvn-goals: '--version' mvn-goals-versioning: '--version' + extra-project: 'dcae/buildtools' + extra-refspec: 'refs/heads/{branch}' + extra-branch: 'master' + checkout-dir: 'buildtools' jobs: - - '{project-name}-{stream}-daily-release-scm-mvn-script': + - '{project-name}-{stream}-daily-release-2scm-mvn-script': maven-deploy-properties: | deployAtEnd=true script: - !include-raw-escape: 'script-pgaas-daily-release.sh' - - '{project-name}-{stream}-merge-scm-mvn-script': + !include-raw-escape: 'script-pgaas-daily-release.sh' + - '{project-name}-{stream}-merge-2scm-mvn-script': script: - !include-raw-escape: 'script-pgaas-merge.sh' - - '{project-name}-{stream}-verify-scm-mvn-script': + !include-raw-escape: 'script-pgaas-merge.sh' + - '{project-name}-{stream}-verify-2scm-mvn-script': script: - !include-raw-escape: 'script-pgaas-verify.sh' - + !include-raw-escape: 'script-pgaas-verify.sh' diff --git a/jjb/global-templates-script.yaml b/jjb/global-templates-script.yaml index dbe7850f4..3f1f20047 100644 --- a/jjb/global-templates-script.yaml +++ b/jjb/global-templates-script.yaml @@ -3,21 +3,21 @@ - job-template: - # Job template for verify a submission. triggered on gerrit-trigger-patch-submitted, does - # scm, mvn with passed in goals, then run script + # Job template for verifying a submission. triggered on + # gerrit-trigger-patch-submitted, does scm, mvn with passed in goals, + # then run script # # Required Variables: # branch: git branch - # build-node: what build node to run on # script: build script to execute # mvn-settings: settings file for this specific job - # mvn-goals: space separated list of maven build goals (e.g. clean, install - # etc, --version for noop) + # mvn-goals: space separated list of maven build goals (e.g. + # clean, install etc, --version for noop) name: '{project-name}-{stream}-verify-scm-mvn-script' project-type: freestyle concurrent: true - node: '{build-node}' + node: 'ubuntu1604-docker-8c-8g' properties: - ecomp-infra-properties: @@ -61,22 +61,20 @@ - shell: '{script}' - - job-template: - # Job template for merging a submission. triggered on gerrit-trigger-patch-merged, does - # scm, mvn with passed-in goals, then run script - # + # Job template for merging a submission. triggered on + # gerrit-trigger-patch-merged, does scm, mvn with passed-in goals, then + # run script # Required Variables: # branch: git branch - # build-node: what build node to run on # script: build script to execute # mvn-settings: settings file for this specific job - # mvn-goals: space separated list of maven build goals (--version for noop, - # clean deploy for deploy [version must be snapshot]) + # mvn-goals: space separated list of maven build goals (--version + # for noop, clean deploy for deploy [snapshot]) name: '{project-name}-{stream}-merge-scm-mvn-script' project-type: freestyle - node: '{build-node}' + node: 'ubuntu1604-docker-8c-8g' properties: - ecomp-infra-properties: @@ -120,24 +118,23 @@ - shell: '{script}' - - - job-template: - # Job template for daily-release a submission. triggered on timer, does scm, - # mvn with passed-in goals, then run script + # Job template for daily-release a submission. triggered on timer, does + # scm mvn with passed-in goals, then run script # # Required Variables: # branch: git branch - # build-node: what build node to run on # script: build script to execute - # mvn-goals-versioning: space separated list of maven build goals (--version for no op, - # or versions:set versions:update-child-modules versions:commit or --version) - # mvn-goals: space separated list of maven build goals (--version for noop, or clean deploy) + # mvn-goals-versioning: space separated list of maven build goals + # (--version for no op, + # or versions:set versions:update-child-modules versions:commit) + # mvn-goals: space separated list of maven build goals (--version for + # noop, or clean deploy) name: '{project-name}-{stream}-daily-release-scm-mvn-script' project-type: freestyle concurrent: true - node: '{build-node}' + node: 'ubuntu1604-docker-8c-8g' properties: - ecomp-infra-properties: @@ -192,15 +189,13 @@ - shell: '{script}' - - - job-template: - # Job template for verifying a submission. triggered on gerrit-trigger-patch-submitted, + # Job template for verifying a submission. triggered on + # gerrit-trigger-patch-submitted, # does scm 2 repos, mvn with passed-in goals, then run script # # Required Variables: # branch: git branch - # build-node: what build node to run on # script: build script to execute # extra-project: extra gerrit project to checkout # extra-refspec: refspec for the extra project @@ -209,14 +204,14 @@ # DO NOT SET THIS TO anything that translates to # $WORKSPACE as it will destroy the initial # project checkout - # mvn-goals: space separated list of maven build goals (e.g. clean, install etc, - # --version for noop) + # mvn-goals: space separated list of maven build goals (e.g. + # clean, install etc, --version for noop) name: '{project-name}-{stream}-verify-2scm-mvn-script' project-type: freestyle concurrent: true - node: '{build-node}' + node: 'ubuntu1604-docker-8c-8g' properties: - ecomp-infra-properties: @@ -265,14 +260,13 @@ - shell: '{script}' - - job-template: - # Job template for merged submission. triggered on gerrit-trigger-patch-merged, - # does scm of 2 repos, mvn with passed in goals, then run script + # Job template for merged submission. triggered on + # gerrit-trigger-patch-merged,does scm of 2 repos, mvn with passed in + # goals, then run script # # Required Variables: # branch: git branch - # build-node: what build node to run on # script: build script to execute # extra-project: extra gerrit project to checkout # extra-refspec: refspec for the extra project @@ -281,14 +275,14 @@ # DO NOT SET THIS TO anything that translates to # $WORKSPACE as it will destroy the initial # project checkout - # mvn-goals: space separated list of maven build goals (--version for no op, - # clean deploy for mvn project) + # mvn-goals: space separated list of maven build goals (--version + # for noop, clean deploy for mvn project) name: '{project-name}-{stream}-merge-2scm-mvn-script' project-type: freestyle concurrent: true - node: '{build-node}' + node: 'ubuntu1604-docker-8c-8g' properties: - ecomp-infra-properties: @@ -337,14 +331,13 @@ - shell: '{script}' - - job-template: - # Job template for merged submission. triggered on gerrit-trigger-patch-merged, - # does scm x2, mvn with passed-in goals, then run script + # Job template for merged submission. triggered on + # gerrit-trigger-patch-merged, does scm x2, mvn with passed-in goals, + # then run script # # Required Variables: # branch: git branch - # build-node: what build node to run on # script: build script to execute # extra-project: extra gerrit project to checkout # extra-refspec: refspec for the extra project @@ -353,16 +346,15 @@ # DO NOT SET THIS TO anything that translates to # $WORKSPACE as it will destroy the initial # project checkout - # mvn-goals: space separated list of maven build goals (--version for no op, - # clean deploy for mvn project) - # mvn-goals-versioning: space separated list of maven build goals (--version for no op, - # clean deploy for mvn project) + # mvn-goals: space separated list of maven build goals (--version + # for noop, clean deploy for mvn project) + # mvn-goals-versioning: space separated list of maven build goals + # (--version for no op, clean deploy for mvn project) name: '{project-name}-{stream}-daily-release-2scm-mvn-script' project-type: freestyle - concurrent: true - node: '{build-node}' + node: 'ubuntu1604-docker-8c-8g' properties: - ecomp-infra-properties: @@ -419,9 +411,6 @@ - shell: '{script}' - - - - job-template: # Job template for basic scm and script trigger # -- cgit 1.2.3-korg