diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-05-16 16:23:56 -0700 |
---|---|---|
committer | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-05-16 16:28:04 -0700 |
commit | afff1f88a918215eeb9060c4f43c5a332c8eb32c (patch) | |
tree | 7767640d2b3c9dbb469b912856b221c1784c9db8 /jjb/opera/opera-daily-jobs.yaml | |
parent | 7bf9e576ff0fffdac04b5892e0e41b63c0735d4e (diff) |
Rename files under jjb from 'yml' to 'yaml'
global-jjb only supports the .yaml file ending for jjb jobs. Instead of
waiting for a release we're going to rename the files.
Change-Id: Icf3339eacd2320c583333e02250998cf6b1881f7
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'jjb/opera/opera-daily-jobs.yaml')
-rw-r--r-- | jjb/opera/opera-daily-jobs.yaml | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/jjb/opera/opera-daily-jobs.yaml b/jjb/opera/opera-daily-jobs.yaml new file mode 100644 index 000000000..f0841a34b --- /dev/null +++ b/jjb/opera/opera-daily-jobs.yaml @@ -0,0 +1,99 @@ +--- +- project: + name: 'opera-daily-jobs' + + project: 'opera' + + ##################################### + # branch definitions + ##################################### + master: &master + stream: master + branch: '{stream}' + gs-pathname: '' + disabled: true + + ##################################### + # pod definitions + ##################################### + pod: + - virtual: + slave-label: 'huawei-virtual7' + os-version: 'xenial' + <<: *master + + ##################################### + # jobs + ##################################### + jobs: + - 'opera-{pod}-daily-{stream}' + +##################################### +# job templates +##################################### +- job-template: + name: 'opera-{pod}-daily-{stream}' + + project-type: multijob + + disabled: '{obj:disabled}' + + concurrent: false + + properties: + - logrotate-default + - throttle: + enabled: true + max-total: 1 + max-per-node: 1 + option: 'project' + + scm: + - git-scm + + wrappers: + - ssh-agent-wrapper + - timeout: + timeout: 240 + fail: true + + triggers: + - timed: '@midnight' + + parameters: + - project-parameter: + project: '{project}' + branch: '{branch}' + - string: + name: DEPLOY_SCENARIO + default: os-nosdn-openo-ha + - '{slave-label}-defaults' + + builders: + - description-setter: + description: "Built on $NODE_NAME" + - multijob: + name: deploy + condition: SUCCESSFUL + projects: + - name: 'compass-deploy-{pod}-daily-{stream}' + current-parameters: false + predefined-parameters: | + DEPLOY_SCENARIO=os-nosdn-openo-ha + COMPASS_OS_VERSION=xenial + node-parameters: true + kill-phase-on: FAILURE + abort-all-job: true + - multijob: + name: functest + condition: SUCCESSFUL + projects: + - name: 'functest-compass-{pod}-suite-{stream}' + current-parameters: false + predefined-parameters: | + DEPLOY_SCENARIO=os-nosdn-openo-ha + FUNCTEST_MODE=testcase + FUNCTEST_SUITE_NAME=opera_vims + node-parameters: true + kill-phase-on: NEVER + abort-all-job: true |